public class GantryContraption extends TranslatingContraption
Contraption.ContraptionInvWrapper| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.Direction |
facing |
cachedColliderDirection, cachedCollidersactors, anchor, blocks, bounds, entity, fluidInventory, fluidStorage, hasUniversalCreativeCrate, inventory, maybeInstancedTileEntities, presentTileEntities, seatMapping, seats, simplifiedEntityColliders, specialRenderedTileEntities, stabilizedSubContraptions, stalled, storage, superglue, world| Constructor and Description |
|---|
GantryContraption() |
GantryContraption(net.minecraft.util.Direction facing) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
assemble(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.Direction |
getFacing() |
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 tag,
boolean spawnData) |
protected boolean |
shouldUpdateAfterMovement(net.minecraft.world.gen.feature.template.Template.BlockInfo info) |
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, getMaxDistSqr, getRadius, getSeatMapping, getSeatOf, getSeats, getTileEntityNBT, moveBlock, moveGantryPinion, moveGantryShaft, movementAllowed, movePistonHead, movePistonPole, onEntityCreated, onEntityInitialize, onEntityRemoved, onEntityTick, searchMovedStructure, setSeatMapping, startMoving, stop, toLocalPos, updateContainedFluidpublic GantryContraption()
public GantryContraption(net.minecraft.util.Direction facing)
public boolean assemble(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
throws AssemblyException
assemble in class ContraptionAssemblyExceptionpublic net.minecraft.nbt.CompoundNBT writeNBT(boolean spawnPacket)
writeNBT in class Contraptionpublic void readNBT(net.minecraft.world.World world,
net.minecraft.nbt.CompoundNBT tag,
boolean spawnData)
readNBT in class Contraptionprotected boolean isAnchoringBlockAt(net.minecraft.util.math.BlockPos pos)
isAnchoringBlockAt in class Contraptionprotected ContraptionType getType()
getType in class Contraptionpublic net.minecraft.util.Direction getFacing()
protected boolean shouldUpdateAfterMovement(net.minecraft.world.gen.feature.template.Template.BlockInfo info)
shouldUpdateAfterMovement in class Contraptionpublic ContraptionLighter<?> makeLighter()
makeLighter in class Contraption