ISubtypeRegistry
@Deprecated
public interface INbtRegistry
Some items have subtypes, most of them use meta values for this. If your item has subtypes that depend on NBT, use this interface so JEI can tell those subtypes apart.
Most items do not use nbt to differentiate subtypes, so this interface is being used instead of a blacklist.
Replaces INbtIgnoreList
.
Modifier and Type | Interface and Description |
---|---|
static interface |
INbtRegistry.INbtInterpreter
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSubtypeInfoFromNbt(net.minecraft.item.ItemStack itemStack)
Deprecated.
since 3.6.4. Use
ISubtypeRegistry |
void |
registerNbtInterpreter(net.minecraft.item.Item item,
INbtRegistry.INbtInterpreter nbtInterpreter)
Deprecated.
since 3.6.4. Use
ISubtypeRegistry |
void |
useNbtForSubtypes(net.minecraft.item.Item... items)
Deprecated.
since 3.6.4. Use
ISubtypeRegistry |
@Deprecated void useNbtForSubtypes(net.minecraft.item.Item... items)
ISubtypeRegistry
@Deprecated void registerNbtInterpreter(net.minecraft.item.Item item, INbtRegistry.INbtInterpreter nbtInterpreter)
ISubtypeRegistry
item
- the item that uses nbt to tell subtypes apart.nbtInterpreter
- the nbt interpreter for the item.@Deprecated @Nullable java.lang.String getSubtypeInfoFromNbt(net.minecraft.item.ItemStack itemStack)
ISubtypeRegistry