gasilebay.blogg.se

Internal nbtexplorer for items
Internal nbtexplorer for items




  1. #Internal nbtexplorer for items update#
  2. #Internal nbtexplorer for items code#

NBTListCompound texture = skull.addCompound("Properties").getCompoundList("textures").addCompound() 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. 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.

internal nbtexplorer for items

  • On startup you will get a notification if there is a version problem!.
  • #Internal nbtexplorer for items update#

    The NBTInjector will not work with: 1.12.0, 1.12.1, 1.13.0 (Please just update to the final release of your chosen version).On server start the plugin checks all reflections.

    #Internal nbtexplorer for items code#

    It completely uses reflections to interact with NMS code and works with all the latest versions. The NBT API allows you to add custom NBT tags to Itemstacks, TileEntities and Entities, or modify excisting ones!

    internal nbtexplorer for items

    Source Code: Donation Link: (Item/Entity/Tile) NBT API






    Internal nbtexplorer for items