Class DisplayEntity
- All Implemented Interfaces:
ComponentsAccess
,DataTracked
,ScoreHolder
,Nameable
,EntityLike
,UniquelyIdentifiable
- Direct Known Subclasses:
DisplayEntity.BlockDisplayEntity
,DisplayEntity.ItemDisplayEntity
,DisplayEntity.TextDisplayEntity
- Mappings:
Namespace Name named net/minecraft/entity/decoration/DisplayEntity
intermediary net/minecraft/class_8113
official bzj
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
private static final record
private static final record
static enum
static class
static interface
private static final record
static interface
private static final record
static class
static final record
static class
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData
<Byte> static final String
private static final TrackedData
<Integer> static final String
private static final int
private static final int
private static final float
private static final float
private static final int
static final int
private static final int
private static final float
private static final float
private static final float
private static final TrackedData
<Integer> static final String
private static final TrackedData
<Float> static final String
private static final TrackedData
<Integer> static final String
private int
private boolean
private long
private final PositionInterpolator
private static final TrackedData
<Quaternionf> private float
(package private) static final Logger
private static final IntSet
protected boolean
private @Nullable DisplayEntity.RenderState
private static final TrackedData
<Quaternionf> private static final TrackedData
<Vector3f> private static final TrackedData
<Float> static final String
private static final TrackedData
<Float> static final String
private static final TrackedData
<Integer> static final String
private boolean
private static final TrackedData
<Integer> static final String
private boolean
static final String
private static final TrackedData
<Vector3f> private static final TrackedData
<Float> static final String
private Box
private static final TrackedData
<Float> static final String
Fields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the entity cannot trigger pressure plates or tripwires.private DisplayEntity.RenderState
final boolean
damage
(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.private DisplayEntity.BillboardMode
private int
private @Nullable Brightness
private float
private float
private int
private int
private DisplayEntity.RenderState
getLerpedRenderState
(DisplayEntity.RenderState state, float lerpProgress) float
getLerpProgress
(float tickProgress) Returns the behavior of the piston for this entity.private float
private float
private int
int
Returns the team color value, or0xFFFFFF
if the entity is not in a team or the color is not set.private int
private static AffineTransformation
getTransformation
(DataTracker dataTracker) private float
protected void
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.protected void
readCustomData
(ReadView view) protected abstract void
refreshData
(boolean shouldLerp, float lerpProgress) private void
setBillboardMode
(DisplayEntity.BillboardMode billboardMode) private void
setBrightness
(@Nullable Brightness brightness) private void
setDisplayHeight
(float height) private void
setDisplayWidth
(float width) private void
setGlowColorOverride
(int glowColorOverride) private void
setInterpolationDuration
(int interpolationDuration) void
setPosition
(double x, double y, double z) Sets the position and refreshes the bounding box.private void
setShadowRadius
(float shadowRadius) private void
setShadowStrength
(float shadowStrength) private void
setStartInterpolation
(int startInterpolation) private void
setTeleportDuration
(int teleportDuration) private void
setTransformation
(AffineTransformation transformation) private void
setViewRange
(float viewRange) boolean
boolean
shouldRender
(double distance) void
tick()
Ticks this entity.private void
protected void
writeCustomData
(WriteView view) Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canActVoluntarily, canAddPassenger, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, castComponentValue, changeLookDirection, checkDespawn, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, fall, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyYaw, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGravity, getHandPosOffset, getHeadYaw, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPickBlockStack, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getWeaponStack, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFall, handleFallDamage, handleFallDamageForPassengers, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interact, interactAt, isAlive, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInSneakingPose, isInSwimmingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBodyYaw, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTyped
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/entity/decoration/DisplayEntity;LOGGER:Lorg/slf4j/Logger;
intermediary field_42397
Lnet/minecraft/class_8113;field_42397:Lorg/slf4j/Logger;
official o
Lbzj;o:Lorg/slf4j/Logger;
-
field_42384
public static final int field_42384- See Also:
- Mappings:
Namespace Name Mixin selector named field_42384
Lnet/minecraft/entity/decoration/DisplayEntity;field_42384:I
intermediary field_42384
Lnet/minecraft/class_8113;field_42384:I
official a
Lbzj;a:I
-
START_INTERPOLATION
- Mappings:
Namespace Name Mixin selector named START_INTERPOLATION
Lnet/minecraft/entity/decoration/DisplayEntity;START_INTERPOLATION:Lnet/minecraft/entity/data/TrackedData;
intermediary field_45112
Lnet/minecraft/class_8113;field_45112:Lnet/minecraft/class_2940;
official p
Lbzj;p:Lalh;
-
INTERPOLATION_DURATION
- Mappings:
Namespace Name Mixin selector named INTERPOLATION_DURATION
Lnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION:Lnet/minecraft/entity/data/TrackedData;
intermediary field_45113
Lnet/minecraft/class_8113;field_45113:Lnet/minecraft/class_2940;
official q
Lbzj;q:Lalh;
-
TELEPORT_DURATION
- Mappings:
Namespace Name Mixin selector named TELEPORT_DURATION
Lnet/minecraft/entity/decoration/DisplayEntity;TELEPORT_DURATION:Lnet/minecraft/entity/data/TrackedData;
intermediary field_45114
Lnet/minecraft/class_8113;field_45114:Lnet/minecraft/class_2940;
official r
Lbzj;r:Lalh;
-
TRANSLATION
- Mappings:
Namespace Name Mixin selector named TRANSLATION
Lnet/minecraft/entity/decoration/DisplayEntity;TRANSLATION:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42401
Lnet/minecraft/class_8113;field_42401:Lnet/minecraft/class_2940;
official s
Lbzj;s:Lalh;
-
SCALE
- Mappings:
Namespace Name Mixin selector named SCALE
Lnet/minecraft/entity/decoration/DisplayEntity;SCALE:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42402
Lnet/minecraft/class_8113;field_42402:Lnet/minecraft/class_2940;
official t
Lbzj;t:Lalh;
-
LEFT_ROTATION
- Mappings:
Namespace Name Mixin selector named LEFT_ROTATION
Lnet/minecraft/entity/decoration/DisplayEntity;LEFT_ROTATION:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42403
Lnet/minecraft/class_8113;field_42403:Lnet/minecraft/class_2940;
official u
Lbzj;u:Lalh;
-
RIGHT_ROTATION
- Mappings:
Namespace Name Mixin selector named RIGHT_ROTATION
Lnet/minecraft/entity/decoration/DisplayEntity;RIGHT_ROTATION:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42367
Lnet/minecraft/class_8113;field_42367:Lnet/minecraft/class_2940;
official aM
Lbzj;aM:Lalh;
-
BILLBOARD
- Mappings:
Namespace Name Mixin selector named BILLBOARD
Lnet/minecraft/entity/decoration/DisplayEntity;BILLBOARD:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42368
Lnet/minecraft/class_8113;field_42368:Lnet/minecraft/class_2940;
official aN
Lbzj;aN:Lalh;
-
BRIGHTNESS
- Mappings:
Namespace Name Mixin selector named BRIGHTNESS
Lnet/minecraft/entity/decoration/DisplayEntity;BRIGHTNESS:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42369
Lnet/minecraft/class_8113;field_42369:Lnet/minecraft/class_2940;
official aO
Lbzj;aO:Lalh;
-
VIEW_RANGE
- Mappings:
Namespace Name Mixin selector named VIEW_RANGE
Lnet/minecraft/entity/decoration/DisplayEntity;VIEW_RANGE:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42370
Lnet/minecraft/class_8113;field_42370:Lnet/minecraft/class_2940;
official aP
Lbzj;aP:Lalh;
-
SHADOW_RADIUS
- Mappings:
Namespace Name Mixin selector named SHADOW_RADIUS
Lnet/minecraft/entity/decoration/DisplayEntity;SHADOW_RADIUS:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42371
Lnet/minecraft/class_8113;field_42371:Lnet/minecraft/class_2940;
official aQ
Lbzj;aQ:Lalh;
-
SHADOW_STRENGTH
- Mappings:
Namespace Name Mixin selector named SHADOW_STRENGTH
Lnet/minecraft/entity/decoration/DisplayEntity;SHADOW_STRENGTH:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42372
Lnet/minecraft/class_8113;field_42372:Lnet/minecraft/class_2940;
official aR
Lbzj;aR:Lalh;
-
WIDTH
- Mappings:
Namespace Name Mixin selector named WIDTH
Lnet/minecraft/entity/decoration/DisplayEntity;WIDTH:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42373
Lnet/minecraft/class_8113;field_42373:Lnet/minecraft/class_2940;
official aS
Lbzj;aS:Lalh;
-
HEIGHT
- Mappings:
Namespace Name Mixin selector named HEIGHT
Lnet/minecraft/entity/decoration/DisplayEntity;HEIGHT:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42374
Lnet/minecraft/class_8113;field_42374:Lnet/minecraft/class_2940;
official aT
Lbzj;aT:Lalh;
-
GLOW_COLOR_OVERRIDE
- Mappings:
Namespace Name Mixin selector named GLOW_COLOR_OVERRIDE
Lnet/minecraft/entity/decoration/DisplayEntity;GLOW_COLOR_OVERRIDE:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42375
Lnet/minecraft/class_8113;field_42375:Lnet/minecraft/class_2940;
official aU
Lbzj;aU:Lalh;
-
RENDERING_DATA_IDS
- Mappings:
Namespace Name Mixin selector named RENDERING_DATA_IDS
Lnet/minecraft/entity/decoration/DisplayEntity;RENDERING_DATA_IDS:Lit/unimi/dsi/fastutil/ints/IntSet;
intermediary field_43180
Lnet/minecraft/class_8113;field_43180:Lit/unimi/dsi/fastutil/ints/IntSet;
official aV
Lbzj;aV:Lit/unimi/dsi/fastutil/ints/IntSet;
-
DEFAULT_INTERPOLATION_DURATION
private static final int DEFAULT_INTERPOLATION_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_INTERPOLATION_DURATION
Lnet/minecraft/entity/decoration/DisplayEntity;DEFAULT_INTERPOLATION_DURATION:I
intermediary field_57573
Lnet/minecraft/class_8113;field_57573:I
official aW
Lbzj;aW:I
-
DEFAULT_START_INTERPOLATION
private static final int DEFAULT_START_INTERPOLATION- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_START_INTERPOLATION
Lnet/minecraft/entity/decoration/DisplayEntity;DEFAULT_START_INTERPOLATION:I
intermediary field_57574
Lnet/minecraft/class_8113;field_57574:I
official aX
Lbzj;aX:I
-
field_56423
private static final int field_56423- See Also:
- Mappings:
Namespace Name Mixin selector named field_56423
Lnet/minecraft/entity/decoration/DisplayEntity;field_56423:I
intermediary field_56423
Lnet/minecraft/class_8113;field_56423:I
official aY
Lbzj;aY:I
-
field_42376
private static final float field_42376- See Also:
- Mappings:
Namespace Name Mixin selector named field_42376
Lnet/minecraft/entity/decoration/DisplayEntity;field_42376:F
intermediary field_42376
Lnet/minecraft/class_8113;field_42376:F
official aZ
Lbzj;aZ:F
-
field_42377
private static final float field_42377- See Also:
- Mappings:
Namespace Name Mixin selector named field_42377
Lnet/minecraft/entity/decoration/DisplayEntity;field_42377:F
intermediary field_42377
Lnet/minecraft/class_8113;field_42377:F
official ba
Lbzj;ba:F
-
field_57575
private static final float field_57575- See Also:
- Mappings:
Namespace Name Mixin selector named field_57575
Lnet/minecraft/entity/decoration/DisplayEntity;field_57575:F
intermediary field_57575
Lnet/minecraft/class_8113;field_57575:F
official bb
Lbzj;bb:F
-
field_57576
private static final float field_57576- See Also:
- Mappings:
Namespace Name Mixin selector named field_57576
Lnet/minecraft/entity/decoration/DisplayEntity;field_57576:F
intermediary field_57576
Lnet/minecraft/class_8113;field_57576:F
official bc
Lbzj;bc:F
-
field_57577
private static final float field_57577- See Also:
- Mappings:
Namespace Name Mixin selector named field_57577
Lnet/minecraft/entity/decoration/DisplayEntity;field_57577:F
intermediary field_57577
Lnet/minecraft/class_8113;field_57577:F
official bd
Lbzj;bd:F
-
field_42378
private static final int field_42378- See Also:
- Mappings:
Namespace Name Mixin selector named field_42378
Lnet/minecraft/entity/decoration/DisplayEntity;field_42378:I
intermediary field_42378
Lnet/minecraft/class_8113;field_42378:I
official be
Lbzj;be:I
-
TELEPORT_DURATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named TELEPORT_DURATION_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;TELEPORT_DURATION_KEY:Ljava/lang/String;
intermediary field_45109
Lnet/minecraft/class_8113;field_45109:Ljava/lang/String;
official b
Lbzj;b:Ljava/lang/String;
-
INTERPOLATION_DURATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named INTERPOLATION_DURATION_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION_KEY:Ljava/lang/String;
intermediary field_45110
Lnet/minecraft/class_8113;field_45110:Ljava/lang/String;
official c
Lbzj;c:Ljava/lang/String;
-
START_INTERPOLATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named START_INTERPOLATION_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;START_INTERPOLATION_KEY:Ljava/lang/String;
intermediary field_45111
Lnet/minecraft/class_8113;field_45111:Ljava/lang/String;
official d
Lbzj;d:Ljava/lang/String;
-
TRANSFORMATION_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named TRANSFORMATION_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;TRANSFORMATION_NBT_KEY:Ljava/lang/String;
intermediary field_42387
Lnet/minecraft/class_8113;field_42387:Ljava/lang/String;
official e
Lbzj;e:Ljava/lang/String;
-
BILLBOARD_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BILLBOARD_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;BILLBOARD_NBT_KEY:Ljava/lang/String;
intermediary field_42388
Lnet/minecraft/class_8113;field_42388:Ljava/lang/String;
official f
Lbzj;f:Ljava/lang/String;
-
BRIGHTNESS_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BRIGHTNESS_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;BRIGHTNESS_NBT_KEY:Ljava/lang/String;
intermediary field_42389
Lnet/minecraft/class_8113;field_42389:Ljava/lang/String;
official g
Lbzj;g:Ljava/lang/String;
-
VIEW_RANGE_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named VIEW_RANGE_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;VIEW_RANGE_NBT_KEY:Ljava/lang/String;
intermediary field_42390
Lnet/minecraft/class_8113;field_42390:Ljava/lang/String;
official h
Lbzj;h:Ljava/lang/String;
-
SHADOW_RADIUS_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SHADOW_RADIUS_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;SHADOW_RADIUS_NBT_KEY:Ljava/lang/String;
intermediary field_42391
Lnet/minecraft/class_8113;field_42391:Ljava/lang/String;
official i
Lbzj;i:Ljava/lang/String;
-
SHADOW_STRENGTH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SHADOW_STRENGTH_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;SHADOW_STRENGTH_NBT_KEY:Ljava/lang/String;
intermediary field_42392
Lnet/minecraft/class_8113;field_42392:Ljava/lang/String;
official j
Lbzj;j:Ljava/lang/String;
-
WIDTH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named WIDTH_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;WIDTH_NBT_KEY:Ljava/lang/String;
intermediary field_42393
Lnet/minecraft/class_8113;field_42393:Ljava/lang/String;
official k
Lbzj;k:Ljava/lang/String;
-
HEIGHT_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HEIGHT_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;HEIGHT_NBT_KEY:Ljava/lang/String;
intermediary field_42394
Lnet/minecraft/class_8113;field_42394:Ljava/lang/String;
official l
Lbzj;l:Ljava/lang/String;
-
GLOW_COLOR_OVERRIDE_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named GLOW_COLOR_OVERRIDE_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity;GLOW_COLOR_OVERRIDE_NBT_KEY:Ljava/lang/String;
intermediary field_42395
Lnet/minecraft/class_8113;field_42395:Ljava/lang/String;
official m
Lbzj;m:Ljava/lang/String;
-
interpolationStart
private long interpolationStart- Mappings:
Namespace Name Mixin selector named interpolationStart
Lnet/minecraft/entity/decoration/DisplayEntity;interpolationStart:J
intermediary field_42620
Lnet/minecraft/class_8113;field_42620:J
official bf
Lbzj;bf:J
-
interpolationDuration
private int interpolationDuration- Mappings:
Namespace Name Mixin selector named interpolationDuration
Lnet/minecraft/entity/decoration/DisplayEntity;interpolationDuration:I
intermediary field_43181
Lnet/minecraft/class_8113;field_43181:I
official bg
Lbzj;bg:I
-
lerpProgress
private float lerpProgress- Mappings:
Namespace Name Mixin selector named lerpProgress
Lnet/minecraft/entity/decoration/DisplayEntity;lerpProgress:F
intermediary field_43135
Lnet/minecraft/class_8113;field_43135:F
official bh
Lbzj;bh:F
-
visibilityBoundingBox
- Mappings:
Namespace Name Mixin selector named visibilityBoundingBox
Lnet/minecraft/entity/decoration/DisplayEntity;visibilityBoundingBox:Lnet/minecraft/util/math/Box;
intermediary field_42383
Lnet/minecraft/class_8113;field_42383:Lnet/minecraft/class_238;
official bi
Lbzj;bi:Lfin;
-
tooSmallToRender
private boolean tooSmallToRender- Mappings:
Namespace Name Mixin selector named tooSmallToRender
Lnet/minecraft/entity/decoration/DisplayEntity;tooSmallToRender:Z
intermediary field_52434
Lnet/minecraft/class_8113;field_52434:Z
official bj
Lbzj;bj:Z
-
renderingDataSet
protected boolean renderingDataSet- Mappings:
Namespace Name Mixin selector named renderingDataSet
Lnet/minecraft/entity/decoration/DisplayEntity;renderingDataSet:Z
intermediary field_43185
Lnet/minecraft/class_8113;field_43185:Z
official n
Lbzj;n:Z
-
startInterpolationSet
private boolean startInterpolationSet- Mappings:
Namespace Name Mixin selector named startInterpolationSet
Lnet/minecraft/entity/decoration/DisplayEntity;startInterpolationSet:Z
intermediary field_43182
Lnet/minecraft/class_8113;field_43182:Z
official bk
Lbzj;bk:Z
-
interpolationDurationSet
private boolean interpolationDurationSet- Mappings:
Namespace Name Mixin selector named interpolationDurationSet
Lnet/minecraft/entity/decoration/DisplayEntity;interpolationDurationSet:Z
intermediary field_43183
Lnet/minecraft/class_8113;field_43183:Z
official bl
Lbzj;bl:Z
-
renderProperties
- Mappings:
Namespace Name Mixin selector named renderProperties
Lnet/minecraft/entity/decoration/DisplayEntity;renderProperties:Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;
intermediary field_43184
Lnet/minecraft/class_8113;field_43184:Lnet/minecraft/class_8113$class_8229;
official bm
Lbzj;bm:Lbzj$j;
-
interpolator
- Mappings:
Namespace Name Mixin selector named interpolator
Lnet/minecraft/entity/decoration/DisplayEntity;interpolator:Lnet/minecraft/entity/PositionInterpolator;
intermediary field_55654
Lnet/minecraft/class_8113;field_55654:Lnet/minecraft/class_10584;
official bn
Lbzj;bn:Lcah;
-
-
Constructor Details
-
DisplayEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
official <init>
Lbzm;<init>(Lbzv;Ldmu;)V
-
-
Method Details
-
onTrackedDataSet
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Specified by:
onTrackedDataSet
in interfaceDataTracked
- Overrides:
onTrackedDataSet
in classEntity
- Mappings:
Namespace Name Mixin selector named onTrackedDataSet
Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
intermediary method_5674
Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
official a
Lalk;a(Lalh;)V
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntity
has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntity
also have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity
, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
LivingEntity.isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)
and return early.- Specified by:
damage
in classEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Z
intermediary method_64397
Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Z
official a
Lbzm;a(Laub;Lbyb;F)Z
-
getTransformation
- Mappings:
Namespace Name Mixin selector named getTransformation
Lnet/minecraft/entity/decoration/DisplayEntity;getTransformation(Lnet/minecraft/entity/data/DataTracker;)Lnet/minecraft/util/math/AffineTransformation;
intermediary method_48845
Lnet/minecraft/class_8113;method_48845(Lnet/minecraft/class_2945;)Lnet/minecraft/class_4590;
official a
Lbzj;a(Lall;)Lk;
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classEntity
- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();
should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
Entity.baseTick()
. - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/Entity;tick()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
official g
Lbzm;g()V
-
getInterpolator
- Overrides:
getInterpolator
in classEntity
- Mappings:
Namespace Name Mixin selector named getInterpolator
Lnet/minecraft/entity/Entity;getInterpolator()Lnet/minecraft/entity/PositionInterpolator;
intermediary method_66233
Lnet/minecraft/class_1297;method_66233()Lnet/minecraft/class_10584;
official l_
Lbzm;l_()Lcah;
-
refreshData
protected abstract void refreshData(boolean shouldLerp, float lerpProgress) - Mappings:
Namespace Name Mixin selector named refreshData
Lnet/minecraft/entity/decoration/DisplayEntity;refreshData(ZF)V
intermediary method_49776
Lnet/minecraft/class_8113;method_49776(ZF)V
official a
Lbzj;a(ZF)V
-
initDataTracker
Initializes data tracker.- Specified by:
initDataTracker
in classEntity
- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
official a
Lbzm;a(Lall$a;)V
-
readCustomData
- Specified by:
readCustomData
in classEntity
- Mappings:
Namespace Name Mixin selector named readCustomData
Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
official a
Lbzm;a(Lfda;)V
-
setTransformation
- Mappings:
Namespace Name Mixin selector named setTransformation
Lnet/minecraft/entity/decoration/DisplayEntity;setTransformation(Lnet/minecraft/util/math/AffineTransformation;)V
intermediary method_48849
Lnet/minecraft/class_8113;method_48849(Lnet/minecraft/class_4590;)V
official a
Lbzj;a(Lk;)V
-
writeCustomData
- Specified by:
writeCustomData
in classEntity
- Mappings:
Namespace Name Mixin selector named writeCustomData
Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
official a
Lbzm;a(Lfdc;)V
-
getVisibilityBoundingBox
- Mappings:
Namespace Name Mixin selector named getVisibilityBoundingBox
Lnet/minecraft/entity/decoration/DisplayEntity;getVisibilityBoundingBox()Lnet/minecraft/util/math/Box;
intermediary method_5830
Lnet/minecraft/class_8113;method_5830()Lnet/minecraft/class_238;
official e
Lbzj;e()Lfin;
-
shouldRender
public boolean shouldRender()- Mappings:
Namespace Name Mixin selector named shouldRender
Lnet/minecraft/entity/decoration/DisplayEntity;shouldRender()Z
intermediary method_61402
Lnet/minecraft/class_8113;method_61402()Z
official f
Lbzj;f()Z
-
getPistonBehavior
Returns the behavior of the piston for this entity.This is
PistonBehavior.NORMAL
by default.AreaEffectCloudEntity
,MarkerEntity
, and markerArmorStandEntity
returnPistonBehavior.IGNORE
, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated likePistonBehavior.NORMAL
.- Overrides:
getPistonBehavior
in classEntity
- Returns:
- the behavior of the piston for this entity
- Mappings:
Namespace Name Mixin selector named getPistonBehavior
Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
intermediary method_5657
Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
official k_
Lbzm;k_()Lfaq;
-
canAvoidTraps
public boolean canAvoidTraps()Returns whether the entity cannot trigger pressure plates or tripwires.BatEntity
is the only entity in vanilla that can avoid traps.- Overrides:
canAvoidTraps
in classEntity
- Returns:
- whether the entity cannot trigger pressure plates or tripwires
- Mappings:
Namespace Name Mixin selector named canAvoidTraps
Lnet/minecraft/entity/Entity;canAvoidTraps()Z
intermediary method_5696
Lnet/minecraft/class_1297;method_5696()Z
official n_
Lbzm;n_()Z
-
getRenderState
- Mappings:
Namespace Name Mixin selector named getRenderState
Lnet/minecraft/entity/decoration/DisplayEntity;getRenderState()Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;
intermediary method_49777
Lnet/minecraft/class_8113;method_49777()Lnet/minecraft/class_8113$class_8229;
official i
Lbzj;i()Lbzj$j;
-
setInterpolationDuration
private void setInterpolationDuration(int interpolationDuration) - Mappings:
Namespace Name Mixin selector named setInterpolationDuration
Lnet/minecraft/entity/decoration/DisplayEntity;setInterpolationDuration(I)V
intermediary method_52524
Lnet/minecraft/class_8113;method_52524(I)V
official b
Lbzj;b(I)V
-
getInterpolationDuration
private int getInterpolationDuration()- Mappings:
Namespace Name Mixin selector named getInterpolationDuration
Lnet/minecraft/entity/decoration/DisplayEntity;getInterpolationDuration()I
intermediary method_52527
Lnet/minecraft/class_8113;method_52527()I
official l
Lbzj;l()I
-
setStartInterpolation
private void setStartInterpolation(int startInterpolation) - Mappings:
Namespace Name Mixin selector named setStartInterpolation
Lnet/minecraft/entity/decoration/DisplayEntity;setStartInterpolation(I)V
intermediary method_52525
Lnet/minecraft/class_8113;method_52525(I)V
official c
Lbzj;c(I)V
-
getStartInterpolation
private int getStartInterpolation()- Mappings:
Namespace Name Mixin selector named getStartInterpolation
Lnet/minecraft/entity/decoration/DisplayEntity;getStartInterpolation()I
intermediary method_52528
Lnet/minecraft/class_8113;method_52528()I
official m
Lbzj;m()I
-
setTeleportDuration
private void setTeleportDuration(int teleportDuration) - Mappings:
Namespace Name Mixin selector named setTeleportDuration
Lnet/minecraft/entity/decoration/DisplayEntity;setTeleportDuration(I)V
intermediary method_52526
Lnet/minecraft/class_8113;method_52526(I)V
official d
Lbzj;d(I)V
-
getTeleportDuration
private int getTeleportDuration()- Mappings:
Namespace Name Mixin selector named getTeleportDuration
Lnet/minecraft/entity/decoration/DisplayEntity;getTeleportDuration()I
intermediary method_52529
Lnet/minecraft/class_8113;method_52529()I
official n
Lbzj;n()I
-
setBillboardMode
- Mappings:
Namespace Name Mixin selector named setBillboardMode
Lnet/minecraft/entity/decoration/DisplayEntity;setBillboardMode(Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;)V
intermediary method_48847
Lnet/minecraft/class_8113;method_48847(Lnet/minecraft/class_8113$class_8114;)V
official a
Lbzj;a(Lbzj$a;)V
-
getBillboardMode
- Mappings:
Namespace Name Mixin selector named getBillboardMode
Lnet/minecraft/entity/decoration/DisplayEntity;getBillboardMode()Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;
intermediary method_48864
Lnet/minecraft/class_8113;method_48864()Lnet/minecraft/class_8113$class_8114;
official p
Lbzj;p()Lbzj$a;
-
setBrightness
- Mappings:
Namespace Name Mixin selector named setBrightness
Lnet/minecraft/entity/decoration/DisplayEntity;setBrightness(Lnet/minecraft/entity/decoration/Brightness;)V
intermediary method_48846
Lnet/minecraft/class_8113;method_48846(Lnet/minecraft/class_8104;)V
official a
Lbzj;a(Lbap;)V
-
getBrightnessUnpacked
- Mappings:
Namespace Name Mixin selector named getBrightnessUnpacked
Lnet/minecraft/entity/decoration/DisplayEntity;getBrightnessUnpacked()Lnet/minecraft/entity/decoration/Brightness;
intermediary method_48868
Lnet/minecraft/class_8113;method_48868()Lnet/minecraft/class_8104;
official q
Lbzj;q()Lbap;
-
getBrightness
private int getBrightness()- Mappings:
Namespace Name Mixin selector named getBrightness
Lnet/minecraft/entity/decoration/DisplayEntity;getBrightness()I
intermediary method_48865
Lnet/minecraft/class_8113;method_48865()I
official s
Lbzj;s()I
-
setViewRange
private void setViewRange(float viewRange) - Mappings:
Namespace Name Mixin selector named setViewRange
Lnet/minecraft/entity/decoration/DisplayEntity;setViewRange(F)V
intermediary method_48861
Lnet/minecraft/class_8113;method_48861(F)V
official b
Lbzj;b(F)V
-
getViewRange
private float getViewRange()- Mappings:
Namespace Name Mixin selector named getViewRange
Lnet/minecraft/entity/decoration/DisplayEntity;getViewRange()F
intermediary method_48869
Lnet/minecraft/class_8113;method_48869()F
official t
Lbzj;t()F
-
setShadowRadius
private void setShadowRadius(float shadowRadius) - Mappings:
Namespace Name Mixin selector named setShadowRadius
Lnet/minecraft/entity/decoration/DisplayEntity;setShadowRadius(F)V
intermediary method_48862
Lnet/minecraft/class_8113;method_48862(F)V
official c
Lbzj;c(F)V
-
getShadowRadius
private float getShadowRadius()- Mappings:
Namespace Name Mixin selector named getShadowRadius
Lnet/minecraft/entity/decoration/DisplayEntity;getShadowRadius()F
intermediary method_48870
Lnet/minecraft/class_8113;method_48870()F
official u
Lbzj;u()F
-
setShadowStrength
private void setShadowStrength(float shadowStrength) - Mappings:
Namespace Name Mixin selector named setShadowStrength
Lnet/minecraft/entity/decoration/DisplayEntity;setShadowStrength(F)V
intermediary method_48872
Lnet/minecraft/class_8113;method_48872(F)V
official d
Lbzj;d(F)V
-
getShadowStrength
private float getShadowStrength()- Mappings:
Namespace Name Mixin selector named getShadowStrength
Lnet/minecraft/entity/decoration/DisplayEntity;getShadowStrength()F
intermediary method_48871
Lnet/minecraft/class_8113;method_48871()F
official v
Lbzj;v()F
-
setDisplayWidth
private void setDisplayWidth(float width) - Mappings:
Namespace Name Mixin selector named setDisplayWidth
Lnet/minecraft/entity/decoration/DisplayEntity;setDisplayWidth(F)V
intermediary method_48873
Lnet/minecraft/class_8113;method_48873(F)V
official x
Lbzj;x(F)V
-
getDisplayWidth
private float getDisplayWidth()- Mappings:
Namespace Name Mixin selector named getDisplayWidth
Lnet/minecraft/entity/decoration/DisplayEntity;getDisplayWidth()F
intermediary method_48874
Lnet/minecraft/class_8113;method_48874()F
official w
Lbzj;w()F
-
setDisplayHeight
private void setDisplayHeight(float height) - Mappings:
Namespace Name Mixin selector named setDisplayHeight
Lnet/minecraft/entity/decoration/DisplayEntity;setDisplayHeight(F)V
intermediary method_48875
Lnet/minecraft/class_8113;method_48875(F)V
official y
Lbzj;y(F)V
-
getGlowColorOverride
private int getGlowColorOverride()- Mappings:
Namespace Name Mixin selector named getGlowColorOverride
Lnet/minecraft/entity/decoration/DisplayEntity;getGlowColorOverride()I
intermediary method_48876
Lnet/minecraft/class_8113;method_48876()I
official x
Lbzj;x()I
-
setGlowColorOverride
private void setGlowColorOverride(int glowColorOverride) - Mappings:
Namespace Name Mixin selector named setGlowColorOverride
Lnet/minecraft/entity/decoration/DisplayEntity;setGlowColorOverride(I)V
intermediary method_48858
Lnet/minecraft/class_8113;method_48858(I)V
official l
Lbzj;l(I)V
-
getLerpProgress
public float getLerpProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getLerpProgress
Lnet/minecraft/entity/decoration/DisplayEntity;getLerpProgress(F)F
intermediary method_48844
Lnet/minecraft/class_8113;method_48844(F)F
official a
Lbzj;a(F)F
-
getDisplayHeight
private float getDisplayHeight()- Mappings:
Namespace Name Mixin selector named getDisplayHeight
Lnet/minecraft/entity/decoration/DisplayEntity;getDisplayHeight()F
intermediary method_48877
Lnet/minecraft/class_8113;method_48877()F
official y
Lbzj;y()F
-
setPosition
public void setPosition(double x, double y, double z) Sets the position and refreshes the bounding box.This should be called after creating an instance of non-living entities. For living entities,
Entity.refreshPositionAndAngles(net.minecraft.util.math.BlockPos, float, float)
should be used instead.- Overrides:
setPosition
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named setPosition
Lnet/minecraft/entity/Entity;setPosition(DDD)V
intermediary method_5814
Lnet/minecraft/class_1297;method_5814(DDD)V
official a_
Lbzm;a_(DDD)V
-
updateVisibilityBoundingBox
private void updateVisibilityBoundingBox()- Mappings:
Namespace Name Mixin selector named updateVisibilityBoundingBox
Lnet/minecraft/entity/decoration/DisplayEntity;updateVisibilityBoundingBox()V
intermediary method_48878
Lnet/minecraft/class_8113;method_48878()V
official z
Lbzj;z()V
-
shouldRender
public boolean shouldRender(double distance) - Overrides:
shouldRender
in classEntity
- Mappings:
Namespace Name Mixin selector named shouldRender
Lnet/minecraft/entity/Entity;shouldRender(D)Z
intermediary method_5640
Lnet/minecraft/class_1297;method_5640(D)Z
official a
Lbzm;a(D)Z
-
getTeamColorValue
public int getTeamColorValue()Returns the team color value, or0xFFFFFF
if the entity is not in a team or the color is not set.- Overrides:
getTeamColorValue
in classEntity
- Returns:
- the team color value, or
0xFFFFFF
if the entity is not in a team or the color is not set - Mappings:
Namespace Name Mixin selector named getTeamColorValue
Lnet/minecraft/entity/Entity;getTeamColorValue()I
intermediary method_22861
Lnet/minecraft/class_1297;method_22861()I
official m_
Lbzm;m_()I
-
copyRenderState
- Mappings:
Namespace Name Mixin selector named copyRenderState
Lnet/minecraft/entity/decoration/DisplayEntity;copyRenderState()Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;
intermediary method_49774
Lnet/minecraft/class_8113;method_49774()Lnet/minecraft/class_8113$class_8229;
official A
Lbzj;A()Lbzj$j;
-
getLerpedRenderState
private DisplayEntity.RenderState getLerpedRenderState(DisplayEntity.RenderState state, float lerpProgress) - Mappings:
Namespace Name Mixin selector named getLerpedRenderState
Lnet/minecraft/entity/decoration/DisplayEntity;getLerpedRenderState(Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;F)Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;
intermediary method_49775
Lnet/minecraft/class_8113;method_49775(Lnet/minecraft/class_8113$class_8229;F)Lnet/minecraft/class_8113$class_8229;
official a
Lbzj;a(Lbzj$j;F)Lbzj$j;
-