Class DisplayEntity
- All Implemented Interfaces:
ComponentsAccess,DataTracked,ScoreHolder,HeldItemContext,Nameable,EntityLike,UniquelyIdentifiable
- Direct Known Subclasses:
DisplayEntity.BlockDisplayEntity,DisplayEntity.ItemDisplayEntity,DisplayEntity.TextDisplayEntity
- Mappings:
Namespace Name named net/minecraft/entity/decoration/DisplayEntityintermediary net/minecraft/class_8113official bzz
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprivate static final recordprivate static final recordstatic enumstatic classstatic interfaceprivate static final recordstatic interfaceprivate static final recordstatic classstatic final recordstatic classNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Byte> static final Stringprivate static final TrackedData<Integer> static final Stringprivate static final intprivate static final intprivate static final floatprivate static final floatprivate static final intstatic final intprivate static final intprivate static final floatprivate static final floatprivate static final floatprivate static final TrackedData<Integer> static final Stringprivate static final TrackedData<Float> static final Stringprivate static final TrackedData<Integer> static final Stringprivate intprivate booleanprivate longprivate final PositionInterpolatorprivate static final TrackedData<Quaternionf> private float(package private) static final Loggerprivate static final IntSetprotected booleanprivate @Nullable DisplayEntity.RenderStateprivate static final TrackedData<Quaternionf> private static final TrackedData<Vector3f> private static final TrackedData<Float> static final Stringprivate static final TrackedData<Float> static final Stringprivate static final TrackedData<Integer> static final Stringprivate booleanprivate static final TrackedData<Integer> static final Stringprivate booleanstatic final Stringprivate static final TrackedData<Vector3f> private static final TrackedData<Float> static final Stringprivate Boxprivate static final TrackedData<Float> static final StringFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_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, wasInPowderSnowFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the entity cannot trigger pressure plates or tripwires.private DisplayEntity.RenderStatefinal booleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.private DisplayEntity.BillboardModeprivate intprivate @Nullable Brightnessprivate floatprivate floatprivate intprivate intprivate DisplayEntity.RenderStategetLerpedRenderState(DisplayEntity.RenderState state, float lerpProgress) floatgetLerpProgress(float tickProgress) Returns the behavior of the piston for this entity.private floatprivate floatprivate intintReturns the team color value, or0xFFFFFFif the entity is not in a team or the color is not set.private intprivate static AffineTransformationgetTransformation(DataTracker dataTracker) private floatprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected voidreadCustomData(ReadView view) protected abstract voidrefreshData(boolean shouldLerp, float lerpProgress) private voidsetBillboardMode(DisplayEntity.BillboardMode billboardMode) private voidsetBrightness(@Nullable Brightness brightness) private voidsetDisplayHeight(float height) private voidsetDisplayWidth(float width) private voidsetGlowColorOverride(int glowColorOverride) private voidsetInterpolationDuration(int interpolationDuration) voidsetPosition(double x, double y, double z) Sets the position and refreshes the bounding box.private voidsetShadowRadius(float shadowRadius) private voidsetShadowStrength(float shadowStrength) private voidsetStartInterpolation(int startInterpolation) private voidsetTeleportDuration(int teleportDuration) private voidsetTransformation(AffineTransformation transformation) private voidsetViewRange(float viewRange) booleanbooleanshouldRender(double distance) voidtick()Ticks this entity.private voidprotected voidwriteCustomData(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, 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, method_73092, method_73094, method_73095, 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, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.util.HeldItemContext
getEntityMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/entity/decoration/DisplayEntity;LOGGER:Lorg/slf4j/Logger;intermediary field_42397Lnet/minecraft/class_8113;field_42397:Lorg/slf4j/Logger;official oLbzz;o:Lorg/slf4j/Logger;
-
field_42384
public static final int field_42384- See Also:
- Mappings:
Namespace Name Mixin selector named field_42384Lnet/minecraft/entity/decoration/DisplayEntity;field_42384:Iintermediary field_42384Lnet/minecraft/class_8113;field_42384:Iofficial aLbzz;a:I
-
START_INTERPOLATION
- Mappings:
Namespace Name Mixin selector named START_INTERPOLATIONLnet/minecraft/entity/decoration/DisplayEntity;START_INTERPOLATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_45112Lnet/minecraft/class_8113;field_45112:Lnet/minecraft/class_2940;official pLbzz;p:Lalo;
-
INTERPOLATION_DURATION
- Mappings:
Namespace Name Mixin selector named INTERPOLATION_DURATIONLnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_45113Lnet/minecraft/class_8113;field_45113:Lnet/minecraft/class_2940;official qLbzz;q:Lalo;
-
TELEPORT_DURATION
- Mappings:
Namespace Name Mixin selector named TELEPORT_DURATIONLnet/minecraft/entity/decoration/DisplayEntity;TELEPORT_DURATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_45114Lnet/minecraft/class_8113;field_45114:Lnet/minecraft/class_2940;official rLbzz;r:Lalo;
-
TRANSLATION
- Mappings:
Namespace Name Mixin selector named TRANSLATIONLnet/minecraft/entity/decoration/DisplayEntity;TRANSLATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_42401Lnet/minecraft/class_8113;field_42401:Lnet/minecraft/class_2940;official sLbzz;s:Lalo;
-
SCALE
- Mappings:
Namespace Name Mixin selector named SCALELnet/minecraft/entity/decoration/DisplayEntity;SCALE:Lnet/minecraft/entity/data/TrackedData;intermediary field_42402Lnet/minecraft/class_8113;field_42402:Lnet/minecraft/class_2940;official tLbzz;t:Lalo;
-
LEFT_ROTATION
- Mappings:
Namespace Name Mixin selector named LEFT_ROTATIONLnet/minecraft/entity/decoration/DisplayEntity;LEFT_ROTATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_42403Lnet/minecraft/class_8113;field_42403:Lnet/minecraft/class_2940;official uLbzz;u:Lalo;
-
RIGHT_ROTATION
- Mappings:
Namespace Name Mixin selector named RIGHT_ROTATIONLnet/minecraft/entity/decoration/DisplayEntity;RIGHT_ROTATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_42367Lnet/minecraft/class_8113;field_42367:Lnet/minecraft/class_2940;official aNLbzz;aN:Lalo;
-
BILLBOARD
- Mappings:
Namespace Name Mixin selector named BILLBOARDLnet/minecraft/entity/decoration/DisplayEntity;BILLBOARD:Lnet/minecraft/entity/data/TrackedData;intermediary field_42368Lnet/minecraft/class_8113;field_42368:Lnet/minecraft/class_2940;official aOLbzz;aO:Lalo;
-
BRIGHTNESS
- Mappings:
Namespace Name Mixin selector named BRIGHTNESSLnet/minecraft/entity/decoration/DisplayEntity;BRIGHTNESS:Lnet/minecraft/entity/data/TrackedData;intermediary field_42369Lnet/minecraft/class_8113;field_42369:Lnet/minecraft/class_2940;official aPLbzz;aP:Lalo;
-
VIEW_RANGE
- Mappings:
Namespace Name Mixin selector named VIEW_RANGELnet/minecraft/entity/decoration/DisplayEntity;VIEW_RANGE:Lnet/minecraft/entity/data/TrackedData;intermediary field_42370Lnet/minecraft/class_8113;field_42370:Lnet/minecraft/class_2940;official aQLbzz;aQ:Lalo;
-
SHADOW_RADIUS
- Mappings:
Namespace Name Mixin selector named SHADOW_RADIUSLnet/minecraft/entity/decoration/DisplayEntity;SHADOW_RADIUS:Lnet/minecraft/entity/data/TrackedData;intermediary field_42371Lnet/minecraft/class_8113;field_42371:Lnet/minecraft/class_2940;official aRLbzz;aR:Lalo;
-
SHADOW_STRENGTH
- Mappings:
Namespace Name Mixin selector named SHADOW_STRENGTHLnet/minecraft/entity/decoration/DisplayEntity;SHADOW_STRENGTH:Lnet/minecraft/entity/data/TrackedData;intermediary field_42372Lnet/minecraft/class_8113;field_42372:Lnet/minecraft/class_2940;official aSLbzz;aS:Lalo;
-
WIDTH
- Mappings:
Namespace Name Mixin selector named WIDTHLnet/minecraft/entity/decoration/DisplayEntity;WIDTH:Lnet/minecraft/entity/data/TrackedData;intermediary field_42373Lnet/minecraft/class_8113;field_42373:Lnet/minecraft/class_2940;official aTLbzz;aT:Lalo;
-
HEIGHT
- Mappings:
Namespace Name Mixin selector named HEIGHTLnet/minecraft/entity/decoration/DisplayEntity;HEIGHT:Lnet/minecraft/entity/data/TrackedData;intermediary field_42374Lnet/minecraft/class_8113;field_42374:Lnet/minecraft/class_2940;official aULbzz;aU:Lalo;
-
GLOW_COLOR_OVERRIDE
- Mappings:
Namespace Name Mixin selector named GLOW_COLOR_OVERRIDELnet/minecraft/entity/decoration/DisplayEntity;GLOW_COLOR_OVERRIDE:Lnet/minecraft/entity/data/TrackedData;intermediary field_42375Lnet/minecraft/class_8113;field_42375:Lnet/minecraft/class_2940;official aVLbzz;aV:Lalo;
-
RENDERING_DATA_IDS
- Mappings:
Namespace Name Mixin selector named RENDERING_DATA_IDSLnet/minecraft/entity/decoration/DisplayEntity;RENDERING_DATA_IDS:Lit/unimi/dsi/fastutil/ints/IntSet;intermediary field_43180Lnet/minecraft/class_8113;field_43180:Lit/unimi/dsi/fastutil/ints/IntSet;official aWLbzz;aW: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_DURATIONLnet/minecraft/entity/decoration/DisplayEntity;DEFAULT_INTERPOLATION_DURATION:Iintermediary field_57573Lnet/minecraft/class_8113;field_57573:Iofficial aXLbzz;aX:I
-
DEFAULT_START_INTERPOLATION
private static final int DEFAULT_START_INTERPOLATION- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_START_INTERPOLATIONLnet/minecraft/entity/decoration/DisplayEntity;DEFAULT_START_INTERPOLATION:Iintermediary field_57574Lnet/minecraft/class_8113;field_57574:Iofficial aYLbzz;aY:I
-
field_56423
private static final int field_56423- See Also:
- Mappings:
Namespace Name Mixin selector named field_56423Lnet/minecraft/entity/decoration/DisplayEntity;field_56423:Iintermediary field_56423Lnet/minecraft/class_8113;field_56423:Iofficial aZLbzz;aZ:I
-
field_42376
private static final float field_42376- See Also:
- Mappings:
Namespace Name Mixin selector named field_42376Lnet/minecraft/entity/decoration/DisplayEntity;field_42376:Fintermediary field_42376Lnet/minecraft/class_8113;field_42376:Fofficial baLbzz;ba:F
-
field_42377
private static final float field_42377- See Also:
- Mappings:
Namespace Name Mixin selector named field_42377Lnet/minecraft/entity/decoration/DisplayEntity;field_42377:Fintermediary field_42377Lnet/minecraft/class_8113;field_42377:Fofficial bbLbzz;bb:F
-
field_57575
private static final float field_57575- See Also:
- Mappings:
Namespace Name Mixin selector named field_57575Lnet/minecraft/entity/decoration/DisplayEntity;field_57575:Fintermediary field_57575Lnet/minecraft/class_8113;field_57575:Fofficial bcLbzz;bc:F
-
field_57576
private static final float field_57576- See Also:
- Mappings:
Namespace Name Mixin selector named field_57576Lnet/minecraft/entity/decoration/DisplayEntity;field_57576:Fintermediary field_57576Lnet/minecraft/class_8113;field_57576:Fofficial bdLbzz;bd:F
-
field_57577
private static final float field_57577- See Also:
- Mappings:
Namespace Name Mixin selector named field_57577Lnet/minecraft/entity/decoration/DisplayEntity;field_57577:Fintermediary field_57577Lnet/minecraft/class_8113;field_57577:Fofficial beLbzz;be:F
-
field_42378
private static final int field_42378- See Also:
- Mappings:
Namespace Name Mixin selector named field_42378Lnet/minecraft/entity/decoration/DisplayEntity;field_42378:Iintermediary field_42378Lnet/minecraft/class_8113;field_42378:Iofficial bfLbzz;bf:I
-
TELEPORT_DURATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named TELEPORT_DURATION_KEYLnet/minecraft/entity/decoration/DisplayEntity;TELEPORT_DURATION_KEY:Ljava/lang/String;intermediary field_45109Lnet/minecraft/class_8113;field_45109:Ljava/lang/String;official bLbzz;b:Ljava/lang/String;
-
INTERPOLATION_DURATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named INTERPOLATION_DURATION_KEYLnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION_KEY:Ljava/lang/String;intermediary field_45110Lnet/minecraft/class_8113;field_45110:Ljava/lang/String;official cLbzz;c:Ljava/lang/String;
-
START_INTERPOLATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named START_INTERPOLATION_KEYLnet/minecraft/entity/decoration/DisplayEntity;START_INTERPOLATION_KEY:Ljava/lang/String;intermediary field_45111Lnet/minecraft/class_8113;field_45111:Ljava/lang/String;official dLbzz;d:Ljava/lang/String;
-
TRANSFORMATION_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named TRANSFORMATION_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;TRANSFORMATION_NBT_KEY:Ljava/lang/String;intermediary field_42387Lnet/minecraft/class_8113;field_42387:Ljava/lang/String;official eLbzz;e:Ljava/lang/String;
-
BILLBOARD_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BILLBOARD_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;BILLBOARD_NBT_KEY:Ljava/lang/String;intermediary field_42388Lnet/minecraft/class_8113;field_42388:Ljava/lang/String;official fLbzz;f:Ljava/lang/String;
-
BRIGHTNESS_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BRIGHTNESS_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;BRIGHTNESS_NBT_KEY:Ljava/lang/String;intermediary field_42389Lnet/minecraft/class_8113;field_42389:Ljava/lang/String;official gLbzz;g:Ljava/lang/String;
-
VIEW_RANGE_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named VIEW_RANGE_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;VIEW_RANGE_NBT_KEY:Ljava/lang/String;intermediary field_42390Lnet/minecraft/class_8113;field_42390:Ljava/lang/String;official hLbzz;h:Ljava/lang/String;
-
SHADOW_RADIUS_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SHADOW_RADIUS_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;SHADOW_RADIUS_NBT_KEY:Ljava/lang/String;intermediary field_42391Lnet/minecraft/class_8113;field_42391:Ljava/lang/String;official iLbzz;i:Ljava/lang/String;
-
SHADOW_STRENGTH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SHADOW_STRENGTH_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;SHADOW_STRENGTH_NBT_KEY:Ljava/lang/String;intermediary field_42392Lnet/minecraft/class_8113;field_42392:Ljava/lang/String;official jLbzz;j:Ljava/lang/String;
-
WIDTH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named WIDTH_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;WIDTH_NBT_KEY:Ljava/lang/String;intermediary field_42393Lnet/minecraft/class_8113;field_42393:Ljava/lang/String;official kLbzz;k:Ljava/lang/String;
-
HEIGHT_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HEIGHT_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;HEIGHT_NBT_KEY:Ljava/lang/String;intermediary field_42394Lnet/minecraft/class_8113;field_42394:Ljava/lang/String;official lLbzz;l:Ljava/lang/String;
-
GLOW_COLOR_OVERRIDE_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named GLOW_COLOR_OVERRIDE_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;GLOW_COLOR_OVERRIDE_NBT_KEY:Ljava/lang/String;intermediary field_42395Lnet/minecraft/class_8113;field_42395:Ljava/lang/String;official mLbzz;m:Ljava/lang/String;
-
interpolationStart
private long interpolationStart- Mappings:
Namespace Name Mixin selector named interpolationStartLnet/minecraft/entity/decoration/DisplayEntity;interpolationStart:Jintermediary field_42620Lnet/minecraft/class_8113;field_42620:Jofficial bgLbzz;bg:J
-
interpolationDuration
private int interpolationDuration- Mappings:
Namespace Name Mixin selector named interpolationDurationLnet/minecraft/entity/decoration/DisplayEntity;interpolationDuration:Iintermediary field_43181Lnet/minecraft/class_8113;field_43181:Iofficial bhLbzz;bh:I
-
lerpProgress
private float lerpProgress- Mappings:
Namespace Name Mixin selector named lerpProgressLnet/minecraft/entity/decoration/DisplayEntity;lerpProgress:Fintermediary field_43135Lnet/minecraft/class_8113;field_43135:Fofficial biLbzz;bi:F
-
visibilityBoundingBox
- Mappings:
Namespace Name Mixin selector named visibilityBoundingBoxLnet/minecraft/entity/decoration/DisplayEntity;visibilityBoundingBox:Lnet/minecraft/util/math/Box;intermediary field_42383Lnet/minecraft/class_8113;field_42383:Lnet/minecraft/class_238;official bjLbzz;bj:Lfkd;
-
tooSmallToRender
private boolean tooSmallToRender- Mappings:
Namespace Name Mixin selector named tooSmallToRenderLnet/minecraft/entity/decoration/DisplayEntity;tooSmallToRender:Zintermediary field_52434Lnet/minecraft/class_8113;field_52434:Zofficial bkLbzz;bk:Z
-
renderingDataSet
protected boolean renderingDataSet- Mappings:
Namespace Name Mixin selector named renderingDataSetLnet/minecraft/entity/decoration/DisplayEntity;renderingDataSet:Zintermediary field_43185Lnet/minecraft/class_8113;field_43185:Zofficial nLbzz;n:Z
-
startInterpolationSet
private boolean startInterpolationSet- Mappings:
Namespace Name Mixin selector named startInterpolationSetLnet/minecraft/entity/decoration/DisplayEntity;startInterpolationSet:Zintermediary field_43182Lnet/minecraft/class_8113;field_43182:Zofficial blLbzz;bl:Z
-
interpolationDurationSet
private boolean interpolationDurationSet- Mappings:
Namespace Name Mixin selector named interpolationDurationSetLnet/minecraft/entity/decoration/DisplayEntity;interpolationDurationSet:Zintermediary field_43183Lnet/minecraft/class_8113;field_43183:Zofficial bmLbzz;bm:Z
-
renderProperties
- Mappings:
Namespace Name Mixin selector named renderPropertiesLnet/minecraft/entity/decoration/DisplayEntity;renderProperties:Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;intermediary field_43184Lnet/minecraft/class_8113;field_43184:Lnet/minecraft/class_8113$class_8229;official bnLbzz;bn:Lbzz$j;
-
interpolator
- Mappings:
Namespace Name Mixin selector named interpolatorLnet/minecraft/entity/decoration/DisplayEntity;interpolator:Lnet/minecraft/entity/PositionInterpolator;intermediary field_55654Lnet/minecraft/class_8113;field_55654:Lnet/minecraft/class_10584;official boLbzz;bo:Lcax;
-
-
Constructor Details
-
DisplayEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lcac;<init>(Lcal;Ldnu;)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:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector named onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vofficial aLalr;a(Lalo;)V
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas 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
ItemEntityalso 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:
damagein classEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLcac;a(Lauj;Lbyq;F)Z
-
getTransformation
- Mappings:
Namespace Name Mixin selector named getTransformationLnet/minecraft/entity/decoration/DisplayEntity;getTransformation(Lnet/minecraft/entity/data/DataTracker;)Lnet/minecraft/util/math/AffineTransformation;intermediary method_48845Lnet/minecraft/class_8113;method_48845(Lnet/minecraft/class_2945;)Lnet/minecraft/class_4590;official aLbzz;a(Lals;)Lk;
-
tick
public void tick()Ticks this entity.- Overrides:
tickin 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 tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLcac;g()V
-
getInterpolator
- Overrides:
getInterpolatorin classEntity- Mappings:
Namespace Name Mixin selector named getInterpolatorLnet/minecraft/entity/Entity;getInterpolator()Lnet/minecraft/entity/PositionInterpolator;intermediary method_66233Lnet/minecraft/class_1297;method_66233()Lnet/minecraft/class_10584;official n_Lcac;n_()Lcax;
-
refreshData
protected abstract void refreshData(boolean shouldLerp, float lerpProgress) - Mappings:
Namespace Name Mixin selector named refreshDataLnet/minecraft/entity/decoration/DisplayEntity;refreshData(ZF)Vintermediary method_49776Lnet/minecraft/class_8113;method_49776(ZF)Vofficial aLbzz;a(ZF)V
-
initDataTracker
Initializes data tracker.- Specified by:
initDataTrackerin 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 initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLcac;a(Lals$a;)V
-
readCustomData
- Specified by:
readCustomDatain classEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLcac;a(Lfeq;)V
-
setTransformation
- Mappings:
Namespace Name Mixin selector named setTransformationLnet/minecraft/entity/decoration/DisplayEntity;setTransformation(Lnet/minecraft/util/math/AffineTransformation;)Vintermediary method_48849Lnet/minecraft/class_8113;method_48849(Lnet/minecraft/class_4590;)Vofficial aLbzz;a(Lk;)V
-
writeCustomData
- Specified by:
writeCustomDatain classEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLcac;a(Lfes;)V
-
getVisibilityBoundingBox
- Mappings:
Namespace Name Mixin selector named getVisibilityBoundingBoxLnet/minecraft/entity/decoration/DisplayEntity;getVisibilityBoundingBox()Lnet/minecraft/util/math/Box;intermediary method_5830Lnet/minecraft/class_8113;method_5830()Lnet/minecraft/class_238;official eLbzz;e()Lfkd;
-
shouldRender
public boolean shouldRender()- Mappings:
Namespace Name Mixin selector named shouldRenderLnet/minecraft/entity/decoration/DisplayEntity;shouldRender()Zintermediary method_61402Lnet/minecraft/class_8113;method_61402()Zofficial fLbzz;f()Z
-
getPistonBehavior
Returns the behavior of the piston for this entity.This is
PistonBehavior.NORMALby default.AreaEffectCloudEntity,MarkerEntity, and markerArmorStandEntityreturnPistonBehavior.IGNORE, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated likePistonBehavior.NORMAL.- Overrides:
getPistonBehaviorin classEntity- Returns:
- the behavior of the piston for this entity
- Mappings:
Namespace Name Mixin selector named getPistonBehaviorLnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;intermediary method_5657Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;official l_Lcac;l_()Lfcg;
-
canAvoidTraps
public boolean canAvoidTraps()Returns whether the entity cannot trigger pressure plates or tripwires.BatEntityis the only entity in vanilla that can avoid traps.- Overrides:
canAvoidTrapsin classEntity- Returns:
- whether the entity cannot trigger pressure plates or tripwires
- Mappings:
Namespace Name Mixin selector named canAvoidTrapsLnet/minecraft/entity/Entity;canAvoidTraps()Zintermediary method_5696Lnet/minecraft/class_1297;method_5696()Zofficial p_Lcac;p_()Z
-
getRenderState
- Mappings:
Namespace Name Mixin selector named getRenderStateLnet/minecraft/entity/decoration/DisplayEntity;getRenderState()Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;intermediary method_49777Lnet/minecraft/class_8113;method_49777()Lnet/minecraft/class_8113$class_8229;official iLbzz;i()Lbzz$j;
-
setInterpolationDuration
private void setInterpolationDuration(int interpolationDuration) - Mappings:
Namespace Name Mixin selector named setInterpolationDurationLnet/minecraft/entity/decoration/DisplayEntity;setInterpolationDuration(I)Vintermediary method_52524Lnet/minecraft/class_8113;method_52524(I)Vofficial bLbzz;b(I)V
-
getInterpolationDuration
private int getInterpolationDuration()- Mappings:
Namespace Name Mixin selector named getInterpolationDurationLnet/minecraft/entity/decoration/DisplayEntity;getInterpolationDuration()Iintermediary method_52527Lnet/minecraft/class_8113;method_52527()Iofficial lLbzz;l()I
-
setStartInterpolation
private void setStartInterpolation(int startInterpolation) - Mappings:
Namespace Name Mixin selector named setStartInterpolationLnet/minecraft/entity/decoration/DisplayEntity;setStartInterpolation(I)Vintermediary method_52525Lnet/minecraft/class_8113;method_52525(I)Vofficial cLbzz;c(I)V
-
getStartInterpolation
private int getStartInterpolation()- Mappings:
Namespace Name Mixin selector named getStartInterpolationLnet/minecraft/entity/decoration/DisplayEntity;getStartInterpolation()Iintermediary method_52528Lnet/minecraft/class_8113;method_52528()Iofficial mLbzz;m()I
-
setTeleportDuration
private void setTeleportDuration(int teleportDuration) - Mappings:
Namespace Name Mixin selector named setTeleportDurationLnet/minecraft/entity/decoration/DisplayEntity;setTeleportDuration(I)Vintermediary method_52526Lnet/minecraft/class_8113;method_52526(I)Vofficial dLbzz;d(I)V
-
getTeleportDuration
private int getTeleportDuration()- Mappings:
Namespace Name Mixin selector named getTeleportDurationLnet/minecraft/entity/decoration/DisplayEntity;getTeleportDuration()Iintermediary method_52529Lnet/minecraft/class_8113;method_52529()Iofficial nLbzz;n()I
-
setBillboardMode
- Mappings:
Namespace Name Mixin selector named setBillboardModeLnet/minecraft/entity/decoration/DisplayEntity;setBillboardMode(Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;)Vintermediary method_48847Lnet/minecraft/class_8113;method_48847(Lnet/minecraft/class_8113$class_8114;)Vofficial aLbzz;a(Lbzz$a;)V
-
getBillboardMode
- Mappings:
Namespace Name Mixin selector named getBillboardModeLnet/minecraft/entity/decoration/DisplayEntity;getBillboardMode()Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;intermediary method_48864Lnet/minecraft/class_8113;method_48864()Lnet/minecraft/class_8113$class_8114;official pLbzz;p()Lbzz$a;
-
setBrightness
- Mappings:
Namespace Name Mixin selector named setBrightnessLnet/minecraft/entity/decoration/DisplayEntity;setBrightness(Lnet/minecraft/entity/decoration/Brightness;)Vintermediary method_48846Lnet/minecraft/class_8113;method_48846(Lnet/minecraft/class_8104;)Vofficial aLbzz;a(Lbba;)V
-
getBrightnessUnpacked
- Mappings:
Namespace Name Mixin selector named getBrightnessUnpackedLnet/minecraft/entity/decoration/DisplayEntity;getBrightnessUnpacked()Lnet/minecraft/entity/decoration/Brightness;intermediary method_48868Lnet/minecraft/class_8113;method_48868()Lnet/minecraft/class_8104;official qLbzz;q()Lbba;
-
getBrightness
private int getBrightness()- Mappings:
Namespace Name Mixin selector named getBrightnessLnet/minecraft/entity/decoration/DisplayEntity;getBrightness()Iintermediary method_48865Lnet/minecraft/class_8113;method_48865()Iofficial sLbzz;s()I
-
setViewRange
private void setViewRange(float viewRange) - Mappings:
Namespace Name Mixin selector named setViewRangeLnet/minecraft/entity/decoration/DisplayEntity;setViewRange(F)Vintermediary method_48861Lnet/minecraft/class_8113;method_48861(F)Vofficial bLbzz;b(F)V
-
getViewRange
private float getViewRange()- Mappings:
Namespace Name Mixin selector named getViewRangeLnet/minecraft/entity/decoration/DisplayEntity;getViewRange()Fintermediary method_48869Lnet/minecraft/class_8113;method_48869()Fofficial tLbzz;t()F
-
setShadowRadius
private void setShadowRadius(float shadowRadius) - Mappings:
Namespace Name Mixin selector named setShadowRadiusLnet/minecraft/entity/decoration/DisplayEntity;setShadowRadius(F)Vintermediary method_48862Lnet/minecraft/class_8113;method_48862(F)Vofficial cLbzz;c(F)V
-
getShadowRadius
private float getShadowRadius()- Mappings:
Namespace Name Mixin selector named getShadowRadiusLnet/minecraft/entity/decoration/DisplayEntity;getShadowRadius()Fintermediary method_48870Lnet/minecraft/class_8113;method_48870()Fofficial uLbzz;u()F
-
setShadowStrength
private void setShadowStrength(float shadowStrength) - Mappings:
Namespace Name Mixin selector named setShadowStrengthLnet/minecraft/entity/decoration/DisplayEntity;setShadowStrength(F)Vintermediary method_48872Lnet/minecraft/class_8113;method_48872(F)Vofficial dLbzz;d(F)V
-
getShadowStrength
private float getShadowStrength()- Mappings:
Namespace Name Mixin selector named getShadowStrengthLnet/minecraft/entity/decoration/DisplayEntity;getShadowStrength()Fintermediary method_48871Lnet/minecraft/class_8113;method_48871()Fofficial vLbzz;v()F
-
setDisplayWidth
private void setDisplayWidth(float width) - Mappings:
Namespace Name Mixin selector named setDisplayWidthLnet/minecraft/entity/decoration/DisplayEntity;setDisplayWidth(F)Vintermediary method_48873Lnet/minecraft/class_8113;method_48873(F)Vofficial xLbzz;x(F)V
-
getDisplayWidth
private float getDisplayWidth()- Mappings:
Namespace Name Mixin selector named getDisplayWidthLnet/minecraft/entity/decoration/DisplayEntity;getDisplayWidth()Fintermediary method_48874Lnet/minecraft/class_8113;method_48874()Fofficial wLbzz;w()F
-
setDisplayHeight
private void setDisplayHeight(float height) - Mappings:
Namespace Name Mixin selector named setDisplayHeightLnet/minecraft/entity/decoration/DisplayEntity;setDisplayHeight(F)Vintermediary method_48875Lnet/minecraft/class_8113;method_48875(F)Vofficial yLbzz;y(F)V
-
getGlowColorOverride
private int getGlowColorOverride()- Mappings:
Namespace Name Mixin selector named getGlowColorOverrideLnet/minecraft/entity/decoration/DisplayEntity;getGlowColorOverride()Iintermediary method_48876Lnet/minecraft/class_8113;method_48876()Iofficial xLbzz;x()I
-
setGlowColorOverride
private void setGlowColorOverride(int glowColorOverride) - Mappings:
Namespace Name Mixin selector named setGlowColorOverrideLnet/minecraft/entity/decoration/DisplayEntity;setGlowColorOverride(I)Vintermediary method_48858Lnet/minecraft/class_8113;method_48858(I)Vofficial lLbzz;l(I)V
-
getLerpProgress
public float getLerpProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getLerpProgressLnet/minecraft/entity/decoration/DisplayEntity;getLerpProgress(F)Fintermediary method_48844Lnet/minecraft/class_8113;method_48844(F)Fofficial aLbzz;a(F)F
-
getDisplayHeight
private float getDisplayHeight()- Mappings:
Namespace Name Mixin selector named getDisplayHeightLnet/minecraft/entity/decoration/DisplayEntity;getDisplayHeight()Fintermediary method_48877Lnet/minecraft/class_8113;method_48877()Fofficial yLbzz;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:
setPositionin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named setPositionLnet/minecraft/entity/Entity;setPosition(DDD)Vintermediary method_5814Lnet/minecraft/class_1297;method_5814(DDD)Vofficial a_Lcac;a_(DDD)V
-
updateVisibilityBoundingBox
private void updateVisibilityBoundingBox()- Mappings:
Namespace Name Mixin selector named updateVisibilityBoundingBoxLnet/minecraft/entity/decoration/DisplayEntity;updateVisibilityBoundingBox()Vintermediary method_48878Lnet/minecraft/class_8113;method_48878()Vofficial zLbzz;z()V
-
shouldRender
public boolean shouldRender(double distance) - Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector named shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Zintermediary method_5640Lnet/minecraft/class_1297;method_5640(D)Zofficial aLcac;a(D)Z
-
getTeamColorValue
public int getTeamColorValue()Returns the team color value, or0xFFFFFFif the entity is not in a team or the color is not set.- Overrides:
getTeamColorValuein classEntity- Returns:
- the team color value, or
0xFFFFFFif the entity is not in a team or the color is not set - Mappings:
Namespace Name Mixin selector named getTeamColorValueLnet/minecraft/entity/Entity;getTeamColorValue()Iintermediary method_22861Lnet/minecraft/class_1297;method_22861()Iofficial o_Lcac;o_()I
-
copyRenderState
- Mappings:
Namespace Name Mixin selector named copyRenderStateLnet/minecraft/entity/decoration/DisplayEntity;copyRenderState()Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;intermediary method_49774Lnet/minecraft/class_8113;method_49774()Lnet/minecraft/class_8113$class_8229;official ALbzz;A()Lbzz$j;
-
getLerpedRenderState
private DisplayEntity.RenderState getLerpedRenderState(DisplayEntity.RenderState state, float lerpProgress) - Mappings:
Namespace Name Mixin selector named getLerpedRenderStateLnet/minecraft/entity/decoration/DisplayEntity;getLerpedRenderState(Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;F)Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;intermediary method_49775Lnet/minecraft/class_8113;method_49775(Lnet/minecraft/class_8113$class_8229;F)Lnet/minecraft/class_8113$class_8229;official aLbzz;a(Lbzz$j;F)Lbzz$j;
-