Minecraft Data Packs / Adventure

Beta 1.7.3 Animal Spawning

  • check_circle Functions
  • check_circle Predicates
  • 7,400 views, 4 today
  • 626 downloads, 0 today
  • 39
  • 31
  • 5
NaN8279's Avatar NaN8279
Level 23 : Expert Miner
6
TL;DR: This datapack allows you to get back the old animal spawning from beta 1.7.3. There will spawn a lot more animals in your world, so you dont have to breed animals anymore

This datapack allows you to get back the old animal spawning from beta 1.7.3. The animal spawning in modern minecraft is as follows:
From the Official Minecraft Wiki:

Friendly and water mobs have only one spawning cycle every 400 game ticks(20 seconds). Because of this, where conditions permit spawning, hostile mobs spawn frequently, but passive mobs (ie: animals) spawn rarely. Most animals spawn within chunks when they are generated.

The animal spawning in beta 1.7.3 is as follows:
From the Official Minecraft Wiki:

Mobs are broadly divided into three categories: hostile, friendly, and water (i.e. Squid).Each category has a spawning cycle once every game tick (1/20th of a second). Before these cycles happen, a list is built of every chunk that is within an 8 chunk distance of anyplayer, on both the X and Z axis. That's a 16x16 chunk, or 256x256 block area for each player. If this area overlaps between multiple players, the common chunks will only be added to the list once
....
If it's a passive mob other than Squid, then...
  -the block directly below the spawning block must be grass
  -the light level of the spawning block must be 9 or brighter

More information about this can be found in AntVenoms video:

https://www.youtube.com/watch?v=3d4THVvot8s

The datapack replicates this as follows: every game tick the game choses a random block in a 128x128 radius of a random player. If the block below is grass, and the light level above the block is above 9, a random animal of the following list will spawn. Animals that can spawn are a chicken, a sheep, a pig and a cow. The maximum number of animals that can spawn within a 128x128 radius of the player is 31. Animals despawn when they are more than 128 blocks away from the player.

That's pretty much it. Please leave datapack suggestions in the comment section!
CompatibilityMinecraft 1.15
toMinecraft 1.16
Tags

Create an account or sign in to comment.

1
01/28/2021 4:27 am
Level 1 : New Explorer
BenjieTheBoy
BenjieTheBoy's Avatar
Pls fix this, cause my cows despawn when I'm not in the chunk but the other animals don't despawn. PLS FIX IT
2
06/07/2020 4:44 am
Level 44 : Master Miner
salthepal128
salthepal128's Avatar
hey, this is good
yes
very nice to have much mobs again like this
2
06/04/2020 3:45 pmhistory
Level 6 : Apprentice Crafter
VursPZ
VursPZ's Avatar
Hello!Im read this and...good very good work!But what will happen to the mobs in the paddock or on the farm? You wrote that the mobs will disappear when they leave at 128. What will happen to the mobs?
I wrote through google translator so dont hit :)
1
06/05/2020 4:52 am
Level 23 : Expert Miner
NaN8279
NaN8279's Avatar
I will update the datapack today to add an option to not despawn animals that are bred
3
06/05/2020 11:14 am
Level 6 : Apprentice Crafter
VursPZ
VursPZ's Avatar
How will it work? Or will it be automatic?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome