net.minecraft.world.entity

public class Display$TextDisplay

extends Display

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

bvi$l
net.minecraft.world.entity.Display$TextDisplay
net.minecraft.class_8113$class_8123
net.minecraft.entity.decoration.DisplayEntity$TextDisplayEntity
net.minecraft.world.entity.Display$TextDisplay

Field summary

Modifier and TypeField
public static final String
o
TAG_TEXT
field_42443
TEXT_NBT_KEY
private static final String
ay
TAG_LINE_WIDTH
field_42427
LINE_WIDTH_NBT_KEY
private static final String
az
TAG_TEXT_OPACITY
field_42428
TEXT_OPACITY_NBT_KEY
private static final String
aA
TAG_BACKGROUND_COLOR
field_42429
BACKGROUND_NBT_KEY
private static final String
aB
TAG_SHADOW
field_42430
SHADOW_NBT_KEY
private static final String
aC
TAG_SEE_THROUGH
field_42431
SEE_THROUGH_NBT_KEY
private static final String
aD
TAG_USE_DEFAULT_BACKGROUND
field_42432
DEFAULT_BACKGROUND_NBT_KEY
private static final String
aE
TAG_ALIGNMENT
field_42433
ALIGNMENT_NBT_KEY
public static final byte
p
FLAG_SHADOW
field_42444
SHADOW_FLAG
public static final byte
q
FLAG_SEE_THROUGH
field_42445
SEE_THROUGH_FLAG
public static final byte
r
FLAG_USE_DEFAULT_BACKGROUND
field_42446
DEFAULT_BACKGROUND_FLAG
public static final byte
s
FLAG_ALIGN_LEFT
field_42447
LEFT_ALIGNMENT_FLAG
public static final byte
t
FLAG_ALIGN_RIGHT
field_42448
RIGHT_ALIGNMENT_FLAG
private static final byte
aF
INITIAL_TEXT_OPACITY
field_42434
INITIAL_TEXT_OPACITY
public static final int
u
INITIAL_BACKGROUND
field_42449
INITIAL_BACKGROUND
private static final EntityDataAccessor<Component>
aG
DATA_TEXT_ID
field_42435
TEXT
private static final EntityDataAccessor<Integer>
aH
DATA_LINE_WIDTH_ID
field_42436
LINE_WIDTH
private static final EntityDataAccessor<Integer>
aI
DATA_BACKGROUND_COLOR_ID
field_42437
BACKGROUND
private static final EntityDataAccessor<Byte>
aJ
DATA_TEXT_OPACITY_ID
field_42438
TEXT_OPACITY
private static final EntityDataAccessor<Byte>
aK
DATA_STYLE_FLAGS_ID
field_42439
TEXT_DISPLAY_FLAGS
private static final it.unimi.dsi.fastutil.ints.IntSet
aL
TEXT_RENDER_STATE_IDS
field_43188
TEXT_RENDERING_DATA_IDS
private Display$TextDisplay$CachedInfo
aM
clientDisplayCache
field_42442
textLines
private Display$TextDisplay$TextRenderState
aN
textRenderState
field_43189
data

Constructor summary

ModifierConstructor
public (EntityType<?> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
private Component
t()
getText()
method_48915()
getText()
private void
a(xv arg0)
setText(Component arg0)
method_48911(class_2561 arg0)
setText(Text text)
private int
u()
getLineWidth()
method_48916()
getLineWidth()
private void
b(int arg0)
setLineWidth(int arg0)
method_48908(int arg0)
setLineWidth(int lineWidth)
private byte
v()
getTextOpacity()
method_48918()
getTextOpacity()
private void
c(byte arg0)
setTextOpacity(byte arg0)
method_48909(byte arg0)
setTextOpacity(byte textOpacity)
private int
w()
getBackgroundColor()
method_48919()
getBackground()
private void
c(int arg0)
setBackgroundColor(int arg0)
method_48910(int arg0)
setBackground(int background)
private byte
x()
getFlags()
method_48917()
getDisplayFlags()
private void
d(byte arg0)
setFlags(byte arg0)
method_48912(byte arg0)
setDisplayFlags(byte flags)
private static byte
a(byte arg0, ux arg1, String arg2, byte arg3)
loadFlag(byte arg0, CompoundTag arg1, String arg2, byte arg3)
method_48903(byte arg0, class_2487 arg1, String arg2, byte arg3)
readFlag(byte flags, NbtCompound nbt, String nbtKey, byte flag)
protected void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
private static void
b(byte arg0, ux arg1, String arg2, byte arg3)
storeFlag(byte arg0, CompoundTag arg1, String arg2, byte arg3)
method_48907(byte arg0, class_2487 arg1, String arg2, byte arg3)
writeFlag(byte flags, NbtCompound nbt, String nbtKey, byte flag)
protected void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(boolean arg0, float arg1)
updateRenderSubState(boolean arg0, float arg1)
method_49776(boolean arg0, float arg1)
refreshData(boolean arg0, float arg1)
public Display$TextDisplay$TextRenderState
s()
textRenderState()
method_49784()
getData()
private Display$TextDisplay$TextRenderState
y()
createFreshTextRenderState()
method_49785()
copyData()
private Display$TextDisplay$TextRenderState
a(bvi$l$e arg0, float arg1)
createInterpolatedTextRenderState(Display$TextDisplay$TextRenderState arg0, float arg1)
method_49783(class_8113$class_8123$class_8230 arg0, float arg1)
getLerpedRenderState(DisplayEntity$TextDisplayEntity$Data data, float lerpProgress)
public Display$TextDisplay$CachedInfo
a(bvi$l$d arg0)
cacheDisplay(Display$TextDisplay$LineSplitter arg0)
method_48905(class_8113$class_8123$class_8127 arg0)
splitLines(DisplayEntity$TextDisplayEntity$LineSplitter splitter)
public static Display$TextDisplay$Align
a(byte arg0)
getAlign(byte arg0)
method_48902(byte arg0)
getAlignment(byte flags)