![]() ![]()
NBTCompound skull = nbti.addCompound("SkullOwner") NBTCompound disp = nbti.addCompound("display") ItemStack head = new ItemStack(Material.SKULL_ITEM, 1, (short) 3) Merge the data from compound A into B (Like the /data merge command)Īnd finally get back the Bukkit Itemstack(Changes on Tiles/Entities will happen directly): SimpleJsonTestObject simpleObject = nbti.getObject("myobject", SimpleJsonTestObject.class) ![]() tObject("myobject", new SimpleJsonTestObject()) NBTCompound comp = nbti.getCompound("subtag") Create NBTTagCombounds(Imagine folders) Reloading, in general, is a horrible thing and it will break the NBTInjector in horrible ways! When updating plugins/changing configs always restart the server normally! Important for version 2.0.0: Don't reload while using the NBTInjector. The outdated "ItemNBTAPI" and "NBTApi" can be used at the same time. #Nbtexplorer not saving download#In this case download version 1.8.3 from the versions tab. Note that outdated plugins may ask for "ItemNBTAPI". Just download the jar and drop it in the plugins folder. TLDR: 1.7.10 is somewhat broken and not everything might work due to 1.7.10 limitations. * 1.7 Notes: Use a 1.7 with R4 (1.7.10), NBTLists may not work, everything using Gson is disabled(Add Gson before the NBTAPI loads, to turn it back on), and you can't get the NBTTypes, because 1.7 is missing this feature.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |