Make player see block with nbt

  • 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 community!

    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.

Acidpop

Member
Aug 24, 2021
3
0
1
im trying to make the player see obsidian as a spawner with custom nbt
ive got the addon SkBee installed

Code:
every 5 ticks:
  loop all players:
    loop all blocks in radius 50 of loop-player:
      if loop-block is obsidian:
        set {_ship} to loop-block
        if {ship::%loop-player's uuid%} is 1:
          make loop-player see {_ship} as spawner with nbt "{MaxNearbyEntities:0,RequiredPlayerRange:0,SpawnData:{id:""armorstand""}}"

when i use this code it works and i dont get any errors but it makes obsidian look like a normal spawner
is this even possible or am i just dumb?
 
Last edited:
Status
Not open for further replies.