Class DisplayEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
DisplayEntity.BlockDisplayEntity,DisplayEntity.ItemDisplayEntity,DisplayEntity.TextDisplayEntity
- Mappings:
Namespace Name official bffintermediary net/minecraft/class_8113named net/minecraft/entity/decoration/DisplayEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classstatic enumstatic classprivate static classprivate static classprivate static classprivate static classstatic classstatic classNested 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 Stringprivate static final TrackedData<Integer>static final Stringprivate static final floatprivate static final floatprivate static final intstatic final int(package private) static final Loggerprivate longprivate final Quaternionfprivate static final TrackedData<Integer>static final Stringprivate static final TrackedData<Float>static final Stringprivate static final longprivate static final TrackedData<Integer>static final Stringprivate static final TrackedData<Long>static final Stringprotected final DisplayEntity.Interpolatorsprivate static final TrackedData<Quaternionf>private static final TrackedData<Quaternionf>private static final TrackedData<Vector3f>private static final TrackedData<Float>static final Stringprivate static final TrackedData<Float>static final Stringprivate final DisplayEntity.FloatLerperprivate final DisplayEntity.FloatLerperstatic final Stringprivate final DisplayEntity.AbstractInterpolator<AffineTransformation>private 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, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a packet to notify the clients of the entity's spawning.intprivate @Nullable Brightnessprivate floatprivate floatprivate intprivate intprivate longfloatgetLerpProgress(float float2) Returns the behavior of the piston for this entity.private floatprivate floatintReturns the team color value, or0xFFFFFFif the entity is not in a team or the color is not set.private static AffineTransformationgetTransformation(DataTracker dataTracker) private floatprotected voidInitializes data tracker.floatlerpShadowRadius(float delta) floatlerpShadowStrength(float delta) lerpTransformation(float delta) voidonDataTrackerUpdate(List<DataTracker.SerializedEntry<?>> dataEntries) voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected voidReads custom data fromnbt.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) private voidsetInterpolationStart(long interpolationStart) voidsetPitch(float pitch) voidsetPosition(double x, double y, double z) Sets the position and refreshes the bounding box.private voidsetShadowRadius(float shadowRadius) private voidsetShadowStrength(float shadowStrength) private voidsetTransformation(AffineTransformation transformation) private voidsetViewRange(float viewRange) voidsetYaw(float yaw) booleanshouldRender(double distance) voidtick()Ticks this entity.private voidprivate voidprotected voidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canSprintAsVehicle, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, extinguishWithSound, fall, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandItems, getHandPosOffset, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasPrimaryPassenger, hasVehicle, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, limitFallDistance, lookAt, method_49108, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickInVoid, tickPortal, tickPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_42397
- Mappings:
Namespace Name Mixin selector official oLbff;o:Lorg/slf4j/Logger;intermediary field_42397Lnet/minecraft/class_8113;field_42397:Lorg/slf4j/Logger;named field_42397Lnet/minecraft/entity/decoration/DisplayEntity;field_42397:Lorg/slf4j/Logger;
-
INITIAL_INTERPOLATION_START
private static final long INITIAL_INTERPOLATION_START- See Also:
- Mappings:
Namespace Name Mixin selector official pLbff;p:Jintermediary field_42398Lnet/minecraft/class_8113;field_42398:Jnamed INITIAL_INTERPOLATION_STARTLnet/minecraft/entity/decoration/DisplayEntity;INITIAL_INTERPOLATION_START:J
-
field_42384
public static final int field_42384- See Also:
- Mappings:
Namespace Name Mixin selector official bLbff;b:Iintermediary field_42384Lnet/minecraft/class_8113;field_42384:Inamed field_42384Lnet/minecraft/entity/decoration/DisplayEntity;field_42384:I
-
INTERPOLATION_START
- Mappings:
Namespace Name Mixin selector official qLbff;q:Laci;intermediary field_42399Lnet/minecraft/class_8113;field_42399:Lnet/minecraft/class_2940;named INTERPOLATION_STARTLnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_START:Lnet/minecraft/entity/data/TrackedData;
-
INTERPOLATION_DURATION
- Mappings:
Namespace Name Mixin selector official rLbff;r:Laci;intermediary field_42400Lnet/minecraft/class_8113;field_42400:Lnet/minecraft/class_2940;named INTERPOLATION_DURATIONLnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION:Lnet/minecraft/entity/data/TrackedData;
-
TRANSLATION
- Mappings:
Namespace Name Mixin selector official sLbff;s:Laci;intermediary field_42401Lnet/minecraft/class_8113;field_42401:Lnet/minecraft/class_2940;named TRANSLATIONLnet/minecraft/entity/decoration/DisplayEntity;TRANSLATION:Lnet/minecraft/entity/data/TrackedData;
-
SCALE
- Mappings:
Namespace Name Mixin selector official tLbff;t:Laci;intermediary field_42402Lnet/minecraft/class_8113;field_42402:Lnet/minecraft/class_2940;named SCALELnet/minecraft/entity/decoration/DisplayEntity;SCALE:Lnet/minecraft/entity/data/TrackedData;
-
LEFT_ROTATION
- Mappings:
Namespace Name Mixin selector official uLbff;u:Laci;intermediary field_42403Lnet/minecraft/class_8113;field_42403:Lnet/minecraft/class_2940;named LEFT_ROTATIONLnet/minecraft/entity/decoration/DisplayEntity;LEFT_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
RIGHT_ROTATION
- Mappings:
Namespace Name Mixin selector official aDLbff;aD:Laci;intermediary field_42367Lnet/minecraft/class_8113;field_42367:Lnet/minecraft/class_2940;named RIGHT_ROTATIONLnet/minecraft/entity/decoration/DisplayEntity;RIGHT_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
BILLBOARD
- Mappings:
Namespace Name Mixin selector official aELbff;aE:Laci;intermediary field_42368Lnet/minecraft/class_8113;field_42368:Lnet/minecraft/class_2940;named BILLBOARDLnet/minecraft/entity/decoration/DisplayEntity;BILLBOARD:Lnet/minecraft/entity/data/TrackedData;
-
BRIGHTNESS
- Mappings:
Namespace Name Mixin selector official aFLbff;aF:Laci;intermediary field_42369Lnet/minecraft/class_8113;field_42369:Lnet/minecraft/class_2940;named BRIGHTNESSLnet/minecraft/entity/decoration/DisplayEntity;BRIGHTNESS:Lnet/minecraft/entity/data/TrackedData;
-
VIEW_RANGE
- Mappings:
Namespace Name Mixin selector official aGLbff;aG:Laci;intermediary field_42370Lnet/minecraft/class_8113;field_42370:Lnet/minecraft/class_2940;named VIEW_RANGELnet/minecraft/entity/decoration/DisplayEntity;VIEW_RANGE:Lnet/minecraft/entity/data/TrackedData;
-
SHADOW_RADIUS
- Mappings:
Namespace Name Mixin selector official aHLbff;aH:Laci;intermediary field_42371Lnet/minecraft/class_8113;field_42371:Lnet/minecraft/class_2940;named SHADOW_RADIUSLnet/minecraft/entity/decoration/DisplayEntity;SHADOW_RADIUS:Lnet/minecraft/entity/data/TrackedData;
-
SHADOW_STRENGTH
- Mappings:
Namespace Name Mixin selector official aILbff;aI:Laci;intermediary field_42372Lnet/minecraft/class_8113;field_42372:Lnet/minecraft/class_2940;named SHADOW_STRENGTHLnet/minecraft/entity/decoration/DisplayEntity;SHADOW_STRENGTH:Lnet/minecraft/entity/data/TrackedData;
-
WIDTH
- Mappings:
Namespace Name Mixin selector official aJLbff;aJ:Laci;intermediary field_42373Lnet/minecraft/class_8113;field_42373:Lnet/minecraft/class_2940;named WIDTHLnet/minecraft/entity/decoration/DisplayEntity;WIDTH:Lnet/minecraft/entity/data/TrackedData;
-
HEIGHT
- Mappings:
Namespace Name Mixin selector official aKLbff;aK:Laci;intermediary field_42374Lnet/minecraft/class_8113;field_42374:Lnet/minecraft/class_2940;named HEIGHTLnet/minecraft/entity/decoration/DisplayEntity;HEIGHT:Lnet/minecraft/entity/data/TrackedData;
-
GLOW_COLOR_OVERRIDE
- Mappings:
Namespace Name Mixin selector official aLLbff;aL:Laci;intermediary field_42375Lnet/minecraft/class_8113;field_42375:Lnet/minecraft/class_2940;named GLOW_COLOR_OVERRIDELnet/minecraft/entity/decoration/DisplayEntity;GLOW_COLOR_OVERRIDE:Lnet/minecraft/entity/data/TrackedData;
-
field_42376
private static final float field_42376- See Also:
- Mappings:
Namespace Name Mixin selector official aMLbff;aM:Fintermediary field_42376Lnet/minecraft/class_8113;field_42376:Fnamed field_42376Lnet/minecraft/entity/decoration/DisplayEntity;field_42376:F
-
field_42377
private static final float field_42377- See Also:
- Mappings:
Namespace Name Mixin selector official aNLbff;aN:Fintermediary field_42377Lnet/minecraft/class_8113;field_42377:Fnamed field_42377Lnet/minecraft/entity/decoration/DisplayEntity;field_42377:F
-
field_42378
private static final int field_42378- See Also:
- Mappings:
Namespace Name Mixin selector official aOLbff;aO:Iintermediary field_42378Lnet/minecraft/class_8113;field_42378:Inamed field_42378Lnet/minecraft/entity/decoration/DisplayEntity;field_42378:I
-
INTERPOLATION_DURATION_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official cLbff;c:Ljava/lang/String;intermediary field_42385Lnet/minecraft/class_8113;field_42385:Ljava/lang/String;named INTERPOLATION_DURATION_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION_NBT_KEY:Ljava/lang/String;
-
INTERPOLATION_START_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official dLbff;d:Ljava/lang/String;intermediary field_42386Lnet/minecraft/class_8113;field_42386:Ljava/lang/String;named INTERPOLATION_START_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_START_NBT_KEY:Ljava/lang/String;
-
TRANSFORMATION_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official eLbff;e:Ljava/lang/String;intermediary field_42387Lnet/minecraft/class_8113;field_42387:Ljava/lang/String;named TRANSFORMATION_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;TRANSFORMATION_NBT_KEY:Ljava/lang/String;
-
BILLBOARD_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official fLbff;f:Ljava/lang/String;intermediary field_42388Lnet/minecraft/class_8113;field_42388:Ljava/lang/String;named BILLBOARD_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;BILLBOARD_NBT_KEY:Ljava/lang/String;
-
BRIGHTNESS_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official gLbff;g:Ljava/lang/String;intermediary field_42389Lnet/minecraft/class_8113;field_42389:Ljava/lang/String;named BRIGHTNESS_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;BRIGHTNESS_NBT_KEY:Ljava/lang/String;
-
VIEW_RANGE_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official hLbff;h:Ljava/lang/String;intermediary field_42390Lnet/minecraft/class_8113;field_42390:Ljava/lang/String;named VIEW_RANGE_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;VIEW_RANGE_NBT_KEY:Ljava/lang/String;
-
SHADOW_RADIUS_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official iLbff;i:Ljava/lang/String;intermediary field_42391Lnet/minecraft/class_8113;field_42391:Ljava/lang/String;named SHADOW_RADIUS_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;SHADOW_RADIUS_NBT_KEY:Ljava/lang/String;
-
SHADOW_STRENGTH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official jLbff;j:Ljava/lang/String;intermediary field_42392Lnet/minecraft/class_8113;field_42392:Ljava/lang/String;named SHADOW_STRENGTH_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;SHADOW_STRENGTH_NBT_KEY:Ljava/lang/String;
-
WIDTH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official kLbff;k:Ljava/lang/String;intermediary field_42393Lnet/minecraft/class_8113;field_42393:Ljava/lang/String;named WIDTH_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;WIDTH_NBT_KEY:Ljava/lang/String;
-
HEIGHT_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official lLbff;l:Ljava/lang/String;intermediary field_42394Lnet/minecraft/class_8113;field_42394:Ljava/lang/String;named HEIGHT_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;HEIGHT_NBT_KEY:Ljava/lang/String;
-
GLOW_COLOR_OVERRIDE_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official mLbff;m:Ljava/lang/String;intermediary field_42395Lnet/minecraft/class_8113;field_42395:Ljava/lang/String;named GLOW_COLOR_OVERRIDE_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity;GLOW_COLOR_OVERRIDE_NBT_KEY:Ljava/lang/String;
-
transformationInterpolator
- Mappings:
Namespace Name Mixin selector official aPLbff;aP:Lbff$e;intermediary field_42379Lnet/minecraft/class_8113;field_42379:Lnet/minecraft/class_8113$class_8118;named transformationInterpolatorLnet/minecraft/entity/decoration/DisplayEntity;transformationInterpolator:Lnet/minecraft/entity/decoration/DisplayEntity$AbstractInterpolator;
-
shadowRadiusLerper
- Mappings:
Namespace Name Mixin selector official aQLbff;aQ:Lbff$d;intermediary field_42380Lnet/minecraft/class_8113;field_42380:Lnet/minecraft/class_8113$class_8117;named shadowRadiusLerperLnet/minecraft/entity/decoration/DisplayEntity;shadowRadiusLerper:Lnet/minecraft/entity/decoration/DisplayEntity$FloatLerper;
-
shadowStrengthLerper
- Mappings:
Namespace Name Mixin selector official aRLbff;aR:Lbff$d;intermediary field_42381Lnet/minecraft/class_8113;field_42381:Lnet/minecraft/class_8113$class_8117;named shadowStrengthLerperLnet/minecraft/entity/decoration/DisplayEntity;shadowStrengthLerper:Lnet/minecraft/entity/decoration/DisplayEntity$FloatLerper;
-
fixedRotation
- Mappings:
Namespace Name Mixin selector official aSLbff;aS:Lorg/joml/Quaternionf;intermediary field_42382Lnet/minecraft/class_8113;field_42382:Lorg/joml/Quaternionf;named fixedRotationLnet/minecraft/entity/decoration/DisplayEntity;fixedRotation:Lorg/joml/Quaternionf;
-
interpolators
- Mappings:
Namespace Name Mixin selector official nLbff;n:Lbff$h;intermediary field_42396Lnet/minecraft/class_8113;field_42396:Lnet/minecraft/class_8113$class_8121;named interpolatorsLnet/minecraft/entity/decoration/DisplayEntity;interpolators:Lnet/minecraft/entity/decoration/DisplayEntity$Interpolators;
-
field_42620
private long field_42620- Mappings:
Namespace Name Mixin selector official aTLbff;aT:Jintermediary field_42620Lnet/minecraft/class_8113;field_42620:Jnamed field_42620Lnet/minecraft/entity/decoration/DisplayEntity;field_42620:J
-
visibilityBoundingBox
- Mappings:
Namespace Name Mixin selector official aULbff;aU:Lecw;intermediary field_42383Lnet/minecraft/class_8113;field_42383:Lnet/minecraft/class_238;named visibilityBoundingBoxLnet/minecraft/entity/decoration/DisplayEntity;visibilityBoundingBox:Lnet/minecraft/util/math/Box;
-
-
Constructor Details
-
DisplayEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbfg;<init>(Lbfk;Lcmh;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
onDataTrackerUpdate
- Overrides:
onDataTrackerUpdatein classEntity- Mappings:
Namespace Name Mixin selector official aLbfg;a(Ljava/util/List;)Vintermediary method_48850Lnet/minecraft/class_1297;method_48850(Ljava/util/List;)Vnamed onDataTrackerUpdateLnet/minecraft/entity/Entity;onDataTrackerUpdate(Ljava/util/List;)V
-
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.
- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector official aLbfg;a(Laci;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
getTransformation
- Mappings:
Namespace Name Mixin selector official aLbff;a(Lacl;)Li;intermediary method_48845Lnet/minecraft/class_8113;method_48845(Lnet/minecraft/class_2945;)Lnet/minecraft/class_4590;named getTransformationLnet/minecraft/entity/decoration/DisplayEntity;getTransformation(Lnet/minecraft/entity/data/DataTracker;)Lnet/minecraft/util/math/AffineTransformation;
-
tick
public void tick()Ticks this entity. -
initDataTracker
protected void initDataTracker()Initializes data tracker.- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official a_Lbfg;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Specified by:
readCustomDataFromNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbfg;a(Lrc;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
setTransformation
- Mappings:
Namespace Name Mixin selector official aLbff;a(Li;)Vintermediary method_48849Lnet/minecraft/class_8113;method_48849(Lnet/minecraft/class_4590;)Vnamed setTransformationLnet/minecraft/entity/decoration/DisplayEntity;setTransformation(Lnet/minecraft/util/math/AffineTransformation;)V
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Specified by:
writeCustomDataToNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbfg;b(Lrc;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
createSpawnPacket
Returns a packet to notify the clients of the entity's spawning.- Overrides:
createSpawnPacketin classEntity- Returns:
- a packet to notify the clients of the entity's spawning
- Mappings:
Namespace Name Mixin selector official TLbfg;T()Luz;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/packet/Packet;
-
getVisibilityBoundingBox
- Overrides:
getVisibilityBoundingBoxin classEntity- Mappings:
Namespace Name Mixin selector official A_Lbfg;A_()Lecw;intermediary method_5830Lnet/minecraft/class_1297;method_5830()Lnet/minecraft/class_238;named getVisibilityBoundingBoxLnet/minecraft/entity/Entity;getVisibilityBoundingBox()Lnet/minecraft/util/math/Box;
-
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 official C_Lbfg;C_()Ldwm;intermediary method_5657Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;named getPistonBehaviorLnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
-
getFixedRotation
- Mappings:
Namespace Name Mixin selector official iLbff;i()Lorg/joml/Quaternionf;intermediary method_48863Lnet/minecraft/class_8113;method_48863()Lorg/joml/Quaternionf;named getFixedRotationLnet/minecraft/entity/decoration/DisplayEntity;getFixedRotation()Lorg/joml/Quaternionf;
-
lerpTransformation
- Mappings:
Namespace Name Mixin selector official aLbff;a(F)Li;intermediary method_48842Lnet/minecraft/class_8113;method_48842(F)Lnet/minecraft/class_4590;named lerpTransformationLnet/minecraft/entity/decoration/DisplayEntity;lerpTransformation(F)Lnet/minecraft/util/math/AffineTransformation;
-
setInterpolationDuration
private void setInterpolationDuration(int interpolationDuration) - Mappings:
Namespace Name Mixin selector official bLbff;b(I)Vintermediary method_48853Lnet/minecraft/class_8113;method_48853(I)Vnamed setInterpolationDurationLnet/minecraft/entity/decoration/DisplayEntity;setInterpolationDuration(I)V
-
getInterpolationDuration
private int getInterpolationDuration()- Mappings:
Namespace Name Mixin selector official oLbff;o()Iintermediary method_48866Lnet/minecraft/class_8113;method_48866()Inamed getInterpolationDurationLnet/minecraft/entity/decoration/DisplayEntity;getInterpolationDuration()I
-
setInterpolationStart
private void setInterpolationStart(long interpolationStart) - Mappings:
Namespace Name Mixin selector official aLbff;a(J)Vintermediary method_48843Lnet/minecraft/class_8113;method_48843(J)Vnamed setInterpolationStartLnet/minecraft/entity/decoration/DisplayEntity;setInterpolationStart(J)V
-
getInterpolationStart
private long getInterpolationStart()- Mappings:
Namespace Name Mixin selector official pLbff;p()Jintermediary method_48867Lnet/minecraft/class_8113;method_48867()Jnamed getInterpolationStartLnet/minecraft/entity/decoration/DisplayEntity;getInterpolationStart()J
-
setBillboardMode
- Mappings:
Namespace Name Mixin selector official aLbff;a(Lbff$a;)Vintermediary method_48847Lnet/minecraft/class_8113;method_48847(Lnet/minecraft/class_8113$class_8114;)Vnamed setBillboardModeLnet/minecraft/entity/decoration/DisplayEntity;setBillboardMode(Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;)V
-
getBillboardMode
- Mappings:
Namespace Name Mixin selector official jLbff;j()Lbff$a;intermediary method_48864Lnet/minecraft/class_8113;method_48864()Lnet/minecraft/class_8113$class_8114;named getBillboardModeLnet/minecraft/entity/decoration/DisplayEntity;getBillboardMode()Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;
-
setBrightness
- Mappings:
Namespace Name Mixin selector official aLbff;a(Laoa;)Vintermediary method_48846Lnet/minecraft/class_8113;method_48846(Lnet/minecraft/class_8104;)Vnamed setBrightnessLnet/minecraft/entity/decoration/DisplayEntity;setBrightness(Lnet/minecraft/entity/decoration/Brightness;)V
-
getBrightnessUnpacked
- Mappings:
Namespace Name Mixin selector official rLbff;r()Laoa;intermediary method_48868Lnet/minecraft/class_8113;method_48868()Lnet/minecraft/class_8104;named getBrightnessUnpackedLnet/minecraft/entity/decoration/DisplayEntity;getBrightnessUnpacked()Lnet/minecraft/entity/decoration/Brightness;
-
getBrightness
public int getBrightness()- Mappings:
Namespace Name Mixin selector official kLbff;k()Iintermediary method_48865Lnet/minecraft/class_8113;method_48865()Inamed getBrightnessLnet/minecraft/entity/decoration/DisplayEntity;getBrightness()I
-
setViewRange
private void setViewRange(float viewRange) - Mappings:
Namespace Name Mixin selector official gLbff;g(F)Vintermediary method_48861Lnet/minecraft/class_8113;method_48861(F)Vnamed setViewRangeLnet/minecraft/entity/decoration/DisplayEntity;setViewRange(F)V
-
getViewRange
private float getViewRange()- Mappings:
Namespace Name Mixin selector official sLbff;s()Fintermediary method_48869Lnet/minecraft/class_8113;method_48869()Fnamed getViewRangeLnet/minecraft/entity/decoration/DisplayEntity;getViewRange()F
-
setShadowRadius
private void setShadowRadius(float shadowRadius) - Mappings:
Namespace Name Mixin selector official hLbff;h(F)Vintermediary method_48862Lnet/minecraft/class_8113;method_48862(F)Vnamed setShadowRadiusLnet/minecraft/entity/decoration/DisplayEntity;setShadowRadius(F)V
-
getShadowRadius
private float getShadowRadius()- Mappings:
Namespace Name Mixin selector official tLbff;t()Fintermediary method_48870Lnet/minecraft/class_8113;method_48870()Fnamed getShadowRadiusLnet/minecraft/entity/decoration/DisplayEntity;getShadowRadius()F
-
lerpShadowRadius
public float lerpShadowRadius(float delta) - Mappings:
Namespace Name Mixin selector official bLbff;b(F)Fintermediary method_48852Lnet/minecraft/class_8113;method_48852(F)Fnamed lerpShadowRadiusLnet/minecraft/entity/decoration/DisplayEntity;lerpShadowRadius(F)F
-
setShadowStrength
private void setShadowStrength(float shadowStrength) - Mappings:
Namespace Name Mixin selector official vLbff;v(F)Vintermediary method_48872Lnet/minecraft/class_8113;method_48872(F)Vnamed setShadowStrengthLnet/minecraft/entity/decoration/DisplayEntity;setShadowStrength(F)V
-
getShadowStrength
private float getShadowStrength()- Mappings:
Namespace Name Mixin selector official uLbff;u()Fintermediary method_48871Lnet/minecraft/class_8113;method_48871()Fnamed getShadowStrengthLnet/minecraft/entity/decoration/DisplayEntity;getShadowStrength()F
-
lerpShadowStrength
public float lerpShadowStrength(float delta) - Mappings:
Namespace Name Mixin selector official cLbff;c(F)Fintermediary method_48857Lnet/minecraft/class_8113;method_48857(F)Fnamed lerpShadowStrengthLnet/minecraft/entity/decoration/DisplayEntity;lerpShadowStrength(F)F
-
setDIsplayWidth
private void setDIsplayWidth(float width) - Mappings:
Namespace Name Mixin selector official wLbff;w(F)Vintermediary method_48873Lnet/minecraft/class_8113;method_48873(F)Vnamed setDIsplayWidthLnet/minecraft/entity/decoration/DisplayEntity;setDIsplayWidth(F)V
-
getDisplayWidth
private float getDisplayWidth()- Mappings:
Namespace Name Mixin selector official wLbff;w()Fintermediary method_48874Lnet/minecraft/class_8113;method_48874()Fnamed getDisplayWidthLnet/minecraft/entity/decoration/DisplayEntity;getDisplayWidth()F
-
setDisplayHeight
private void setDisplayHeight(float height) - Mappings:
Namespace Name Mixin selector official xLbff;x(F)Vintermediary method_48875Lnet/minecraft/class_8113;method_48875(F)Vnamed setDisplayHeightLnet/minecraft/entity/decoration/DisplayEntity;setDisplayHeight(F)V
-
getGlowColorOverride
private int getGlowColorOverride()- Mappings:
Namespace Name Mixin selector official xLbff;x()Iintermediary method_48876Lnet/minecraft/class_8113;method_48876()Inamed getGlowColorOverrideLnet/minecraft/entity/decoration/DisplayEntity;getGlowColorOverride()I
-
setGlowColorOverride
private void setGlowColorOverride(int glowColorOverride) - Mappings:
Namespace Name Mixin selector official cLbff;c(I)Vintermediary method_48858Lnet/minecraft/class_8113;method_48858(I)Vnamed setGlowColorOverrideLnet/minecraft/entity/decoration/DisplayEntity;setGlowColorOverride(I)V
-
getLerpProgress
public float getLerpProgress(float float2) - Mappings:
Namespace Name Mixin selector official dLbff;d(F)Fintermediary method_48844Lnet/minecraft/class_8113;method_48844(F)Fnamed getLerpProgressLnet/minecraft/entity/decoration/DisplayEntity;getLerpProgress(F)F
-
getDisplayHeight
private float getDisplayHeight()- Mappings:
Namespace Name Mixin selector official yLbff;y()Fintermediary method_48877Lnet/minecraft/class_8113;method_48877()Fnamed getDisplayHeightLnet/minecraft/entity/decoration/DisplayEntity;getDisplayHeight()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 official eLbfg;e(DDD)Vintermediary method_5814Lnet/minecraft/class_1297;method_5814(DDD)Vnamed setPositionLnet/minecraft/entity/Entity;setPosition(DDD)V
-
updateVisibilityBoundingBox
private void updateVisibilityBoundingBox()- Mappings:
Namespace Name Mixin selector official zLbff;z()Vintermediary method_48878Lnet/minecraft/class_8113;method_48878()Vnamed updateVisibilityBoundingBoxLnet/minecraft/entity/decoration/DisplayEntity;updateVisibilityBoundingBox()V
-
setPitch
public void setPitch(float pitch) -
setYaw
public void setYaw(float yaw) -
updateFixedRotation
private void updateFixedRotation()- Mappings:
Namespace Name Mixin selector official ALbff;A()Vintermediary method_48841Lnet/minecraft/class_8113;method_48841()Vnamed updateFixedRotationLnet/minecraft/entity/decoration/DisplayEntity;updateFixedRotation()V
-
shouldRender
public boolean shouldRender(double distance) - Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLbfg;a(D)Zintermediary method_5640Lnet/minecraft/class_1297;method_5640(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(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 official B_Lbfg;B_()Iintermediary method_22861Lnet/minecraft/class_1297;method_22861()Inamed getTeamColorValueLnet/minecraft/entity/Entity;getTeamColorValue()I
-