net.minecraft.world.entity

public abstract class Display

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter

bvx
net.minecraft.world.entity.Display
net.minecraft.class_8113
net.minecraft.entity.decoration.DisplayEntity

Field summary

Modifier and TypeField
static final org.slf4j.Logger
o
LOGGER
field_42397
LOGGER
public static final int
a
NO_BRIGHTNESS_OVERRIDE
field_42384
field_42384
private static final EntityDataAccessor<Integer>
p
DATA_TRANSFORMATION_INTERPOLATION_START_DELTA_TICKS_ID
field_45112
START_INTERPOLATION
private static final EntityDataAccessor<Integer>
q
DATA_TRANSFORMATION_INTERPOLATION_DURATION_ID
field_45113
INTERPOLATION_DURATION
private static final EntityDataAccessor<Integer>
r
DATA_POS_ROT_INTERPOLATION_DURATION_ID
field_45114
TELEPORT_DURATION
private static final EntityDataAccessor<org.joml.Vector3f>
s
DATA_TRANSLATION_ID
field_42401
TRANSLATION
private static final EntityDataAccessor<org.joml.Vector3f>
t
DATA_SCALE_ID
field_42402
SCALE
private static final EntityDataAccessor<org.joml.Quaternionf>
u
DATA_LEFT_ROTATION_ID
field_42403
LEFT_ROTATION
private static final EntityDataAccessor<org.joml.Quaternionf>
ay
DATA_RIGHT_ROTATION_ID
field_42367
RIGHT_ROTATION
private static final EntityDataAccessor<Byte>
az
DATA_BILLBOARD_RENDER_CONSTRAINTS_ID
field_42368
BILLBOARD
private static final EntityDataAccessor<Integer>
aA
DATA_BRIGHTNESS_OVERRIDE_ID
field_42369
BRIGHTNESS
private static final EntityDataAccessor<Float>
aB
DATA_VIEW_RANGE_ID
field_42370
VIEW_RANGE
private static final EntityDataAccessor<Float>
aC
DATA_SHADOW_RADIUS_ID
field_42371
SHADOW_RADIUS
private static final EntityDataAccessor<Float>
aD
DATA_SHADOW_STRENGTH_ID
field_42372
SHADOW_STRENGTH
private static final EntityDataAccessor<Float>
aE
DATA_WIDTH_ID
field_42373
WIDTH
private static final EntityDataAccessor<Float>
aF
DATA_HEIGHT_ID
field_42374
HEIGHT
private static final EntityDataAccessor<Integer>
aG
DATA_GLOW_COLOR_OVERRIDE_ID
field_42375
GLOW_COLOR_OVERRIDE
private static final it.unimi.dsi.fastutil.ints.IntSet
aH
RENDER_STATE_IDS
field_43180
RENDERING_DATA_IDS
private static final float
aI
INITIAL_SHADOW_RADIUS
field_42376
field_42376
private static final float
aJ
INITIAL_SHADOW_STRENGTH
field_42377
field_42377
private static final int
aK
NO_GLOW_COLOR_OVERRIDE
field_42378
field_42378
public static final String
b
TAG_POS_ROT_INTERPOLATION_DURATION
field_45109
TELEPORT_DURATION_KEY
public static final String
c
TAG_TRANSFORMATION_INTERPOLATION_DURATION
field_45110
INTERPOLATION_DURATION_KEY
public static final String
d
TAG_TRANSFORMATION_START_INTERPOLATION
field_45111
START_INTERPOLATION_KEY
public static final String
e
TAG_TRANSFORMATION
field_42387
TRANSFORMATION_NBT_KEY
public static final String
f
TAG_BILLBOARD
field_42388
BILLBOARD_NBT_KEY
public static final String
g
TAG_BRIGHTNESS
field_42389
BRIGHTNESS_NBT_KEY
public static final String
h
TAG_VIEW_RANGE
field_42390
VIEW_RANGE_NBT_KEY
public static final String
i
TAG_SHADOW_RADIUS
field_42391
SHADOW_RADIUS_NBT_KEY
public static final String
j
TAG_SHADOW_STRENGTH
field_42392
SHADOW_STRENGTH_NBT_KEY
public static final String
k
TAG_WIDTH
field_42393
WIDTH_NBT_KEY
public static final String
l
TAG_HEIGHT
field_42394
HEIGHT_NBT_KEY
public static final String
m
TAG_GLOW_COLOR_OVERRIDE
field_42395
GLOW_COLOR_OVERRIDE_NBT_KEY
private long
aL
interpolationStartClientTick
field_42620
interpolationStart
private int
aM
interpolationDuration
field_43181
interpolationDuration
private float
aN
lastProgress
field_43135
lerpProgress
private AABB
aO
cullingBoundingBox
field_42383
visibilityBoundingBox
private boolean
aP
noCulling
field_52434
tooSmallToRender
protected boolean
n
updateRenderState
field_43185
renderingDataSet
private boolean
aQ
updateStartTick
field_43182
startInterpolationSet
private boolean
aR
updateInterpolationDuration
field_43183
interpolationDurationSet
private Display$RenderState
aS
renderState
field_43184
renderProperties
private final InterpolationHandler
aT
interpolation
field_55654
interpolator

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(akh<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public final boolean
a(aro arg0, bup arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
private static Transformation
a(akl arg0)
createTransformation(SynchedEntityData arg0)
method_48845(class_2945 arg0)
getTransformation(DataTracker dataTracker)
public void
h()
tick()
method_5773()
tick()
public InterpolationHandler
N_()
getInterpolation()
method_66233()
getInterpolator()
protected abstract void
a(boolean arg0, float arg1)
updateRenderSubState(boolean arg0, float arg1)
method_49776(boolean arg0, float arg1)
refreshData(boolean shouldLerp, float lerpProgress)
protected void
a(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
private void
a(j arg0)
setTransformation(Transformation arg0)
method_48849(class_4590 arg0)
setTransformation(AffineTransformation transformation)
protected void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public AABB
f()
getBoundingBoxForCulling()
method_5830()
getVisibilityBoundingBox()
public boolean
g()
affectedByCulling()
method_61402()
shouldRender()
public PushReaction
j_()
getPistonPushReaction()
method_5657()
getPistonBehavior()
public boolean
g_()
isIgnoringBlockTriggers()
method_5696()
canAvoidTraps()
public Display$RenderState
j()
renderState()
method_49777()
getRenderState()
private void
b(int arg0)
setTransformationInterpolationDuration(int arg0)
method_52524(int arg0)
setInterpolationDuration(int interpolationDuration)
private int
m()
getTransformationInterpolationDuration()
method_52527()
getInterpolationDuration()
private void
c(int arg0)
setTransformationInterpolationDelay(int arg0)
method_52525(int arg0)
setStartInterpolation(int startInterpolation)
private int
n()
getTransformationInterpolationDelay()
method_52528()
getStartInterpolation()
private void
d(int arg0)
setPosRotInterpolationDuration(int arg0)
method_52526(int arg0)
setTeleportDuration(int teleportDuration)
private int
o()
getPosRotInterpolationDuration()
method_52529()
getTeleportDuration()
private void
a(bvx$a arg0)
setBillboardConstraints(Display$BillboardConstraints arg0)
method_48847(class_8113$class_8114 arg0)
setBillboardMode(DisplayEntity$BillboardMode billboardMode)
private Display$BillboardConstraints
q()
getBillboardConstraints()
method_48864()
getBillboardMode()
private void
a(axz arg0)
setBrightnessOverride(Brightness arg0)
method_48846(class_8104 arg0)
setBrightness(Brightness brightness)
private Brightness
s()
getBrightnessOverride()
method_48868()
getBrightnessUnpacked()
private int
t()
getPackedBrightnessOverride()
method_48865()
getBrightness()
private void
b(float arg0)
setViewRange(float arg0)
method_48861(float arg0)
setViewRange(float viewRange)
private float
u()
getViewRange()
method_48869()
getViewRange()
private void
c(float arg0)
setShadowRadius(float arg0)
method_48862(float arg0)
setShadowRadius(float shadowRadius)
private float
v()
getShadowRadius()
method_48870()
getShadowRadius()
private void
d(float arg0)
setShadowStrength(float arg0)
method_48872(float arg0)
setShadowStrength(float shadowStrength)
private float
w()
getShadowStrength()
method_48871()
getShadowStrength()
private void
y(float arg0)
setWidth(float arg0)
method_48873(float arg0)
setDisplayWidth(float width)
private float
x()
getWidth()
method_48874()
getDisplayWidth()
private void
z(float arg0)
setHeight(float arg0)
method_48875(float arg0)
setDisplayHeight(float height)
private int
y()
getGlowColorOverride()
method_48876()
getGlowColorOverride()
private void
l(int arg0)
setGlowColorOverride(int arg0)
method_48858(int arg0)
setGlowColorOverride(int glowColorOverride)
public float
a(float arg0)
calculateInterpolationProgress(float arg0)
method_48844(float arg0)
getLerpProgress(float delta)
private float
z()
getHeight()
method_48877()
getDisplayHeight()
public void
a_(double arg0, double arg1, double arg2)
setPos(double arg0, double arg1, double arg2)
method_5814(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
private void
A()
updateCulling()
method_48878()
updateVisibilityBoundingBox()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
public int
f_()
getTeamColor()
method_22861()
getTeamColorValue()
private Display$RenderState
B()
createFreshRenderState()
method_49774()
copyRenderState()
private Display$RenderState
a(bvx$j arg0, float arg1)
createInterpolatedRenderState(Display$RenderState arg0, float arg1)
method_49775(class_8113$class_8229 arg0, float arg1)
getLerpedRenderState(DisplayEntity$RenderState state, float lerpProgress)