TransWikia.com

Minecraft spawneggs CanPlaceOn

Arqade Asked on May 24, 2021

I am trying to give myself a wolf spawn egg named Bradley (or a different name) that can be placed on grass.

I have tried:

/give @p minecraft:spawn_egg 1 0 {Entitytag:{id:"Wolf",CustomName:"Bradley"CanPlaceOn:["minecraft:grass"]}}

Can someone please help me?

One Answer

The correct command for 1.12 is:

/give @p spawn_egg 1 0 {EntityTag:{id:"minecraft:wolf",CustomName:"Bradley"},CanPlaceOn:["minecraft:grass"]}

Here is a command with the proper hideflag to hide the CanPlaceOn data:

/give @p spawn_egg 1 0 {EntityTag:{id:"minecraft:wolf",CustomName:"Bradley"},CanPlaceOn:["minecraft:grass"],HideFlags:16}

Answered by IronAnvil on May 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP