Animal traps that use gravity can be fairly simple. After all, the trick is to get animals to fall into a hole. Remember though, animals will only spawn on grass and will avoid falling to their death if they can help it. When running into trouble getting gravity traps to work, the sol...
int creatureCount = spawnlistentry.minGroupCount + rand.nextInt(1 + spawnlistentry.maxGroupCount - spawnlistentry.minGroupCount); IEntityLivingData ientitylivingdata = null; int j1 = chunkCenterX + rand.nextInt(rangeX); int k1 = chunkCenterY + rand.nextInt(rangeY); int l1 = j1; int ...