Class RocketContraptionEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
com.simibubi.create.content.contraptions.AbstractContraptionEntity
com.lightning.northstar.contraption.rocket.RocketContraptionEntity
All Implemented Interfaces:
dev.latvian.mods.kubejs.core.EntityKJS, dev.latvian.mods.kubejs.core.MessageSenderKJS, dev.latvian.mods.kubejs.core.WithPersistentData, dev.latvian.mods.kubejs.script.ScriptTypeHolder, net.minecraft.commands.CommandSource, net.minecraft.world.level.entity.EntityAccess, net.minecraft.world.Nameable, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.entity.Entity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.entity.IEntityAdditionalSpawnData

public class RocketContraptionEntity extends com.simibubi.create.content.contraptions.AbstractContraptionEntity implements net.minecraftforge.entity.IEntityAdditionalSpawnData
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.simibubi.create.content.contraptions.AbstractContraptionEntity

    com.simibubi.create.content.contraptions.AbstractContraptionEntity.ContraptionRotationState

    Nested classes/interfaces inherited from class net.minecraft.world.entity.Entity

    net.minecraft.world.entity.Entity.MoveFunction, net.minecraft.world.entity.Entity.MovementEmission, net.minecraft.world.entity.Entity.RemovalReason

    Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>
  • Field Summary

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

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

    collidingEntities, contraption, initialized, prevPosInvalid, staleTicks

    Fields inherited from class net.minecraft.world.entity.Entity

    BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOld

    Fields inherited from interface net.minecraft.commands.CommandSource

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
    RocketContraptionEntity(net.minecraft.world.entity.EntityType<?> entityTypeIn, net.minecraft.world.level.Level worldIn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyLocalTransforms(com.mojang.blaze3d.vertex.PoseStack matrixStack, float partialTicks)
     
    net.minecraft.world.phys.Vec3
    applyRotation(net.minecraft.world.phys.Vec3 localPos, float partialTicks)
     
    void
     
    @Nullable net.minecraft.world.entity.Entity
    changeDimension(net.minecraft.server.level.ServerLevel destination)
     
    @Nullable net.minecraft.world.entity.Entity
    changeDimension(net.minecraft.server.level.ServerLevel destination, net.minecraftforge.common.util.ITeleporter teleporter)
     
    boolean
    clientControl(net.minecraft.core.BlockPos controlsLocalPos, Collection<Integer> heldControls, net.minecraft.world.entity.player.Player player)
     
    boolean
    collidesWithBlocks(net.minecraft.core.Direction dir)
     
    boolean
    control(net.minecraft.core.BlockPos controlsLocalPos, Collection<Integer> heldControls, net.minecraft.world.entity.player.Player player)
     
    create(net.minecraft.world.level.Level world, com.simibubi.create.content.contraptions.Contraption contraption)
     
    net.minecraft.world.item.ItemStack
     
    void
     
     
    net.minecraft.network.chat.Component
     
    List<net.minecraft.world.entity.Entity>
     
    int
     
    com.simibubi.create.content.contraptions.AbstractContraptionEntity.ContraptionRotationState
     
    double
     
    protected float
     
    static void
     
    protected void
    handleStallInformation(double x, double y, double z, float angle)
     
    static void
     
    boolean
     
    static boolean
    isCollidingWithWorld(net.minecraft.world.level.Level world, RocketContraption contraption, net.minecraft.core.BlockPos anchor, net.minecraft.core.Direction movementDirection)
     
    boolean
     
    void
    lerpTo(double x, double y, double z, float yw, float pt, int inc, boolean t)
     
    void
    lockEntity(net.minecraft.world.entity.Entity passenger, int ticks)
    Add a soft-release entry, to lock the player in for a few ticks (This should happen on the server side)
    protected com.simibubi.create.content.contraptions.StructureTransform
     
    void
    positionRider(net.minecraft.world.entity.Entity passenger, net.minecraft.world.entity.Entity.MoveFunction callback)
     
    protected void
    readAdditional(net.minecraft.nbt.CompoundTag compound, boolean spawnData)
     
    void
    removePassenger(net.minecraft.world.entity.Entity passenger)
     
    net.minecraft.world.phys.Vec3
    reverseRotation(net.minecraft.world.phys.Vec3 localPos, float partialTicks)
     
    boolean
    startControlling(net.minecraft.core.BlockPos controlsLocalPos, net.minecraft.world.entity.player.Player player)
     
    void
     
    void
     
    void
    teleportTo(double x, double y, double z)
     
    protected void
     
    protected void
    writeAdditional(net.minecraft.nbt.CompoundTag compound, boolean spawnPacket)
     

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

    addAdditionalSaveData, addSittingPassenger, alignPassenger, build, canAddPassenger, canCollideWith, collisionEnabled, contraptionInitialize, defineSynchedData, doWaterSplashEffect, getAddEntityPacket, getAnchorVec, getContactPointMotion, getControllingPlayer, getDismountLocationForPassenger, getPassengerPosition, getPistonPushReaction, getPrevAnchorVec, getPrevPositionVec, getYawOffset, handleBlockChange, handlePlayerInteraction, hasExactlyOnePlayerPassenger, hurt, isActorActive, isAliveOrStale, isPickable, isReadyForRender, isStalled, kill, move, move, onBelowWorld, onContraptionStalled, onRemovedFromWorld, pitchFromVector, readAdditionalSaveData, readSpawnData, refreshPSIs, registerColliding, remove, saveWithoutId, setBlock, setContraption, setContraptionMotion, setControllingPlayer, setDeltaMovement, setPos, setSecondsOnFire, shouldActorTrigger, stopControlling, supportsTerrainCollision, tick, tickActors, toGlobalVector, toGlobalVector, toLocalVector, toLocalVector, updateInWaterStateAndDoFluidPushing, writeSpawnData, yawFromVector

    Methods inherited from class net.minecraft.world.entity.Entity

    absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, animateHurt, awardKillScore, baseTick, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canBeCollidedWith, canBeHitByProjectile, canChangeDimensions, canEnterPose, canFreeze, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, causeFallDamage, checkBelowWorld, checkDespawn, checkFallDamage, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAirSupply, getAllSlots, getArmorSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockSpeedFactor, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getBoundingBoxForCulling, getBoundingBoxForPose, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensions, getDimensionsForge, getDirection, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getHandSlots, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getMyRidingOffset, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPassengersRidingOffset, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPickResult, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRelativePortalPosition, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSlot, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getViewYRot, getVisualRotationYInDegrees, getX, getX, getXRot, getY, getY, getYHeadRot, getYRot, getZ, getZ, handleDamageEvent, handleEntityEvent, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlive, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCurrentlyGlowing, isCustomNameVisible, isDescending, isDiscrete, isEffectiveAi, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWall, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushable, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, isVisuallySwimming, killedEntity, lavaHurt, lerpHeadTo, lerpMotion, level, limitPistonMovement, load, lookAt, makeBoundingBox, makeStuckInBlock, markHurt, maxUpStep, maybeBackOffFromEdge, mayInteract, mirror, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onSyncedDataUpdated, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, processFlappingMovement, processPortalCooldown, push, push, reapplyPosition, recreateFromPacket, refreshDimensions, removeAfterChangingDimensions, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rideTick, rotate, save, saveAsPassenger, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setItemSlot, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSprinting, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYBodyRot, setYHeadRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, shouldShowName, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopRiding, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateSwimming, waterSwimSound

    Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.commands.CommandSource

    alwaysAccepts

    Methods inherited from interface dev.latvian.mods.kubejs.core.EntityKJS

    kjs$attack, kjs$getBlock, kjs$getDisplayName, kjs$getDistance, kjs$getDistance, kjs$getDistanceSq, kjs$getFacing, kjs$getItem, kjs$getLevel, kjs$getMotionX, kjs$getMotionY, kjs$getMotionZ, kjs$getName, kjs$getNbt, kjs$getPassengers, kjs$getProfile, kjs$getRawPersistentData, kjs$getScriptType, kjs$getServer, kjs$getTeamId, kjs$getType, kjs$isAmbientCreature, kjs$isAnimal, kjs$isFrame, kjs$isLiving, kjs$isMonster, kjs$isOnScoreboardTeam, kjs$isPeacefulCreature, kjs$isPlayer, kjs$isWaterCreature, kjs$mergeNbt, kjs$playSound, kjs$playSound, kjs$rayTrace, kjs$rayTrace, kjs$runCommand, kjs$runCommandSilent, kjs$self, kjs$setMotionX, kjs$setMotionY, kjs$setMotionZ, kjs$setNbt, kjs$setPosition, kjs$setPosition, kjs$setPositionAndRotation, kjs$setRawPersistentData, kjs$setRotation, kjs$setX, kjs$setY, kjs$setZ, kjs$spawn, kjs$teleportTo, kjs$tell

    Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability, getCapability

    Methods inherited from interface net.minecraftforge.entity.IEntityAdditionalSpawnData

    readSpawnData, writeSpawnData

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity

    canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canSwimInFluidType, deserializeNBT, getClassification, getEyeHeightForge, getFluidFallDistanceModifier, getFluidMotionScale, getParts, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoating

    Methods inherited from interface dev.latvian.mods.kubejs.core.MessageSenderKJS

    kjs$setStatusMessage

    Methods inherited from interface dev.latvian.mods.kubejs.core.WithPersistentData

    kjs$getPersistentData
  • Field Details

    • LAUNCH_COUNTDOWN_TICKS

      public static final int LAUNCH_COUNTDOWN_TICKS
      See Also:
    • auto_land_mode

      public boolean auto_land_mode
    • launchingMode

      public boolean launchingMode
    • landingMode

      public boolean landingMode
    • isInFlight

      public boolean isInFlight
    • blasting

      public boolean blasting
    • slowing

      public boolean slowing
    • hasExploded

      public boolean hasExploded
    • isUsingTicket

      public boolean isUsingTicket
    • owner

      public net.minecraft.world.entity.player.Player owner
    • ownerID

      public UUID ownerID
    • lift_vel

      public float lift_vel
    • final_lift_vel

      public float final_lift_vel
    • home

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> home
    • destination

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> destination
    • entityLockMap

      public Map<UUID,EntityLockPacket.LockInfo> entityLockMap
  • Constructor Details

    • RocketContraptionEntity

      public RocketContraptionEntity(net.minecraft.world.entity.EntityType<?> entityTypeIn, net.minecraft.world.level.Level worldIn)
  • Method Details

    • create

      public static RocketContraptionEntity create(net.minecraft.world.level.Level world, com.simibubi.create.content.contraptions.Contraption contraption)
    • disassemble

      public void disassemble()
      Overrides:
      disassemble in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • tickContraption

      protected void tickContraption()
      Specified by:
      tickContraption in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • lockEntity

      public void lockEntity(net.minecraft.world.entity.Entity passenger, int ticks)
      Add a soft-release entry, to lock the player in for a few ticks (This should happen on the server side)
    • changeDimension

      @Nullable public @Nullable net.minecraft.world.entity.Entity changeDimension(net.minecraft.server.level.ServerLevel destination)
      Overrides:
      changeDimension in class net.minecraft.world.entity.Entity
    • changeDimension

      @Nullable public @Nullable net.minecraft.world.entity.Entity changeDimension(net.minecraft.server.level.ServerLevel destination, net.minecraftforge.common.util.ITeleporter teleporter)
      Overrides:
      changeDimension in class net.minecraft.world.entity.Entity
    • handleSyncPacket

      public static void handleSyncPacket(RocketContraptionSyncPacket packet)
    • handleQuickSyncPacket

      public static void handleQuickSyncPacket(RocketContraptionQuickSyncPacket packet)
    • createReturnTicket

      public net.minecraft.world.item.ItemStack createReturnTicket()
    • startLanding

      public void startLanding()
    • getContraptionName

      public net.minecraft.network.chat.Component getContraptionName()
      Overrides:
      getContraptionName in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • startControlling

      public boolean startControlling(net.minecraft.core.BlockPos controlsLocalPos, net.minecraft.world.entity.player.Player player)
      Overrides:
      startControlling in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • collidesWithBlocks

      public boolean collidesWithBlocks(net.minecraft.core.Direction dir)
    • isCollidingWithWorld

      public static boolean isCollidingWithWorld(net.minecraft.world.level.Level world, RocketContraption contraption, net.minecraft.core.BlockPos anchor, net.minecraft.core.Direction movementDirection)
    • control

      public boolean control(net.minecraft.core.BlockPos controlsLocalPos, Collection<Integer> heldControls, net.minecraft.world.entity.player.Player player)
      Overrides:
      control in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • startLaunchSequence

      public void startLaunchSequence()
    • cancelLaunch

      public void cancelLaunch()
    • clientControl

      public boolean clientControl(net.minecraft.core.BlockPos controlsLocalPos, Collection<Integer> heldControls, net.minecraft.world.entity.player.Player player)
    • isInFlight

      public boolean isInFlight()
    • isActiveLaunch

      public boolean isActiveLaunch()
    • getLaunchTime

      public int getLaunchTime()
    • getSlowdownHeightThreshold

      public double getSlowdownHeightThreshold()
    • getEntitiesWithinContraption

      public List<net.minecraft.world.entity.Entity> getEntitiesWithinContraption()
    • getContraption

      public RocketContraption getContraption()
      Overrides:
      getContraption in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • writeAdditional

      protected void writeAdditional(net.minecraft.nbt.CompoundTag compound, boolean spawnPacket)
      Overrides:
      writeAdditional in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • readAdditional

      protected void readAdditional(net.minecraft.nbt.CompoundTag compound, boolean spawnData)
      Overrides:
      readAdditional in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • applyRotation

      public net.minecraft.world.phys.Vec3 applyRotation(net.minecraft.world.phys.Vec3 localPos, float partialTicks)
      Specified by:
      applyRotation in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • reverseRotation

      public net.minecraft.world.phys.Vec3 reverseRotation(net.minecraft.world.phys.Vec3 localPos, float partialTicks)
      Specified by:
      reverseRotation in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • makeStructureTransform

      protected com.simibubi.create.content.contraptions.StructureTransform makeStructureTransform()
      Specified by:
      makeStructureTransform in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • getStalledAngle

      protected float getStalledAngle()
      Specified by:
      getStalledAngle in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • teleportTo

      public void teleportTo(double x, double y, double z)
      Overrides:
      teleportTo in class net.minecraft.world.entity.Entity
    • lerpTo

      public void lerpTo(double x, double y, double z, float yw, float pt, int inc, boolean t)
      Overrides:
      lerpTo in class net.minecraft.world.entity.Entity
    • handleStallInformation

      protected void handleStallInformation(double x, double y, double z, float angle)
      Specified by:
      handleStallInformation in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • getRotationState

      public com.simibubi.create.content.contraptions.AbstractContraptionEntity.ContraptionRotationState getRotationState()
      Specified by:
      getRotationState in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • applyLocalTransforms

      public void applyLocalTransforms(com.mojang.blaze3d.vertex.PoseStack matrixStack, float partialTicks)
      Specified by:
      applyLocalTransforms in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • positionRider

      public void positionRider(net.minecraft.world.entity.Entity passenger, net.minecraft.world.entity.Entity.MoveFunction callback)
      Overrides:
      positionRider in class com.simibubi.create.content.contraptions.AbstractContraptionEntity
    • removePassenger

      public void removePassenger(net.minecraft.world.entity.Entity passenger)
      Overrides:
      removePassenger in class com.simibubi.create.content.contraptions.AbstractContraptionEntity