NBT DATA

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

Death

Member
Dec 27, 2023
16
1
3
Hey guys! I'm trying to use NBT data to create custom texture packs since I've seen someone do it before but I have no dieea how to even start! Can one of you help me and give me an example? Thanks! - Death
 
NBT data (or custom model data) for custom texture packs can be kinda tricky to do so I've linked a video here to explain how to make one (I've done it before myself a few times and it's best to watch a video on it): https://www.youtube.com/watch?v=x2QwKFE0aQg. To implement these custom models into the game via Skript, you'll need SkBee and a couple lines of code (attached below). Also, to avoid issues make sure to test the items in a single player world BEFORE uploading the texture pack to the server (That'll save you so much time).

Code:
command givecustommodel:
   trigger:
      set {_i} to cookie named "&cCustom Texture Test!"
      set custom model data of {_i} to 1 # Change 1 to a specific number if needed for different textures
      give {_i} to player
 
YES. THANK YOU!!! I COULD NOT FIND A VIDEO ON THIS!!! Thank you soooooo much!