Class SchematicPrinter
java.lang.Object
com.simibubi.create.content.schematics.SchematicPrinter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidfromTag(net.minecraft.nbt.CompoundTag compound, boolean clientPacket) net.minecraft.core.BlockPosnet.minecraft.core.BlockPosvoidhandleCurrentTarget(SchematicPrinter.BlockTargetHandler blockHandler, SchematicPrinter.EntityTargetHandler entityHandler) booleanisLoaded()booleanvoidloadSchematic(net.minecraft.world.item.ItemStack blueprint, net.minecraft.world.level.Level originalWorld, boolean processNBT) intmarkAllBlockRequirements(MaterialChecklist checklist, net.minecraft.world.level.Level world, SchematicPrinter.PlacementPredicate predicate) voidmarkAllEntityRequirements(MaterialChecklist checklist) voidstatic booleanshouldDeferBlock(net.minecraft.world.level.block.state.BlockState state) booleanshouldPlaceBlock(net.minecraft.world.level.Level world, SchematicPrinter.PlacementPredicate predicate, net.minecraft.core.BlockPos pos) booleanshouldPlaceCurrent(net.minecraft.world.level.Level world) booleanshouldPlaceCurrent(net.minecraft.world.level.Level world, SchematicPrinter.PlacementPredicate predicate) booleanvoidwrite(net.minecraft.nbt.CompoundTag compound)
-
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
-
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
-
markAllBlockRequirements
public int markAllBlockRequirements(MaterialChecklist checklist, net.minecraft.world.level.Level world, SchematicPrinter.PlacementPredicate predicate) -
markAllEntityRequirements
-
advanceCurrentPos
public boolean advanceCurrentPos() -
tryAdvanceCurrentPos
public boolean tryAdvanceCurrentPos() -
shouldDeferBlock
public static boolean shouldDeferBlock(net.minecraft.world.level.block.state.BlockState state)
-