mojira.dev
MC-49301

Hideflags do not work for CanPlace on a wooden_hoe

give @p wooden_hoe 1 54
{
HideFlags:00011,
CanPlaceOn:
[
dirt,
grass
],
display:
{
Name:"Dull Hoe",
Lore:
[
"Hoe Grass into Farmland"
]
}
}

Can still see the OnPlace tag on the item

Comments 5

You can't place a hoe anyways, why would you even add that tag?

try hideFlags:127
that will hide everything

CanPlaceOn with a hoe allows you to hoe grass /dirt into farmland... that is why you would put it on there. You cannot do it in adventure mode without it.

The hide flag should hide can destroy and can place information only, but I can settle for all as long as the lore is still displayed.

The proper value for hiding "CanPlaceOn" text is 16:

give @p wooden_hoe 1 54 {HideFlags:16,CanPlaceOn:[dirt,grass],display:{ Name:"Dull Hoe",Lore:["Hoe Grass into Farmland"]}}

You can find the correct values for the bit field here: http://minecraft.gamepedia.com/Player.dat_format#Display_Properties

Ahh. Somewhere I read it in bit format so assumed that is how it interpreted it.

Thanks for the clarification

Johnty

(Unassigned)

Unconfirmed

Minecraft 14w08a

Retrieved