Package net.minecraft.entity.decoration
Class DisplayEntity.TextDisplayEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.DisplayEntity
net.minecraft.entity.decoration.DisplayEntity.TextDisplayEntity
- All Implemented Interfaces:
ComponentsAccess,DataTracked,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable
- Enclosing class:
DisplayEntity
- Mappings:
Namespace Name named net/minecraft/entity/decoration/DisplayEntity$TextDisplayEntityintermediary net/minecraft/class_8113$class_8123official bxp$k
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic interfacestatic enumstatic final recordstatic final recordNested classes/interfaces inherited from class net.minecraft.entity.decoration.DisplayEntity
DisplayEntity.AbstractInterpolator<T>, DisplayEntity.BillboardMode, DisplayEntity.BlockDisplayEntity, DisplayEntity.FloatLerper, DisplayEntity.IntLerper, DisplayEntity.ItemDisplayEntity, DisplayEntity.RenderState, DisplayEntity.TextDisplayEntityNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final TrackedData<Integer> private static final Stringstatic final byteprivate static final Stringprivate static final intstatic final intprivate static final bytestatic final byteprivate static final TrackedData<Integer> private static final Stringstatic final bytestatic final byteprivate static final Stringstatic final byteprivate static final Stringprivate static final TrackedData<Text> private static final TrackedData<Byte> static final Stringprivate static final TrackedData<Byte> private static final Stringprivate static final IntSetFields inherited from class net.minecraft.entity.decoration.DisplayEntity
BILLBOARD_NBT_KEY, BRIGHTNESS_NBT_KEY, field_42384, GLOW_COLOR_OVERRIDE_NBT_KEY, HEIGHT_NBT_KEY, INTERPOLATION_DURATION_KEY, LOGGER, renderingDataSet, SHADOW_RADIUS_NBT_KEY, SHADOW_STRENGTH_NBT_KEY, START_INTERPOLATION_KEY, TELEPORT_DURATION_KEY, TRANSFORMATION_NBT_KEY, VIEW_RANGE_NBT_KEY, WIDTH_NBT_KEYFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, random, ridingCooldown, 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 TypeMethodDescriptioncopyData()getAlignment(byte flags) private intgetData()private bytegetLerpedRenderState(DisplayEntity.TextDisplayEntity.Data data, float lerpProgress) private intprivate TextgetText()private byteprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected voidreadCustomData(ReadView view) private static byteprotected voidrefreshData(boolean shouldLerp, float lerpProgress) private voidsetBackground(int background) private voidsetDisplayFlags(byte flags) private voidsetLineWidth(int lineWidth) private voidprivate voidsetTextOpacity(byte textOpacity) protected voidwriteCustomData(WriteView view) private static voidMethods inherited from class net.minecraft.entity.decoration.DisplayEntity
canAvoidTraps, damage, getInterpolator, getLerpProgress, getPistonBehavior, getRenderState, getTeamColorValue, getVisibilityBoundingBox, setPosition, shouldRender, shouldRender, tickMethods 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, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, 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, getEntityWorld, 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, 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.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
TEXT_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named TEXT_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT_NBT_KEY:Ljava/lang/String;intermediary field_42443Lnet/minecraft/class_8113$class_8123;field_42443:Ljava/lang/String;official oLbxp$k;o:Ljava/lang/String;
-
LINE_WIDTH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named LINE_WIDTH_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;LINE_WIDTH_NBT_KEY:Ljava/lang/String;intermediary field_42427Lnet/minecraft/class_8113$class_8123;field_42427:Ljava/lang/String;official ayLbxp$k;ay:Ljava/lang/String;
-
TEXT_OPACITY_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named TEXT_OPACITY_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT_OPACITY_NBT_KEY:Ljava/lang/String;intermediary field_42428Lnet/minecraft/class_8113$class_8123;field_42428:Ljava/lang/String;official azLbxp$k;az:Ljava/lang/String;
-
BACKGROUND_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BACKGROUND_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;BACKGROUND_NBT_KEY:Ljava/lang/String;intermediary field_42429Lnet/minecraft/class_8113$class_8123;field_42429:Ljava/lang/String;official aALbxp$k;aA:Ljava/lang/String;
-
SHADOW_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SHADOW_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;SHADOW_NBT_KEY:Ljava/lang/String;intermediary field_42430Lnet/minecraft/class_8113$class_8123;field_42430:Ljava/lang/String;official aBLbxp$k;aB:Ljava/lang/String;
-
SEE_THROUGH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SEE_THROUGH_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;SEE_THROUGH_NBT_KEY:Ljava/lang/String;intermediary field_42431Lnet/minecraft/class_8113$class_8123;field_42431:Ljava/lang/String;official aCLbxp$k;aC:Ljava/lang/String;
-
DEFAULT_BACKGROUND_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_BACKGROUND_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;DEFAULT_BACKGROUND_NBT_KEY:Ljava/lang/String;intermediary field_42432Lnet/minecraft/class_8113$class_8123;field_42432:Ljava/lang/String;official aDLbxp$k;aD:Ljava/lang/String;
-
ALIGNMENT_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ALIGNMENT_NBT_KEYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;ALIGNMENT_NBT_KEY:Ljava/lang/String;intermediary field_42433Lnet/minecraft/class_8113$class_8123;field_42433:Ljava/lang/String;official aELbxp$k;aE:Ljava/lang/String;
-
SHADOW_FLAG
public static final byte SHADOW_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named SHADOW_FLAGLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;SHADOW_FLAG:Bintermediary field_42444Lnet/minecraft/class_8113$class_8123;field_42444:Bofficial pLbxp$k;p:B
-
SEE_THROUGH_FLAG
public static final byte SEE_THROUGH_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named SEE_THROUGH_FLAGLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;SEE_THROUGH_FLAG:Bintermediary field_42445Lnet/minecraft/class_8113$class_8123;field_42445:Bofficial qLbxp$k;q:B
-
DEFAULT_BACKGROUND_FLAG
public static final byte DEFAULT_BACKGROUND_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_BACKGROUND_FLAGLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;DEFAULT_BACKGROUND_FLAG:Bintermediary field_42446Lnet/minecraft/class_8113$class_8123;field_42446:Bofficial rLbxp$k;r:B
-
LEFT_ALIGNMENT_FLAG
public static final byte LEFT_ALIGNMENT_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named LEFT_ALIGNMENT_FLAGLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;LEFT_ALIGNMENT_FLAG:Bintermediary field_42447Lnet/minecraft/class_8113$class_8123;field_42447:Bofficial sLbxp$k;s:B
-
RIGHT_ALIGNMENT_FLAG
public static final byte RIGHT_ALIGNMENT_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named RIGHT_ALIGNMENT_FLAGLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;RIGHT_ALIGNMENT_FLAG:Bintermediary field_42448Lnet/minecraft/class_8113$class_8123;field_42448:Bofficial tLbxp$k;t:B
-
INITIAL_TEXT_OPACITY
private static final byte INITIAL_TEXT_OPACITY- See Also:
- Mappings:
Namespace Name Mixin selector named INITIAL_TEXT_OPACITYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;INITIAL_TEXT_OPACITY:Bintermediary field_42434Lnet/minecraft/class_8113$class_8123;field_42434:Bofficial aFLbxp$k;aF:B
-
INITIAL_BACKGROUND
public static final int INITIAL_BACKGROUND- See Also:
- Mappings:
Namespace Name Mixin selector named INITIAL_BACKGROUNDLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;INITIAL_BACKGROUND:Iintermediary field_42449Lnet/minecraft/class_8113$class_8123;field_42449:Iofficial uLbxp$k;u:I
-
DEFAULT_LINE_WIDTH
private static final int DEFAULT_LINE_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_LINE_WIDTHLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;DEFAULT_LINE_WIDTH:Iintermediary field_57578Lnet/minecraft/class_8113$class_8123;field_57578:Iofficial aGLbxp$k;aG:I
-
TEXT
- Mappings:
Namespace Name Mixin selector named TEXTLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT:Lnet/minecraft/entity/data/TrackedData;intermediary field_42435Lnet/minecraft/class_8113$class_8123;field_42435:Lnet/minecraft/class_2940;official aHLbxp$k;aH:Lakz;
-
LINE_WIDTH
- Mappings:
Namespace Name Mixin selector named LINE_WIDTHLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;LINE_WIDTH:Lnet/minecraft/entity/data/TrackedData;intermediary field_42436Lnet/minecraft/class_8113$class_8123;field_42436:Lnet/minecraft/class_2940;official aILbxp$k;aI:Lakz;
-
BACKGROUND
- Mappings:
Namespace Name Mixin selector named BACKGROUNDLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;BACKGROUND:Lnet/minecraft/entity/data/TrackedData;intermediary field_42437Lnet/minecraft/class_8113$class_8123;field_42437:Lnet/minecraft/class_2940;official aJLbxp$k;aJ:Lakz;
-
TEXT_OPACITY
- Mappings:
Namespace Name Mixin selector named TEXT_OPACITYLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT_OPACITY:Lnet/minecraft/entity/data/TrackedData;intermediary field_42438Lnet/minecraft/class_8113$class_8123;field_42438:Lnet/minecraft/class_2940;official aKLbxp$k;aK:Lakz;
-
TEXT_DISPLAY_FLAGS
- Mappings:
Namespace Name Mixin selector named TEXT_DISPLAY_FLAGSLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT_DISPLAY_FLAGS:Lnet/minecraft/entity/data/TrackedData;intermediary field_42439Lnet/minecraft/class_8113$class_8123;field_42439:Lnet/minecraft/class_2940;official aLLbxp$k;aL:Lakz;
-
TEXT_RENDERING_DATA_IDS
- Mappings:
Namespace Name Mixin selector named TEXT_RENDERING_DATA_IDSLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT_RENDERING_DATA_IDS:Lit/unimi/dsi/fastutil/ints/IntSet;intermediary field_43188Lnet/minecraft/class_8113$class_8123;field_43188:Lit/unimi/dsi/fastutil/ints/IntSet;official aMLbxp$k;aM:Lit/unimi/dsi/fastutil/ints/IntSet;
-
textLines
- Mappings:
Namespace Name Mixin selector named textLinesLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;textLines:Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextLines;intermediary field_42442Lnet/minecraft/class_8113$class_8123;field_42442:Lnet/minecraft/class_8113$class_8123$class_8125;official aNLbxp$k;aN:Lbxp$k$b;
-
data
- Mappings:
Namespace Name Mixin selector named dataLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;data:Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$Data;intermediary field_43189Lnet/minecraft/class_8113$class_8123;field_43189:Lnet/minecraft/class_8113$class_8123$class_8230;official aOLbxp$k;aO:Lbxp$k$e;
-
-
Constructor Details
-
TextDisplayEntity
- 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>Lbxs;<init>(Lbyb;Ldkz;)V
-
-
Method Details
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classDisplayEntity- 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 aLbxs;a(Lald$a;)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.
- Specified by:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classDisplayEntity- 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 aLalc;a(Lakz;)V
-
getText
- Mappings:
Namespace Name Mixin selector named getTextLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getText()Lnet/minecraft/text/Text;intermediary method_48915Lnet/minecraft/class_8113$class_8123;method_48915()Lnet/minecraft/class_2561;official mLbxp$k;m()Lxk;
-
setText
- Mappings:
Namespace Name Mixin selector named setTextLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setText(Lnet/minecraft/text/Text;)Vintermediary method_48911Lnet/minecraft/class_8113$class_8123;method_48911(Lnet/minecraft/class_2561;)Vofficial aLbxp$k;a(Lxk;)V
-
getLineWidth
private int getLineWidth()- Mappings:
Namespace Name Mixin selector named getLineWidthLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getLineWidth()Iintermediary method_48916Lnet/minecraft/class_8113$class_8123;method_48916()Iofficial nLbxp$k;n()I
-
setLineWidth
private void setLineWidth(int lineWidth) - Mappings:
Namespace Name Mixin selector named setLineWidthLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setLineWidth(I)Vintermediary method_48908Lnet/minecraft/class_8113$class_8123;method_48908(I)Vofficial bLbxp$k;b(I)V
-
getTextOpacity
private byte getTextOpacity()- Mappings:
Namespace Name Mixin selector named getTextOpacityLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getTextOpacity()Bintermediary method_48918Lnet/minecraft/class_8113$class_8123;method_48918()Bofficial pLbxp$k;p()B
-
setTextOpacity
private void setTextOpacity(byte textOpacity) - Mappings:
Namespace Name Mixin selector named setTextOpacityLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setTextOpacity(B)Vintermediary method_48909Lnet/minecraft/class_8113$class_8123;method_48909(B)Vofficial cLbxp$k;c(B)V
-
getBackground
private int getBackground()- Mappings:
Namespace Name Mixin selector named getBackgroundLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getBackground()Iintermediary method_48919Lnet/minecraft/class_8113$class_8123;method_48919()Iofficial qLbxp$k;q()I
-
setBackground
private void setBackground(int background) - Mappings:
Namespace Name Mixin selector named setBackgroundLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setBackground(I)Vintermediary method_48910Lnet/minecraft/class_8113$class_8123;method_48910(I)Vofficial cLbxp$k;c(I)V
-
getDisplayFlags
private byte getDisplayFlags()- Mappings:
Namespace Name Mixin selector named getDisplayFlagsLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getDisplayFlags()Bintermediary method_48917Lnet/minecraft/class_8113$class_8123;method_48917()Bofficial sLbxp$k;s()B
-
setDisplayFlags
private void setDisplayFlags(byte flags) - Mappings:
Namespace Name Mixin selector named setDisplayFlagsLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setDisplayFlags(B)Vintermediary method_48912Lnet/minecraft/class_8113$class_8123;method_48912(B)Vofficial dLbxp$k;d(B)V
-
readFlag
- Mappings:
Namespace Name Mixin selector named readFlagLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;readFlag(BLnet/minecraft/storage/ReadView;Ljava/lang/String;B)Bintermediary method_48903Lnet/minecraft/class_8113$class_8123;method_48903(BLnet/minecraft/class_11368;Ljava/lang/String;B)Bofficial aLbxp$k;a(BLfbf;Ljava/lang/String;B)B
-
readCustomData
- Overrides:
readCustomDatain classDisplayEntity- 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 aLbxs;a(Lfbf;)V
-
writeFlag
- Mappings:
Namespace Name Mixin selector named writeFlagLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;writeFlag(BLnet/minecraft/storage/WriteView;Ljava/lang/String;B)Vintermediary method_48907Lnet/minecraft/class_8113$class_8123;method_48907(BLnet/minecraft/class_11372;Ljava/lang/String;B)Vofficial aLbxp$k;a(BLfbh;Ljava/lang/String;B)V
-
writeCustomData
- Overrides:
writeCustomDatain classDisplayEntity- 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 aLbxs;a(Lfbh;)V
-
refreshData
protected void refreshData(boolean shouldLerp, float lerpProgress) - Specified by:
refreshDatain classDisplayEntity- Mappings:
Namespace Name Mixin selector named refreshDataLnet/minecraft/entity/decoration/DisplayEntity;refreshData(ZF)Vintermediary method_49776Lnet/minecraft/class_8113;method_49776(ZF)Vofficial aLbxp;a(ZF)V
-
getData
- Mappings:
Namespace Name Mixin selector named getDataLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getData()Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$Data;intermediary method_49784Lnet/minecraft/class_8113$class_8123;method_49784()Lnet/minecraft/class_8113$class_8123$class_8230;official lLbxp$k;l()Lbxp$k$e;
-
copyData
- Mappings:
Namespace Name Mixin selector named copyDataLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;copyData()Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$Data;intermediary method_49785Lnet/minecraft/class_8113$class_8123;method_49785()Lnet/minecraft/class_8113$class_8123$class_8230;official tLbxp$k;t()Lbxp$k$e;
-
getLerpedRenderState
private DisplayEntity.TextDisplayEntity.Data getLerpedRenderState(DisplayEntity.TextDisplayEntity.Data data, float lerpProgress) - Mappings:
Namespace Name Mixin selector named getLerpedRenderStateLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getLerpedRenderState(Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$Data;F)Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$Data;intermediary method_49783Lnet/minecraft/class_8113$class_8123;method_49783(Lnet/minecraft/class_8113$class_8123$class_8230;F)Lnet/minecraft/class_8113$class_8123$class_8230;official aLbxp$k;a(Lbxp$k$e;F)Lbxp$k$e;
-
splitLines
public DisplayEntity.TextDisplayEntity.TextLines splitLines(DisplayEntity.TextDisplayEntity.LineSplitter splitter) - Mappings:
Namespace Name Mixin selector named splitLinesLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;splitLines(Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$LineSplitter;)Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextLines;intermediary method_48905Lnet/minecraft/class_8113$class_8123;method_48905(Lnet/minecraft/class_8113$class_8123$class_8127;)Lnet/minecraft/class_8113$class_8123$class_8125;official aLbxp$k;a(Lbxp$k$d;)Lbxp$k$b;
-
getAlignment
- Mappings:
Namespace Name Mixin selector named getAlignmentLnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getAlignment(B)Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;intermediary method_48902Lnet/minecraft/class_8113$class_8123;method_48902(B)Lnet/minecraft/class_8113$class_8123$class_8124;official aLbxp$k;a(B)Lbxp$k$a;
-