Class GantryContraption
java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.Contraption
com.simibubi.create.content.contraptions.components.structureMovement.TranslatingContraption
com.simibubi.create.content.contraptions.components.structureMovement.gantry.GantryContraption
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.contraptions.components.structureMovement.Contraption
Contraption.ContraptionInvWrapper -
Field Summary
FieldsFields inherited from class com.simibubi.create.content.contraptions.components.structureMovement.TranslatingContraption
cachedColliderDirection, cachedCollidersFields inherited from class com.simibubi.create.content.contraptions.components.structureMovement.Contraption
actors, anchor, blocks, bounds, entity, fluidInventory, fluidStorage, hasUniversalCreativeCrate, interactors, inventory, maybeInstancedTileEntities, presentTileEntities, seatMapping, seats, simplifiedEntityColliders, specialRenderedTileEntities, stabilizedSubContraptions, stalled, storage, superglue, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanassemble(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) net.minecraft.core.Directionprotected ContraptionTypegetType()protected booleanisAnchoringBlockAt(net.minecraft.core.BlockPos pos) voidreadNBT(net.minecraft.world.level.Level world, net.minecraft.nbt.CompoundTag tag, boolean spawnData) protected booleanshouldUpdateAfterMovement(net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo info) net.minecraft.nbt.CompoundTagwriteNBT(boolean spawnPacket) Methods inherited from class com.simibubi.create.content.contraptions.components.structureMovement.TranslatingContraption
canBeStabilized, getColliders, removeBlocksFromWorldMethods inherited from class com.simibubi.create.content.contraptions.components.structureMovement.Contraption
addBlock, addBlocksToWorld, addExtraInventories, addGlue, addPassengersToWorld, addToInitialFrontier, capture, customBlockPlacement, customBlockRemoval, expandBoundsAroundAxis, foreachActor, fromNBT, getActors, getBearingPosOf, getBlocks, getContraptionWorld, getInteractors, getMaxDistSqr, getRadius, getSeatMapping, getSeatOf, getSeats, getTileEntityNBT, invalidateColliders, moveBlock, moveGantryPinion, moveGantryShaft, movementAllowed, movePistonHead, movePistonPole, onEntityCreated, onEntityInitialize, onEntityRemoved, onEntityTick, searchMovedStructure, setSeatMapping, startMoving, stop, toLocalPos, updateContainedFluid
-
Field Details
-
facing
protected net.minecraft.core.Direction facing
-
-
Constructor Details
-
GantryContraption
public GantryContraption() -
GantryContraption
public GantryContraption(net.minecraft.core.Direction facing)
-
-
Method Details
-
assemble
public boolean assemble(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) throws AssemblyException - Specified by:
assemblein classContraption- Throws:
AssemblyException
-
writeNBT
public net.minecraft.nbt.CompoundTag writeNBT(boolean spawnPacket) - Overrides:
writeNBTin classContraption
-
readNBT
public void readNBT(net.minecraft.world.level.Level world, net.minecraft.nbt.CompoundTag tag, boolean spawnData) - Overrides:
readNBTin classContraption
-
isAnchoringBlockAt
protected boolean isAnchoringBlockAt(net.minecraft.core.BlockPos pos) - Overrides:
isAnchoringBlockAtin classContraption
-
getType
- Specified by:
getTypein classContraption
-
getFacing
public net.minecraft.core.Direction getFacing() -
shouldUpdateAfterMovement
protected boolean shouldUpdateAfterMovement(net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo info) - Overrides:
shouldUpdateAfterMovementin classContraption
-
makeLighter
- Overrides:
makeLighterin classContraption
-