Class AbstractContraptionEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity
- All Implemented Interfaces:
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
- Direct Known Subclasses:
ControlledContraptionEntity,GantryContraptionEntity,OrientedContraptionEntity
public abstract class AbstractContraptionEntity
extends net.minecraft.world.entity.Entity
implements net.minecraftforge.entity.IEntityAdditionalSpawnData
-
Nested Class Summary
Nested ClassesNested 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.RemovalReasonNested 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
FieldsModifier and TypeFieldDescriptionfinal Map<net.minecraft.world.entity.Entity,org.apache.commons.lang3.mutable.MutableInt> protected Contraptionprotected booleanprotected booleanintFields 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, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, level, MAX_ENTITY_TAG_COUNT, maxUpStep, minorHorizontalCollision, moveDist, noCulling, noPhysics, onGround, PASSENGERS_TAG, portalEntrancePos, portalTime, random, removalReason, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOldFields inherited from interface net.minecraft.commands.CommandSource
NULL -
Constructor Summary
ConstructorsConstructorDescriptionAbstractContraptionEntity(net.minecraft.world.entity.EntityType<?> entityTypeIn, net.minecraft.world.level.Level worldIn) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) voidaddSittingPassenger(net.minecraft.world.entity.Entity passenger, int seatIndex) voidalignPassenger(net.minecraft.world.entity.Entity passenger) abstract net.minecraft.world.phys.Vec3applyRotation(net.minecraft.world.phys.Vec3 localPos, float partialTicks) static net.minecraft.world.entity.EntityType.Builder<?>build(net.minecraft.world.entity.EntityType.Builder<?> builder) protected booleancanAddPassenger(net.minecraft.world.entity.Entity p_184219_1_) booleancanCollideWith(net.minecraft.world.entity.Entity e) booleanprotected voidbooleancontrol(net.minecraft.core.BlockPos controlsLocalPos, Collection<Integer> heldControls, net.minecraft.world.entity.player.Player player) protected voidvoidabstract voiddoLocalTransforms(float partialTicks, com.mojang.blaze3d.vertex.PoseStack[] matrixStacks) protected voidnet.minecraft.network.protocol.Packet<?>net.minecraft.world.phys.Vec3net.minecraft.world.phys.Vec3getContactPointMotion(net.minecraft.world.phys.Vec3 globalContactPoint) net.minecraft.network.chat.Componentnet.minecraft.world.phys.Vec3getDismountLocationForPassenger(net.minecraft.world.entity.LivingEntity pLivingEntity) protected net.minecraft.world.phys.Vec3getPassengerPosition(net.minecraft.world.entity.Entity passenger, float partialTicks) net.minecraft.world.level.material.PushReactionnet.minecraft.world.phys.Vec3protected abstract floatfloatprotected voidhandleBlockChange(net.minecraft.core.BlockPos localPos, net.minecraft.world.level.block.state.BlockState newState) booleanhandlePlayerInteraction(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos localPos, net.minecraft.core.Direction side, net.minecraft.world.InteractionHand interactionHand) protected abstract voidhandleStallInformation(float x, float y, float z, float angle) booleanbooleanhurt(net.minecraft.world.damagesource.DamageSource source, float amount) protected booleanisActorActive(MovementContext context, MovementBehaviour actor) booleanbooleanbooleanbooleanvoidkill()protected abstract StructureTransformvoidmove(double x, double y, double z) protected voidvoidprotected voidstatic floatpitchFromVector(net.minecraft.world.phys.Vec3 vec) voidpositionRider(net.minecraft.world.entity.Entity passenger, net.minecraft.world.entity.Entity.MoveFunction callback) protected voidreadAdditional(net.minecraft.nbt.CompoundTag compound, boolean spawnData) protected final voidreadAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) voidreadSpawnData(net.minecraft.network.FriendlyByteBuf additionalData) voidvoidremove(net.minecraft.world.entity.Entity.RemovalReason p_146834_) protected voidremovePassenger(net.minecraft.world.entity.Entity passenger) abstract net.minecraft.world.phys.Vec3reverseRotation(net.minecraft.world.phys.Vec3 localPos, float partialTicks) net.minecraft.nbt.CompoundTagsaveWithoutId(net.minecraft.nbt.CompoundTag nbt) voidsetBlock(net.minecraft.core.BlockPos localPos, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo newInfo) protected voidsetContraption(Contraption contraption) voidsetContraptionMotion(net.minecraft.world.phys.Vec3 vec) voidsetControllingPlayer(UUID playerId) voidsetDeltaMovement(net.minecraft.world.phys.Vec3 motionIn) voidsetPos(double x, double y, double z) voidsetSecondsOnFire(int p_70015_1_) protected booleanshouldActorTrigger(MovementContext context, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo blockInfo, MovementBehaviour actor, net.minecraft.world.phys.Vec3 actorPosition, net.minecraft.core.BlockPos gridPosition) booleanstartControlling(net.minecraft.core.BlockPos controlsLocalPos, net.minecraft.world.entity.player.Player player) voidstopControlling(net.minecraft.core.BlockPos controlsLocalPos) booleanvoidtick()voidprotected abstract voidnet.minecraft.world.phys.Vec3toGlobalVector(net.minecraft.world.phys.Vec3 localVec, float partialTicks) net.minecraft.world.phys.Vec3toLocalVector(net.minecraft.world.phys.Vec3 globalVec, float partialTicks) protected booleanprotected voidwriteAdditional(net.minecraft.nbt.CompoundTag compound, boolean spawnPacket) voidwriteSpawnData(net.minecraft.network.FriendlyByteBuf buffer) static floatyawFromVector(net.minecraft.world.phys.Vec3 vec) Methods inherited from class net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, animateHurt, awardKillScore, baseTick, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canBeCollidedWith, canChangeDimensions, canEnterPose, canFreeze, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, causeFallDamage, changeDimension, changeDimension, checkDespawn, checkFallDamage, checkInsideBlocks, checkOutOfWorld, chunkPosition, clearFire, closerThan, collideBoundingBox, copyPosition, createCommandSourceStack, createHoverEvent, discard, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, ejectPassengers, equals, eyeBlockPosition, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, gameEvent, gameEvent, gameEvent, gameEvent, getAirSupply, getAllSlots, getArmorSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockSpeedFactor, getBlockStateOn, getBlockX, getBlockY, getBlockZ, getBoundingBox, getBoundingBoxForCulling, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensions, getDirection, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getForward, getGameEventListenerRegistrar, getHandHoldingItemAngle, getHandSlots, getId, getIndirectPassengers, getLeashOffset, getLevel, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMotionDirection, getMovementEmission, getMyRidingOffset, getName, getOnPos, getPacketCoordinates, getPassengers, getPassengersAndSelf, getPassengersRidingOffset, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPickResult, getPortalWaitTime, getPose, getPosition, 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, getX, getX, getXRot, getY, getY, getYHeadRot, getYRot, getZ, getZ, handleEntityEvent, handleInsidePortal, handleNetherPortal, hasCustomName, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlive, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCurrentlyGlowing, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWall, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushable, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, isVisuallySwimming, killed, lavaHurt, lerpHeadTo, lerpMotion, lerpTo, limitPistonMovement, load, lookAt, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, occludesVibrations, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onSyncedDataUpdated, pick, playEntityOnFireExtinguishedSound, playerTouch, playSound, playStepSound, playSwimSound, position, positionRider, processFlappingMovement, processPortalCooldown, push, push, reapplyPosition, recreateFromPacket, refreshDimensions, removeAfterChangingDimensions, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rideableUnderWater, rideTick, rotate, save, saveAsPassenger, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setItemSlot, setLevelCallback, setNoGravity, setOldPosAndRot, setOnGround, setPacketCoordinates, setPacketCoordinates, 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, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateFluidHeightAndDoFluidPushing, updateSwimmingMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSource
alwaysAcceptsMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getParts, getPickedResult, isMultipartEntity, serializeNBT, shouldRiderSit
-
Field Details
-
collidingEntities
public final Map<net.minecraft.world.entity.Entity,org.apache.commons.lang3.mutable.MutableInt> collidingEntities -
contraption
-
initialized
protected boolean initialized -
prevPosInvalid
protected boolean prevPosInvalid -
staleTicks
public int staleTicks
-
-
Constructor Details
-
AbstractContraptionEntity
public AbstractContraptionEntity(net.minecraft.world.entity.EntityType<?> entityTypeIn, net.minecraft.world.level.Level worldIn)
-
-
Method Details
-
setContraption
-
supportsTerrainCollision
public boolean supportsTerrainCollision() -
contraptionInitialize
protected void contraptionInitialize() -
collisionEnabled
public boolean collisionEnabled() -
addSittingPassenger
public void addSittingPassenger(net.minecraft.world.entity.Entity passenger, int seatIndex) -
removePassenger
protected void removePassenger(net.minecraft.world.entity.Entity passenger) - Overrides:
removePassengerin classnet.minecraft.world.entity.Entity
-
getDismountLocationForPassenger
public net.minecraft.world.phys.Vec3 getDismountLocationForPassenger(net.minecraft.world.entity.LivingEntity pLivingEntity) - Overrides:
getDismountLocationForPassengerin classnet.minecraft.world.entity.Entity
-
positionRider
public void positionRider(net.minecraft.world.entity.Entity passenger, net.minecraft.world.entity.Entity.MoveFunction callback) - Overrides:
positionRiderin classnet.minecraft.world.entity.Entity
-
getPassengerPosition
protected net.minecraft.world.phys.Vec3 getPassengerPosition(net.minecraft.world.entity.Entity passenger, float partialTicks) -
canAddPassenger
protected boolean canAddPassenger(net.minecraft.world.entity.Entity p_184219_1_) - Overrides:
canAddPassengerin classnet.minecraft.world.entity.Entity
-
getContraptionName
public net.minecraft.network.chat.Component getContraptionName() -
getControllingPlayer
-
setControllingPlayer
-
startControlling
public boolean startControlling(net.minecraft.core.BlockPos controlsLocalPos, net.minecraft.world.entity.player.Player player) -
control
public boolean control(net.minecraft.core.BlockPos controlsLocalPos, Collection<Integer> heldControls, net.minecraft.world.entity.player.Player player) -
stopControlling
public void stopControlling(net.minecraft.core.BlockPos controlsLocalPos) -
handlePlayerInteraction
public boolean handlePlayerInteraction(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos localPos, net.minecraft.core.Direction side, net.minecraft.world.InteractionHand interactionHand) -
toGlobalVector
public net.minecraft.world.phys.Vec3 toGlobalVector(net.minecraft.world.phys.Vec3 localVec, float partialTicks) -
toLocalVector
public net.minecraft.world.phys.Vec3 toLocalVector(net.minecraft.world.phys.Vec3 globalVec, float partialTicks) -
tick
public void tick()- Overrides:
tickin classnet.minecraft.world.entity.Entity
-
alignPassenger
public void alignPassenger(net.minecraft.world.entity.Entity passenger) -
setBlock
public void setBlock(net.minecraft.core.BlockPos localPos, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo newInfo) -
tickContraption
protected abstract void tickContraption() -
applyRotation
public abstract net.minecraft.world.phys.Vec3 applyRotation(net.minecraft.world.phys.Vec3 localPos, float partialTicks) -
reverseRotation
public abstract net.minecraft.world.phys.Vec3 reverseRotation(net.minecraft.world.phys.Vec3 localPos, float partialTicks) -
tickActors
public void tickActors() -
refreshPSIs
public void refreshPSIs() -
isActorActive
-
onContraptionStalled
protected void onContraptionStalled() -
shouldActorTrigger
protected boolean shouldActorTrigger(MovementContext context, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo blockInfo, MovementBehaviour actor, net.minecraft.world.phys.Vec3 actorPosition, net.minecraft.core.BlockPos gridPosition) -
move
public void move(double x, double y, double z) -
getAnchorVec
public net.minecraft.world.phys.Vec3 getAnchorVec() -
getYawOffset
public float getYawOffset() -
setPos
public void setPos(double x, double y, double z) - Overrides:
setPosin classnet.minecraft.world.entity.Entity
-
yawFromVector
public static float yawFromVector(net.minecraft.world.phys.Vec3 vec) -
pitchFromVector
public static float pitchFromVector(net.minecraft.world.phys.Vec3 vec) -
build
public static net.minecraft.world.entity.EntityType.Builder<?> build(net.minecraft.world.entity.EntityType.Builder<?> builder) -
defineSynchedData
protected void defineSynchedData()- Specified by:
defineSynchedDatain classnet.minecraft.world.entity.Entity
-
getAddEntityPacket
public net.minecraft.network.protocol.Packet<?> getAddEntityPacket()- Specified by:
getAddEntityPacketin classnet.minecraft.world.entity.Entity
-
writeSpawnData
public void writeSpawnData(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
writeSpawnDatain interfacenet.minecraftforge.entity.IEntityAdditionalSpawnData
-
addAdditionalSaveData
protected final void addAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) - Specified by:
addAdditionalSaveDatain classnet.minecraft.world.entity.Entity
-
writeAdditional
protected void writeAdditional(net.minecraft.nbt.CompoundTag compound, boolean spawnPacket) -
readSpawnData
public void readSpawnData(net.minecraft.network.FriendlyByteBuf additionalData) - Specified by:
readSpawnDatain interfacenet.minecraftforge.entity.IEntityAdditionalSpawnData
-
readAdditionalSaveData
protected final void readAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) - Specified by:
readAdditionalSaveDatain classnet.minecraft.world.entity.Entity
-
readAdditional
protected void readAdditional(net.minecraft.nbt.CompoundTag compound, boolean spawnData) -
disassemble
public void disassemble() -
remove
public void remove(net.minecraft.world.entity.Entity.RemovalReason p_146834_) - Overrides:
removein classnet.minecraft.world.entity.Entity
-
makeStructureTransform
-
kill
public void kill()- Overrides:
killin classnet.minecraft.world.entity.Entity
-
outOfWorld
protected void outOfWorld()- Overrides:
outOfWorldin classnet.minecraft.world.entity.Entity
-
onRemovedFromWorld
public void onRemovedFromWorld()- Specified by:
onRemovedFromWorldin interfacenet.minecraftforge.common.extensions.IForgeEntity- Overrides:
onRemovedFromWorldin classnet.minecraft.world.entity.Entity
-
doWaterSplashEffect
protected void doWaterSplashEffect()- Overrides:
doWaterSplashEffectin classnet.minecraft.world.entity.Entity
-
getContraption
-
isStalled
public boolean isStalled() -
getStalledAngle
protected abstract float getStalledAngle() -
handleStallInformation
protected abstract void handleStallInformation(float x, float y, float z, float angle) -
handleBlockChange
protected void handleBlockChange(net.minecraft.core.BlockPos localPos, net.minecraft.world.level.block.state.BlockState newState) -
saveWithoutId
public net.minecraft.nbt.CompoundTag saveWithoutId(net.minecraft.nbt.CompoundTag nbt) - Overrides:
saveWithoutIdin classnet.minecraft.world.entity.Entity
-
setDeltaMovement
public void setDeltaMovement(net.minecraft.world.phys.Vec3 motionIn) - Overrides:
setDeltaMovementin classnet.minecraft.world.entity.Entity
-
getPistonPushReaction
public net.minecraft.world.level.material.PushReaction getPistonPushReaction()- Overrides:
getPistonPushReactionin classnet.minecraft.world.entity.Entity
-
setContraptionMotion
public void setContraptionMotion(net.minecraft.world.phys.Vec3 vec) -
isPickable
public boolean isPickable()- Overrides:
isPickablein classnet.minecraft.world.entity.Entity
-
hurt
public boolean hurt(net.minecraft.world.damagesource.DamageSource source, float amount) - Overrides:
hurtin classnet.minecraft.world.entity.Entity
-
getPrevPositionVec
public net.minecraft.world.phys.Vec3 getPrevPositionVec() -
getRotationState
-
getContactPointMotion
public net.minecraft.world.phys.Vec3 getContactPointMotion(net.minecraft.world.phys.Vec3 globalContactPoint) -
canCollideWith
public boolean canCollideWith(net.minecraft.world.entity.Entity e) - Overrides:
canCollideWithin classnet.minecraft.world.entity.Entity
-
hasExactlyOnePlayerPassenger
public boolean hasExactlyOnePlayerPassenger()- Overrides:
hasExactlyOnePlayerPassengerin classnet.minecraft.world.entity.Entity
-
doLocalTransforms
public abstract void doLocalTransforms(float partialTicks, com.mojang.blaze3d.vertex.PoseStack[] matrixStacks) -
updateInWaterStateAndDoFluidPushing
protected boolean updateInWaterStateAndDoFluidPushing()- Overrides:
updateInWaterStateAndDoFluidPushingin classnet.minecraft.world.entity.Entity
-
setSecondsOnFire
public void setSecondsOnFire(int p_70015_1_) - Overrides:
setSecondsOnFirein classnet.minecraft.world.entity.Entity
-
isReadyForRender
public boolean isReadyForRender() -
isAliveOrStale
public boolean isAliveOrStale()
-