Class RocketContraption
java.lang.Object
com.simibubi.create.content.contraptions.Contraption
com.simibubi.create.content.contraptions.TranslatingContraption
com.lightning.northstar.contraption.rocket.RocketContraption
public class RocketContraption
extends com.simibubi.create.content.contraptions.TranslatingContraption
-
Field Summary
FieldsModifier and TypeFieldDescriptionintfloatnet.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> intintbooleanbooleanbooleanintbooleannet.minecraft.core.BlockPosnet.minecraft.world.entity.player.PlayerintFields inherited from class com.simibubi.create.content.contraptions.TranslatingContraption
cachedColliderDirection, cachedCollidersFields inherited from class com.simibubi.create.content.contraptions.Contraption
actors, anchor, blocks, bounds, capturedMultiblocks, collisionLevel, disabledActors, disassembled, entity, hasUniversalCreativeCrate, interactors, isLegacy, seatMapping, seats, simplifiedEntityColliders, stabilizedSubContraptions, stalled, storage, superglue, updateTags -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanassemble(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) voidburnFuel()booleancanBeStabilized(net.minecraft.core.Direction facing, net.minecraft.core.BlockPos localPos) protected org.apache.commons.lang3.tuple.Pair<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo, net.minecraft.world.level.block.entity.BlockEntity> capture(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) floatcom.simibubi.create.api.contraption.ContraptionTypegetType()intintbooleanintprotected booleanisAnchoringBlockAt(net.minecraft.core.BlockPos pos) Methods inherited from class com.simibubi.create.content.contraptions.TranslatingContraption
createColliders, getOrCreateColliders, removeBlocksFromWorldMethods inherited from class com.simibubi.create.content.contraptions.Contraption
addBlock, addBlocksToWorld, addPassengersToWorld, addToInitialFrontier, captureMultiblock, containsBlockBreakers, createClientContraption, customBlockPlacement, customBlockRemoval, disableActorOnStart, expandBoundsAroundAxis, forEachActor, fromNBT, getActorAt, getActors, getBearingPosOf, getBlockEntityClientSide, getBlockEntityNBT, getBlocks, getContraptionWorld, getDisabledActors, getInteractors, getIsLegacy, getOrCreateClientContraptionLazy, getRadius, getSeatMapping, getSeatOf, getSeats, getSimplifiedEntityColliders, getStorage, invalidateClientContraptionChildren, invalidateClientContraptionStructure, invalidateColliders, isActorTypeDisabled, isHiddenInPortal, moveBlock, moveGantryPinion, moveGantryShaft, movementAllowed, movePistonHead, movePistonPole, onEntityCreated, onEntityInitialize, onEntityRemoved, readNBT, resetClientContraption, searchMovedStructure, setActorsActive, setSeatMapping, shouldUpdateAfterMovement, startMoving, stop, tickStorage, toLocalPos, translateMultiblockControllers, writeNBT, writeStorage
-
Field Details
-
fuelCost
public int fuelCost -
fuelReturnCost
public int fuelReturnCost -
weightCost
public int weightCost -
heatShielding
public int heatShielding -
blockCount
public int blockCount -
hasControls
public boolean hasControls -
hasAutoLander
public boolean hasAutoLander -
isUsingTicket
public boolean isUsingTicket -
computingPower
public float computingPower -
name
-
owner
public net.minecraft.world.entity.player.Player owner -
localControlsPos
public net.minecraft.core.BlockPos localControlsPos -
dest
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dest
-
-
Constructor Details
-
RocketContraption
public RocketContraption()
-
-
Method Details
-
assemble
public boolean assemble(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) throws com.simibubi.create.content.contraptions.AssemblyException - Specified by:
assemblein classcom.simibubi.create.content.contraptions.Contraption- Throws:
com.simibubi.create.content.contraptions.AssemblyException
-
burnFuel
public void burnFuel() -
capture
protected org.apache.commons.lang3.tuple.Pair<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo,net.minecraft.world.level.block.entity.BlockEntity> capture(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) - Overrides:
capturein classcom.simibubi.create.content.contraptions.Contraption
-
canBeStabilized
public boolean canBeStabilized(net.minecraft.core.Direction facing, net.minecraft.core.BlockPos localPos) - Overrides:
canBeStabilizedin classcom.simibubi.create.content.contraptions.TranslatingContraption
-
getType
public com.simibubi.create.api.contraption.ContraptionType getType()- Specified by:
getTypein classcom.simibubi.create.content.contraptions.Contraption
-
hasRocketStation
public boolean hasRocketStation() -
hasJetEngine
public int hasJetEngine() -
getVisualJetEngines
public int getVisualJetEngines() -
fuelAmount
public float fuelAmount() -
heatShielding
public int heatShielding() -
isAnchoringBlockAt
protected boolean isAnchoringBlockAt(net.minecraft.core.BlockPos pos) - Overrides:
isAnchoringBlockAtin classcom.simibubi.create.content.contraptions.Contraption
-