Solved "Can Be Placed On"-NBT Tag (1.11.2)

Discussion in 'Spigot Plugin Development' started by NicoMCArchitekt, Apr 28, 2017.

Thread Status:
Not open for further replies.
  1. Hey everyone!
    I was just programming a plugin and wanted to apply the "Can Be Placed On"-tag to an itemstack so players can only place blocks at certain locations. Is there any simple and easy way like a method provided that I can use? Or do I have to do it more complicated with "net.minecraft.server.(..)" and NBTTagCompounds?
    Thanks for answering already.
     
  2. NathanWolf

    Supporter

    There is not an API method in ItemMeta for this, so yes you would have to use NMS and NBT.
     
  3. Well, that's a real shame to hear, but thank you for replying anyway ;)
     
Thread Status:
Not open for further replies.