Server help please!
I’m hosting a custom Minecraft server. It’s vanilla with custom command block items. I have an item that is a wearable glass block, and I’m wondering is there anyway I can either A. Make the block not placable, or B. Make the data retain after it’s been placed. I used an item command generator for the block as well
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
The best thing I can think of is to use a resource pack in conjunction with your custom items. Instead of a block, use something that cannot be placed (like, an iron nugget or a stick) and then have the resource pack apply a custom model (that *looks* like a glass block) if the item has certain data
They're may be other solutions too, but that's the one I can think of
But if you're set on using an actual glass block, I'm reasonably sure that there's no way to prevent it from being placed, and that there's no way to make it retain its data