WolfyUtilities | Core API [1.17.1 - 1.21.1] icon

WolfyUtilities | Core API [1.17.1 - 1.21.1] -----

Inventory GUI API, JSON/HOCON Serialization, Plugin Compatibility Utils, etc.



Bug fixes & NBT API additions | v1.6.3.9
This update fixes some issues regarding the API change of MMOItems to MythicLibs.

MythicMobs Items should be correctly detected again.
Remember to enable the type information for your items to let WolfyUtilities automatically update the items in other plugins like CC.
Code (YAML):
Options:
    AppendType
: true

The NBT API was improved and got new additions.
For example, you can now read and edit the values of the NBTTagList.
Full example how to use the basic API here on GitHub.
Code (Java):

NBTTagList customList = nbt. getTag ( ). list ( ) ;
customList. add ( 0, nbt. getTag ( ). ofIntArray ( new int [ ] { 4, 543654, 235, 223, 423, 32 } ) ) ;
customList. add ( 0, nbt. getTag ( ). ofIntArray ( new int [ ] { 543, 345, 76, 21, 8, 65, 456, 4 } ) ) ;
customList. add ( 0, nbt. getTag ( ). ofIntArray ( new int [ ] { 897, 567, 98, 899, 878712, 12 } ) ) ;
wolfyCompound. set ( "IntArrayList", customList ) ;

//Read values
NBTTagList nbtTagList = (NBTTagList ) wolfyComp. get ( "IntArrayList" ) ;
for ( int i = 0 ; i < nbtTagList. size ( ) ; i ++ ) {
    System. out. println ( "- " + nbtTagList. getTag (i ) ) ;
}
 

Changelog
  • Fixed issue with CustomItems breaking in 1.14
  • Added options to the NBTTagList
  • Fixed MMOItems not working with the new MythicLibs
  • Fixed the detection of MythicMobs items
----------, Feb 17, 2021
Resource Information
Author:
----------
Total Downloads: 107,480
First Release: Jan 19, 2019
Last Update: May 2, 2024
Category: ---------------
All-Time Rating:
11 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings