Class SchematicPrinter

java.lang.Object
com.simibubi.create.content.schematics.SchematicPrinter

public class SchematicPrinter extends Object
  • Constructor Details

    • SchematicPrinter

      public SchematicPrinter()
  • Method Details

    • fromTag

      public void fromTag(net.minecraft.nbt.CompoundTag compound, boolean clientPacket)
    • write

      public void write(net.minecraft.nbt.CompoundTag compound)
    • loadSchematic

      public void loadSchematic(net.minecraft.world.item.ItemStack blueprint, net.minecraft.world.level.Level originalWorld, boolean processNBT)
    • resetSchematic

      public void resetSchematic()
    • isLoaded

      public boolean isLoaded()
    • getCurrentTarget

      public net.minecraft.core.BlockPos getCurrentTarget()
    • getPrintStage

      public SchematicPrinter.PrintStage getPrintStage()
    • getAnchor

      public net.minecraft.core.BlockPos getAnchor()
    • isWorldEmpty

      public boolean isWorldEmpty()
    • handleCurrentTarget

      public void handleCurrentTarget(SchematicPrinter.BlockTargetHandler blockHandler, SchematicPrinter.EntityTargetHandler entityHandler)
    • shouldPlaceCurrent

      public boolean shouldPlaceCurrent(net.minecraft.world.level.Level world)
    • shouldPlaceCurrent

      public boolean shouldPlaceCurrent(net.minecraft.world.level.Level world, SchematicPrinter.PlacementPredicate predicate)
    • shouldPlaceBlock

      public boolean shouldPlaceBlock(net.minecraft.world.level.Level world, SchematicPrinter.PlacementPredicate predicate, net.minecraft.core.BlockPos pos)
    • getCurrentRequirement

      public ItemRequirement getCurrentRequirement()
    • markAllBlockRequirements

      public int markAllBlockRequirements(MaterialChecklist checklist, net.minecraft.world.level.Level world, SchematicPrinter.PlacementPredicate predicate)
    • markAllEntityRequirements

      public void markAllEntityRequirements(MaterialChecklist checklist)
    • advanceCurrentPos

      public boolean advanceCurrentPos()
    • tryAdvanceCurrentPos

      public boolean tryAdvanceCurrentPos()
    • shouldDeferBlock

      public static boolean shouldDeferBlock(net.minecraft.world.level.block.state.BlockState state)