Forumskeyboard_arrow_right Help keyboard_arrow_right Java Edition

Create Forum Thread
2

How to disable chickens from laying eggs?

2 emeralds6 replies126 views
created 09/22/2019 2:53 pm by Bob19 history
last reply 09/27/2019 4:21 am
I've got some chickens acting as rope into a cave going between fences but they keep laying eggs. Any way to disable this or just /kill the eggs?
1.14.4 btw

EDIT:
It's an adventure map so hoppers are out.
EDIT number 2:
I've decided to change to 1.12.2 because the new coding system just all round sucks... why minecraft?
Posted by avatar
Bob19
Level 1 : New Crafter
0

comment Login or register to post a reply.

6 replies

1
09/23/2019 7:39 pmhistory
Level 18 : Journeyman Network
Star Craft Network
stick this into a repeating command block and hide it some where /kill @e[type=egg]

if you set your gamerule randomtickspeed to 0 then plants wont grow
2
09/27/2019 4:21 am
Level 44 : Master Engineer
ShelLuser
The kill command would never work. Everything that gets dropped on the ground is of type Item (minecraft:item). Easily shown: just drop something on the ground and then use: /data get entity @e[type=minecraft:item,limit=1] and you'll get the data of that specific item you dropped (assuming there's nothing else on the floor ;)).

If you need a specific kind of item you'd need to use NBT tags to specify the item type.
1
09/22/2019 4:32 pm
Level 21 : Expert Cake
DereC4
place hoppers underneath and just make it a farm
1
09/22/2019 11:24 pm
Level 1 : New Crafter
Bob19
I'm making an adventure map, sorry forgot to mention that.
2
09/22/2019 4:31 pm
Level 1 : New Miner
Sonic Mania
Such command does not work for 1.14.4 (and works for 1.12.2).

On 1.12.2, change your tickspeed to 0 - which would prevent chickens from having a spawntime
1
09/23/2019 12:52 amhistory
Level 1 : New Crafter
Bob19
Thanks, worked a treat after I changed.

Planet Minecraft

Browse

Site

© 2010 - 2019
www.planetminecraft.com

Welcome