Package com.kamikazejam.kamicommon.item
package com.kamikazejam.kamicommon.item
-
ClassDescriptionDo not implement this outside KamiCommon. This was a
sealedhierarchy until spigot-utils dropped to Java 8 so that 1.8.x servers could load it;sealedis Java 17 and has no Java 8 spelling.A builder class for wrappingItemStacks and applying patches to them.
Patches modify the base metadata and nbt of the item via easier to use methods exposed by this class.
NOTE: Using third party plugins like ItemsAdder which provide custom items IS SUPPORTED!
Just adjust your workflow to parse theItemStackfrom their API, and then use that object as the prototype for this wrapper:Loader to assist in automatically extractingItemBuilders from configuration sections.
Supports theKamiConfigsystem, requiring aConfigurationSectionobject to load from.Deprecated.NBT config parsing was removed in v5.