public abstract class TranslatingContraption extends Contraption
Contraption.ContraptionInvWrapper| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.Direction |
cachedColliderDirection |
protected java.util.Set<net.minecraft.util.math.BlockPos> |
cachedColliders |
actors, anchor, blocks, bounds, entity, fluidInventory, fluidStorage, hasUniversalCreativeCrate, inventory, maybeInstancedTileEntities, presentTileEntities, seatMapping, seats, simplifiedEntityColliders, specialRenderedTileEntities, stabilizedSubContraptions, stalled, storage, superglue, world| Constructor and Description |
|---|
TranslatingContraption() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeStabilized(net.minecraft.util.Direction facing,
net.minecraft.util.math.BlockPos localPos) |
java.util.Set<net.minecraft.util.math.BlockPos> |
getColliders(net.minecraft.world.World world,
net.minecraft.util.Direction movementDirection) |
void |
removeBlocksFromWorld(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos offset) |
addBlock, addBlocksToWorld, addExtraInventories, addGlue, addPassengersToWorld, addToInitialFrontier, assemble, capture, customBlockPlacement, customBlockRemoval, expandBoundsAroundAxis, foreachActor, fromNBT, getActors, getBearingPosOf, getBlocks, getContraptionWorld, getMaxDistSqr, getRadius, getSeatMapping, getSeatOf, getSeats, getTileEntityNBT, getType, isAnchoringBlockAt, makeLighter, moveBlock, moveGantryPinion, moveGantryShaft, movementAllowed, movePistonHead, movePistonPole, onEntityCreated, onEntityInitialize, onEntityRemoved, onEntityTick, readNBT, searchMovedStructure, setSeatMapping, shouldUpdateAfterMovement, startMoving, stop, toLocalPos, updateContainedFluid, writeNBTprotected java.util.Set<net.minecraft.util.math.BlockPos> cachedColliders
protected net.minecraft.util.Direction cachedColliderDirection
public java.util.Set<net.minecraft.util.math.BlockPos> getColliders(net.minecraft.world.World world,
net.minecraft.util.Direction movementDirection)
public void removeBlocksFromWorld(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos offset)
removeBlocksFromWorld in class Contraptionpublic boolean canBeStabilized(net.minecraft.util.Direction facing,
net.minecraft.util.math.BlockPos localPos)
canBeStabilized in class Contraption