public final class NBTProcessors
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addProcessor(net.minecraft.tileentity.TileEntityType<?> type,
java.util.function.UnaryOperator<net.minecraft.nbt.CompoundNBT> processor) |
static void |
addSurvivalProcessor(net.minecraft.tileentity.TileEntityType<?> type,
java.util.function.UnaryOperator<net.minecraft.nbt.CompoundNBT> processor) |
static net.minecraft.nbt.CompoundNBT |
process(net.minecraft.tileentity.TileEntity tileEntity,
net.minecraft.nbt.CompoundNBT compound,
boolean survival) |
static boolean |
textComponentHasClickEvent(java.lang.String json) |
public static void addProcessor(net.minecraft.tileentity.TileEntityType<?> type,
java.util.function.UnaryOperator<net.minecraft.nbt.CompoundNBT> processor)
public static void addSurvivalProcessor(net.minecraft.tileentity.TileEntityType<?> type,
java.util.function.UnaryOperator<net.minecraft.nbt.CompoundNBT> processor)
public static boolean textComponentHasClickEvent(java.lang.String json)
@Nullable
public static net.minecraft.nbt.CompoundNBT process(net.minecraft.tileentity.TileEntity tileEntity,
net.minecraft.nbt.CompoundNBT compound,
boolean survival)