Class StabilizedContraption
java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.Contraption
com.simibubi.create.content.contraptions.components.structureMovement.bearing.StabilizedContraption
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.contraptions.components.structureMovement.Contraption
Contraption.ContraptionInvWrapper -
Field Summary
Fields inherited from class com.simibubi.create.content.contraptions.components.structureMovement.Contraption
actors, anchor, blocks, bounds, deferInvalidate, entity, hasUniversalCreativeCrate, interactors, 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) booleancanBeStabilized(net.minecraft.core.Direction facing, net.minecraft.core.BlockPos localPos) 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) net.minecraft.nbt.CompoundTagwriteNBT(boolean spawnPacket) Methods inherited from class com.simibubi.create.content.contraptions.components.structureMovement.Contraption
addBlock, addBlocksToWorld, addPassengersToWorld, addToInitialFrontier, capture, containsBlockBreakers, customBlockPlacement, customBlockRemoval, expandBoundsAroundAxis, forEachActor, fromNBT, getActors, getBearingPosOf, getBlocks, getContraptionWorld, getInteractors, getMaxDistSqr, getRadius, getRenderedBlocks, getSeatMapping, getSeatOf, getSeats, getSharedFluidTanks, getSharedFuelInventory, getSharedInventory, getSimplifiedEntityColliders, getSpecialRenderedTEs, getStorageForSpawnPacket, getTileEntityNBT, handleContraptionFluidPacket, invalidateColliders, isHiddenInPortal, moveBlock, moveGantryPinion, moveGantryShaft, movementAllowed, movePistonHead, movePistonPole, onEntityCreated, onEntityInitialize, onEntityRemoved, removeBlocksFromWorld, searchMovedStructure, setSeatMapping, shouldUpdateAfterMovement, startMoving, stop, tickStorage, toLocalPos
-
Constructor Details
-
StabilizedContraption
public StabilizedContraption() -
StabilizedContraption
public StabilizedContraption(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
-
isAnchoringBlockAt
protected boolean isAnchoringBlockAt(net.minecraft.core.BlockPos pos) - Overrides:
isAnchoringBlockAtin classContraption
-
getType
- Specified by:
getTypein classContraption
-
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
-
canBeStabilized
public boolean canBeStabilized(net.minecraft.core.Direction facing, net.minecraft.core.BlockPos localPos) - Specified by:
canBeStabilizedin classContraption
-
getFacing
public net.minecraft.core.Direction getFacing() -
makeLighter
- Overrides:
makeLighterin classContraption
-