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:
CommandOutput
,Nameable
,EntityLike
- Enclosing class:
DisplayEntity
- Mappings:
Namespace Name official bfg$k
intermediary net/minecraft/class_8113$class_8123
named net/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static enum
static final record
static final record
Nested classes/interfaces inherited from class net.minecraft.entity.decoration.DisplayEntity
DisplayEntity.BillboardMode, DisplayEntity.BlockDisplayEntity, DisplayEntity.ItemDisplayEntity, DisplayEntity.TextDisplayEntity
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final TrackedData<Integer>
private static final String
private final DisplayEntity.IntLerper
static final byte
private static final String
static final int
private static final byte
static final byte
private static final TrackedData<Integer>
private static final String
static final byte
static final byte
private static final String
static final byte
private static final String
private static final TrackedData<Text>
private static final TrackedData<Byte>
static final String
private static final TrackedData<Byte>
private static final String
private final DisplayEntity.IntLerper
Fields inherited from class net.minecraft.entity.decoration.DisplayEntity
BILLBOARD_NBT_KEY, BRIGHTNESS_NBT_KEY, field_42384, field_42397, GLOW_COLOR_OVERRIDE_NBT_KEY, HEIGHT_NBT_KEY, INTERPOLATION_DURATION_NBT_KEY, interpolators, SHADOW_RADIUS_NBT_KEY, SHADOW_STRENGTH_NBT_KEY, START_INTERPOLATION_KEY, TRANSFORMATION_NBT_KEY, VIEW_RANGE_NBT_KEY, WIDTH_NBT_KEY
Fields 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, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAlignment
(byte flags) private int
byte
int
getText()
private byte
protected void
Initializes data tracker.int
lerpBackground
(float delta) byte
lerpTextOpacity
(float delta) void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.protected void
Reads custom data fromnbt
.private static byte
readFlag
(byte flags, NbtCompound nbt, String nbtKey, byte flag) private void
setBackground
(int background) private void
setDisplayFlags
(byte flags) private void
setLineWidth
(int lineWidth) private void
private void
setTextOpacity
(byte textOpacity) protected void
Writes custom data tonbt
.private static void
writeFlag
(byte flags, NbtCompound nbt, String nbtKey, byte flag) Methods inherited from class net.minecraft.entity.decoration.DisplayEntity
createSpawnPacket, getBillboardMode, getBrightness, getFixedRotation, getLerpProgress, getPistonBehavior, getTeamColorValue, getVisibilityBoundingBox, lerpShadowRadius, lerpShadowStrength, lerpTransformation, onDataTrackerUpdate, setPitch, setPosition, setYaw, shouldRender, tick
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, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canMoveVoluntarily, 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, getControllingPassenger, getControllingVehicle, 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, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, 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, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, 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, 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, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldDismountUnderwater, 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, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
TEXT_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official o
Lbfg$k;o:Ljava/lang/String;
intermediary field_42443
Lnet/minecraft/class_8113$class_8123;field_42443:Ljava/lang/String;
named TEXT_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT_NBT_KEY:Ljava/lang/String;
-
LINE_WIDTH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official aC
Lbfg$k;aC:Ljava/lang/String;
intermediary field_42427
Lnet/minecraft/class_8113$class_8123;field_42427:Ljava/lang/String;
named LINE_WIDTH_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;LINE_WIDTH_NBT_KEY:Ljava/lang/String;
-
TEXT_OPACITY_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official aD
Lbfg$k;aD:Ljava/lang/String;
intermediary field_42428
Lnet/minecraft/class_8113$class_8123;field_42428:Ljava/lang/String;
named TEXT_OPACITY_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT_OPACITY_NBT_KEY:Ljava/lang/String;
-
BACKGROUND_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official aE
Lbfg$k;aE:Ljava/lang/String;
intermediary field_42429
Lnet/minecraft/class_8113$class_8123;field_42429:Ljava/lang/String;
named BACKGROUND_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;BACKGROUND_NBT_KEY:Ljava/lang/String;
-
SHADOW_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official aF
Lbfg$k;aF:Ljava/lang/String;
intermediary field_42430
Lnet/minecraft/class_8113$class_8123;field_42430:Ljava/lang/String;
named SHADOW_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;SHADOW_NBT_KEY:Ljava/lang/String;
-
SEE_THROUGH_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official aG
Lbfg$k;aG:Ljava/lang/String;
intermediary field_42431
Lnet/minecraft/class_8113$class_8123;field_42431:Ljava/lang/String;
named SEE_THROUGH_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;SEE_THROUGH_NBT_KEY:Ljava/lang/String;
-
DEFAULT_BACKGROUND_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official aH
Lbfg$k;aH:Ljava/lang/String;
intermediary field_42432
Lnet/minecraft/class_8113$class_8123;field_42432:Ljava/lang/String;
named DEFAULT_BACKGROUND_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;DEFAULT_BACKGROUND_NBT_KEY:Ljava/lang/String;
-
ALIGNMENT_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official aI
Lbfg$k;aI:Ljava/lang/String;
intermediary field_42433
Lnet/minecraft/class_8113$class_8123;field_42433:Ljava/lang/String;
named ALIGNMENT_NBT_KEY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;ALIGNMENT_NBT_KEY:Ljava/lang/String;
-
SHADOW_FLAG
public static final byte SHADOW_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official p
Lbfg$k;p:B
intermediary field_42444
Lnet/minecraft/class_8113$class_8123;field_42444:B
named SHADOW_FLAG
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;SHADOW_FLAG:B
-
SEE_THROUGH_FLAG
public static final byte SEE_THROUGH_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official q
Lbfg$k;q:B
intermediary field_42445
Lnet/minecraft/class_8113$class_8123;field_42445:B
named SEE_THROUGH_FLAG
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;SEE_THROUGH_FLAG:B
-
DEFAULT_BACKGROUND_FLAG
public static final byte DEFAULT_BACKGROUND_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official r
Lbfg$k;r:B
intermediary field_42446
Lnet/minecraft/class_8113$class_8123;field_42446:B
named DEFAULT_BACKGROUND_FLAG
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;DEFAULT_BACKGROUND_FLAG:B
-
LEFT_ALIGNMENT_FLAG
public static final byte LEFT_ALIGNMENT_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official s
Lbfg$k;s:B
intermediary field_42447
Lnet/minecraft/class_8113$class_8123;field_42447:B
named LEFT_ALIGNMENT_FLAG
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;LEFT_ALIGNMENT_FLAG:B
-
RIGHT_ALIGNMENT_FLAG
public static final byte RIGHT_ALIGNMENT_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official t
Lbfg$k;t:B
intermediary field_42448
Lnet/minecraft/class_8113$class_8123;field_42448:B
named RIGHT_ALIGNMENT_FLAG
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;RIGHT_ALIGNMENT_FLAG:B
-
INITIAL_TEXT_OPACITY
private static final byte INITIAL_TEXT_OPACITY- See Also:
- Mappings:
Namespace Name Mixin selector official aJ
Lbfg$k;aJ:B
intermediary field_42434
Lnet/minecraft/class_8113$class_8123;field_42434:B
named INITIAL_TEXT_OPACITY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;INITIAL_TEXT_OPACITY:B
-
INITIAL_BACKGROUND
public static final int INITIAL_BACKGROUND- See Also:
- Mappings:
Namespace Name Mixin selector official u
Lbfg$k;u:I
intermediary field_42449
Lnet/minecraft/class_8113$class_8123;field_42449:I
named INITIAL_BACKGROUND
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;INITIAL_BACKGROUND:I
-
TEXT
- Mappings:
Namespace Name Mixin selector official aK
Lbfg$k;aK:Lacl;
intermediary field_42435
Lnet/minecraft/class_8113$class_8123;field_42435:Lnet/minecraft/class_2940;
named TEXT
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT:Lnet/minecraft/entity/data/TrackedData;
-
LINE_WIDTH
- Mappings:
Namespace Name Mixin selector official aL
Lbfg$k;aL:Lacl;
intermediary field_42436
Lnet/minecraft/class_8113$class_8123;field_42436:Lnet/minecraft/class_2940;
named LINE_WIDTH
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;LINE_WIDTH:Lnet/minecraft/entity/data/TrackedData;
-
BACKGROUND
- Mappings:
Namespace Name Mixin selector official aM
Lbfg$k;aM:Lacl;
intermediary field_42437
Lnet/minecraft/class_8113$class_8123;field_42437:Lnet/minecraft/class_2940;
named BACKGROUND
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;BACKGROUND:Lnet/minecraft/entity/data/TrackedData;
-
TEXT_OPACITY
- Mappings:
Namespace Name Mixin selector official aN
Lbfg$k;aN:Lacl;
intermediary field_42438
Lnet/minecraft/class_8113$class_8123;field_42438:Lnet/minecraft/class_2940;
named TEXT_OPACITY
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT_OPACITY:Lnet/minecraft/entity/data/TrackedData;
-
TEXT_DISPLAY_FLAGS
- Mappings:
Namespace Name Mixin selector official aO
Lbfg$k;aO:Lacl;
intermediary field_42439
Lnet/minecraft/class_8113$class_8123;field_42439:Lnet/minecraft/class_2940;
named TEXT_DISPLAY_FLAGS
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;TEXT_DISPLAY_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
textOpacityLerper
- Mappings:
Namespace Name Mixin selector official aP
Lbfg$k;aP:Lbfg$f;
intermediary field_42440
Lnet/minecraft/class_8113$class_8123;field_42440:Lnet/minecraft/class_8113$class_8119;
named textOpacityLerper
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;textOpacityLerper:Lnet/minecraft/entity/decoration/DisplayEntity$IntLerper;
-
backgroundLerper
- Mappings:
Namespace Name Mixin selector official aQ
Lbfg$k;aQ:Lbfg$f;
intermediary field_42441
Lnet/minecraft/class_8113$class_8123;field_42441:Lnet/minecraft/class_8113$class_8119;
named backgroundLerper
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;backgroundLerper:Lnet/minecraft/entity/decoration/DisplayEntity$IntLerper;
-
textLines
- Mappings:
Namespace Name Mixin selector official aR
Lbfg$k;aR:Lbfg$k$b;
intermediary field_42442
Lnet/minecraft/class_8113$class_8123;field_42442:Lnet/minecraft/class_8113$class_8123$class_8125;
named textLines
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;textLines:Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextLines;
-
-
Constructor Details
-
TextDisplayEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbfh;<init>(Lbfl;Lcmi;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTracker
in classDisplayEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbfh;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()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:
onTrackedDataSet
in classDisplayEntity
- Mappings:
Namespace Name Mixin selector official a
Lbfh;a(Lacl;)V
intermediary method_5674
Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
named onTrackedDataSet
Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
getText
- Mappings:
Namespace Name Mixin selector official o
Lbfg$k;o()Ltj;
intermediary method_48915
Lnet/minecraft/class_8113$class_8123;method_48915()Lnet/minecraft/class_2561;
named getText
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getText()Lnet/minecraft/text/Text;
-
setText
- Mappings:
Namespace Name Mixin selector official c
Lbfg$k;c(Ltj;)V
intermediary method_48911
Lnet/minecraft/class_8113$class_8123;method_48911(Lnet/minecraft/class_2561;)V
named setText
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setText(Lnet/minecraft/text/Text;)V
-
getLineWidth
public int getLineWidth()- Mappings:
Namespace Name Mixin selector official p
Lbfg$k;p()I
intermediary method_48916
Lnet/minecraft/class_8113$class_8123;method_48916()I
named getLineWidth
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getLineWidth()I
-
setLineWidth
private void setLineWidth(int lineWidth) - Mappings:
Namespace Name Mixin selector official b
Lbfg$k;b(I)V
intermediary method_48908
Lnet/minecraft/class_8113$class_8123;method_48908(I)V
named setLineWidth
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setLineWidth(I)V
-
lerpTextOpacity
public byte lerpTextOpacity(float delta) - Mappings:
Namespace Name Mixin selector official g
Lbfg$k;g(F)B
intermediary method_48913
Lnet/minecraft/class_8113$class_8123;method_48913(F)B
named lerpTextOpacity
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;lerpTextOpacity(F)B
-
getTextOpacity
private byte getTextOpacity()- Mappings:
Namespace Name Mixin selector official r
Lbfg$k;r()B
intermediary method_48918
Lnet/minecraft/class_8113$class_8123;method_48918()B
named getTextOpacity
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getTextOpacity()B
-
setTextOpacity
private void setTextOpacity(byte textOpacity) - Mappings:
Namespace Name Mixin selector official c
Lbfg$k;c(B)V
intermediary method_48909
Lnet/minecraft/class_8113$class_8123;method_48909(B)V
named setTextOpacity
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setTextOpacity(B)V
-
lerpBackground
public int lerpBackground(float delta) - Mappings:
Namespace Name Mixin selector official h
Lbfg$k;h(F)I
intermediary method_48914
Lnet/minecraft/class_8113$class_8123;method_48914(F)I
named lerpBackground
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;lerpBackground(F)I
-
getBackground
private int getBackground()- Mappings:
Namespace Name Mixin selector official s
Lbfg$k;s()I
intermediary method_48919
Lnet/minecraft/class_8113$class_8123;method_48919()I
named getBackground
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getBackground()I
-
setBackground
private void setBackground(int background) - Mappings:
Namespace Name Mixin selector official c
Lbfg$k;c(I)V
intermediary method_48910
Lnet/minecraft/class_8113$class_8123;method_48910(I)V
named setBackground
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setBackground(I)V
-
getDisplayFlags
public byte getDisplayFlags()- Mappings:
Namespace Name Mixin selector official q
Lbfg$k;q()B
intermediary method_48917
Lnet/minecraft/class_8113$class_8123;method_48917()B
named getDisplayFlags
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getDisplayFlags()B
-
setDisplayFlags
private void setDisplayFlags(byte flags) - Mappings:
Namespace Name Mixin selector official d
Lbfg$k;d(B)V
intermediary method_48912
Lnet/minecraft/class_8113$class_8123;method_48912(B)V
named setDisplayFlags
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;setDisplayFlags(B)V
-
readFlag
- Mappings:
Namespace Name Mixin selector official a
Lbfg$k;a(BLre;Ljava/lang/String;B)B
intermediary method_48903
Lnet/minecraft/class_8113$class_8123;method_48903(BLnet/minecraft/class_2487;Ljava/lang/String;B)B
named readFlag
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;readFlag(BLnet/minecraft/nbt/NbtCompound;Ljava/lang/String;B)B
-
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.
nbt
might 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.- Overrides:
readCustomDataFromNbt
in classDisplayEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbfh;a(Lre;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeFlag
- Mappings:
Namespace Name Mixin selector official b
Lbfg$k;b(BLre;Ljava/lang/String;B)V
intermediary method_48907
Lnet/minecraft/class_8113$class_8123;method_48907(BLnet/minecraft/class_2487;Ljava/lang/String;B)V
named writeFlag
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;writeFlag(BLnet/minecraft/nbt/NbtCompound;Ljava/lang/String;B)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.
- Overrides:
writeCustomDataToNbt
in classDisplayEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbfh;b(Lre;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
splitLines
public DisplayEntity.TextDisplayEntity.TextLines splitLines(DisplayEntity.TextDisplayEntity.LineSplitter splitter) - Mappings:
Namespace Name Mixin selector official a
Lbfg$k;a(Lbfg$k$d;)Lbfg$k$b;
intermediary method_48905
Lnet/minecraft/class_8113$class_8123;method_48905(Lnet/minecraft/class_8113$class_8123$class_8127;)Lnet/minecraft/class_8113$class_8123$class_8125;
named splitLines
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;splitLines(Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$LineSplitter;)Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextLines;
-
getAlignment
- Mappings:
Namespace Name Mixin selector official a
Lbfg$k;a(B)Lbfg$k$a;
intermediary method_48902
Lnet/minecraft/class_8113$class_8123;method_48902(B)Lnet/minecraft/class_8113$class_8123$class_8124;
named getAlignment
Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;getAlignment(B)Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextAlignment;
-