public class PulleyContraption extends TranslatingContraption
Contraption.ContraptionInvWrappercachedColliderDirection, cachedCollidersactors, anchor, blocks, bounds, entity, fluidInventory, fluidStorage, hasUniversalCreativeCrate, interactors, inventory, maybeInstancedTileEntities, presentTileEntities, seatMapping, seats, simplifiedEntityColliders, specialRenderedTileEntities, stabilizedSubContraptions, stalled, storage, superglue, world| Constructor and Description |
|---|
PulleyContraption() |
PulleyContraption(int initialOffset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
assemble(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
protected ContraptionType |
getType() |
protected boolean |
isAnchoringBlockAt(net.minecraft.util.math.BlockPos pos) |
ContraptionLighter<?> |
makeLighter() |
void |
readNBT(net.minecraft.world.World world,
net.minecraft.nbt.CompoundNBT nbt,
boolean spawnData) |
net.minecraft.nbt.CompoundNBT |
writeNBT(boolean spawnPacket) |
canBeStabilized, getColliders, removeBlocksFromWorldaddBlock, 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, shouldUpdateAfterMovement, startMoving, stop, toLocalPos, updateContainedFluidpublic PulleyContraption()
public PulleyContraption(int initialOffset)
protected ContraptionType getType()
getType in class Contraptionpublic boolean assemble(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
throws AssemblyException
assemble in class ContraptionAssemblyExceptionprotected boolean isAnchoringBlockAt(net.minecraft.util.math.BlockPos pos)
isAnchoringBlockAt in class Contraptionpublic net.minecraft.nbt.CompoundNBT writeNBT(boolean spawnPacket)
writeNBT in class Contraptionpublic void readNBT(net.minecraft.world.World world,
net.minecraft.nbt.CompoundNBT nbt,
boolean spawnData)
readNBT in class Contraptionpublic ContraptionLighter<?> makeLighter()
makeLighter in class Contraption