Hi guys.
I make an RPG server with a lot of items
And assign a texture with custom model data is little uncomfortable.
I know that PersistentDataContainer paste tags in "tag.PublicBukkitValues"
For example, i creating "settingsMenu" tag
And when i trying to check this in optifine
Texture does not work.
What am i doing wrong?
I make an RPG server with a lot of items
And assign a texture with custom model data is little uncomfortable.
I know that PersistentDataContainer paste tags in "tag.PublicBukkitValues"
For example, i creating "settingsMenu" tag
Java:
menuMeta.getPersistentDataContainer().
set(NamespacedKey.fromString("settingsMenu"), PersistentDataType.STRING, "yep");
Code:
nbt.tag.PublicBukkitValues.minecraft:settingsMenu = yep
What am i doing wrong?
- Version Output
- This server is running Paper version git-Paper-181 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 2121aed)