Class PulleyContraption
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.pulley.PulleyContraption
-
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.TranslatingContraption
cachedColliderDirection, cachedCollidersFields 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) protected ContraptionTypegetType()protected booleanisAnchoringBlockAt(net.minecraft.core.BlockPos pos) voidreadNBT(net.minecraft.world.level.Level world, net.minecraft.nbt.CompoundTag nbt, boolean spawnData) 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, 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, searchMovedStructure, setSeatMapping, shouldUpdateAfterMovement, startMoving, stop, tickStorage, toLocalPos
-
Constructor Details
-
PulleyContraption
public PulleyContraption() -
PulleyContraption
public PulleyContraption(int initialOffset)
-
-
Method Details
-
getType
- Specified by:
getTypein classContraption
-
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
-
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 nbt, boolean spawnData) - Overrides:
readNBTin classContraption
-
makeLighter
- Overrides:
makeLighterin classContraption
-