Setting a Custom NBT Tag on a Placed Block?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

micc

Member
May 2, 2017
1
0
0
So far I've tried the following code:

Code:
on place of furnace:
    add "{BurnTime:32767}" to nbt of event-block
    add "{SomeCustomNBTTag:0}" to nbt of event-block

The BurnTime is added to the event-block, but not the SomeCustomNBTTag

So my question is, Is it possible to add custom (non-vanilla used) nbt tags on blocks? And if so, how?
 
It's not possible, blocks don't support custom NBT tags. You can use metadata but that's temporary and will be cleared upon server restart.
 
Status
Not open for further replies.