public class StabilizedContraption extends Contraption
Contraption.ContraptionInvWrapperactors, anchor, blocks, bounds, entity, fluidInventory, fluidStorage, hasUniversalCreativeCrate, interactors, inventory, maybeInstancedTileEntities, presentTileEntities, seatMapping, seats, simplifiedEntityColliders, specialRenderedTileEntities, stabilizedSubContraptions, stalled, storage, superglue, world| Constructor and Description |
|---|
StabilizedContraption() |
StabilizedContraption(net.minecraft.util.Direction facing) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
assemble(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
boolean |
canBeStabilized(net.minecraft.util.Direction facing,
net.minecraft.util.math.BlockPos localPos) |
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) |
net.minecraft.nbt.CompoundNBT |
writeNBT(boolean spawnPacket) |
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, removeBlocksFromWorld, searchMovedStructure, setSeatMapping, shouldUpdateAfterMovement, startMoving, stop, toLocalPos, updateContainedFluidpublic StabilizedContraption()
public StabilizedContraption(net.minecraft.util.Direction facing)
public 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 Contraptionprotected ContraptionType getType()
getType 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 tag,
boolean spawnData)
readNBT in class Contraptionpublic boolean canBeStabilized(net.minecraft.util.Direction facing,
net.minecraft.util.math.BlockPos localPos)
canBeStabilized in class Contraptionpublic net.minecraft.util.Direction getFacing()
public ContraptionLighter<?> makeLighter()
makeLighter in class Contraption