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

    Fields
    Modifier and Type
    Field
    Description
    int
     
    float
     
    net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>
     
    int
     
    int
     
    boolean
     
    boolean
     
    boolean
     
    int
     
    boolean
     
    net.minecraft.core.BlockPos
     
     
    net.minecraft.world.entity.player.Player
     
    int
     

    Fields inherited from class com.simibubi.create.content.contraptions.TranslatingContraption

    cachedColliderDirection, cachedColliders

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    assemble(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos)
     
    void
     
    boolean
    canBeStabilized(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)
     
    float
     
    com.simibubi.create.api.contraption.ContraptionType
     
    int
     
    int
     
    boolean
     
    int
     
    protected boolean
    isAnchoringBlockAt(net.minecraft.core.BlockPos pos)
     

    Methods inherited from class com.simibubi.create.content.contraptions.TranslatingContraption

    createColliders, getOrCreateColliders, removeBlocksFromWorld

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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
    • hasInterplanetaryNavigation

      public boolean hasInterplanetaryNavigation
    • hasAutoLander

      public boolean hasAutoLander
    • isUsingTicket

      public boolean isUsingTicket
    • computingPower

      public float computingPower
    • name

      public String 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:
      assemble in class com.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:
      capture in class com.simibubi.create.content.contraptions.Contraption
    • canBeStabilized

      public boolean canBeStabilized(net.minecraft.core.Direction facing, net.minecraft.core.BlockPos localPos)
      Overrides:
      canBeStabilized in class com.simibubi.create.content.contraptions.TranslatingContraption
    • getType

      public com.simibubi.create.api.contraption.ContraptionType getType()
      Specified by:
      getType in class com.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:
      isAnchoringBlockAt in class com.simibubi.create.content.contraptions.Contraption