Class NBTProcessors

java.lang.Object
com.simibubi.create.foundation.utility.NBTProcessors

public final class NBTProcessors extends Object
  • 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

      public static boolean textComponentHasClickEvent(String json)
    • process

      @Nullable public static net.minecraft.nbt.CompoundTag process(net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.nbt.CompoundTag compound, boolean survival)