Class NBTProcessors
java.lang.Object
com.simibubi.create.foundation.utility.NBTProcessors
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddProcessor(net.minecraft.world.level.block.entity.BlockEntityType<?> type, UnaryOperator<net.minecraft.nbt.CompoundTag> processor) static voidaddSurvivalProcessor(net.minecraft.world.level.block.entity.BlockEntityType<?> type, UnaryOperator<net.minecraft.nbt.CompoundTag> processor) static net.minecraft.nbt.CompoundTagprocess(net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.nbt.CompoundTag compound, boolean survival) static boolean
-
Method Details
-
addProcessor
public static void addProcessor(net.minecraft.world.level.block.entity.BlockEntityType<?> type, UnaryOperator<net.minecraft.nbt.CompoundTag> processor) -
addSurvivalProcessor
public static void addSurvivalProcessor(net.minecraft.world.level.block.entity.BlockEntityType<?> type, UnaryOperator<net.minecraft.nbt.CompoundTag> processor) -
textComponentHasClickEvent
-
process
@Nullable public static net.minecraft.nbt.CompoundTag process(net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.nbt.CompoundTag compound, boolean survival)
-