How to make a block item unplaceable?
You know how fence gates look like goggles when you put them on your head? Im gonna make night vision goggles using them by giving a fence gate item the "wearable" attribute, but the player has the option of placing down the fence gate. Is there an NBT attribute that I can give to the fence gate so it is unplaceable? or do I have to put command blocks that set the player holding the fence gate to adventure mode automatically?
Edit: thanks for the help, but changing the item model makes it so that if you wear the item it still shows as the item it actually is on your person