Skip to content

Rtag 1.2.0

Compare
Choose a tag to compare
@Rubenicos Rubenicos released this 09 Jun 17:17
238b359

Additions

  • Support for Minecraft 1.19.
  • TagBase#getTypeId(Object) method to get NBT object ID.
  • Boolean object compatibility.
  • Support for player name and UUID in SkullTexture#getTexturedHead(String).
  • TagList#getValue() method to get the NBTBase list inside NBTTagList.
  • TagList#contains() method to check the existence of NBTBase inside NBTTagList.
  • TagList#clone() & TagBase#clone() method for tags.
  • RtagMirror#clone() method to clone any NBT object type.
  • String compatibility to construct NBTTagCompound via TagCompound#newTag(String) method.
  • TagCompound#getJson() method to get NBTTagCompound as JSON String.

Changes

  • TagList now can be created with any type List.
  • TagCompound#set() now return the added value.
  • Rtag now extends RtagMirror.
  • TagCompound#newTag() & TagList#newTag() now requires RtagMirror instance instead of Rtag.

Breaking Changes

  • TileBridge & TileTag classes was merged into BlockObject class.
  • EntityBridge & EntityTag classes was merged into EntityObject class.
  • ItemBridge & ItemTag classes was merged into ItemObject class.