net.minecraft.world.entity

public abstract class Display

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

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

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 Display$PosRotInterpolationTarget
aT
posRotInterpolationTarget
field_45108
interpolationTarget

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public final boolean
a(ash arg0, bua 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(alg arg0)
createTransformation(SynchedEntityData arg0)
method_48845(class_2945 arg0)
getTransformation(DataTracker dataTracker)
public void
h()
tick()
method_5773()
tick()
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(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
a(ux 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(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
f_()
cancelLerp()
method_64610()
resetLerp()
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
public double
R_()
lerpTargetX()
method_53830()
getLerpTargetX()
public double
S_()
lerpTargetY()
method_53827()
getLerpTargetY()
public double
g_()
lerpTargetZ()
method_53828()
getLerpTargetZ()
public float
r_()
lerpTargetXRot()
method_53829()
getLerpTargetPitch()
public float
h_()
lerpTargetYRot()
method_53831()
getLerpTargetYaw()
public AABB
l()
getBoundingBoxForCulling()
method_5830()
getVisibilityBoundingBox()
public boolean
m()
affectedByCulling()
method_61402()
shouldRender()
public PushReaction
n_()
getPistonPushReaction()
method_5657()
getPistonBehavior()
public boolean
s_()
isIgnoringBlockTriggers()
method_5696()
canAvoidTraps()
public Display$RenderState
p()
renderState()
method_49777()
getRenderState()
private void
b(int arg0)
setTransformationInterpolationDuration(int arg0)
method_52524(int arg0)
setInterpolationDuration(int interpolationDuration)
private int
s()
getTransformationInterpolationDuration()
method_52527()
getInterpolationDuration()
private void
c(int arg0)
setTransformationInterpolationDelay(int arg0)
method_52525(int arg0)
setStartInterpolation(int startInterpolation)
private int
t()
getTransformationInterpolationDelay()
method_52528()
getStartInterpolation()
private void
d(int arg0)
setPosRotInterpolationDuration(int arg0)
method_52526(int arg0)
setTeleportDuration(int teleportDuration)
private int
u()
getPosRotInterpolationDuration()
method_52529()
getTeleportDuration()
private void
a(bvi$a arg0)
setBillboardConstraints(Display$BillboardConstraints arg0)
method_48847(class_8113$class_8114 arg0)
setBillboardMode(DisplayEntity$BillboardMode billboardMode)
private Display$BillboardConstraints
v()
getBillboardConstraints()
method_48864()
getBillboardMode()
private void
a(ayu arg0)
setBrightnessOverride(Brightness arg0)
method_48846(class_8104 arg0)
setBrightness(Brightness brightness)
private Brightness
w()
getBrightnessOverride()
method_48868()
getBrightnessUnpacked()
private int
x()
getPackedBrightnessOverride()
method_48865()
getBrightness()
private void
b(float arg0)
setViewRange(float arg0)
method_48861(float arg0)
setViewRange(float viewRange)
private float
y()
getViewRange()
method_48869()
getViewRange()
private void
c(float arg0)
setShadowRadius(float arg0)
method_48862(float arg0)
setShadowRadius(float shadowRadius)
private float
z()
getShadowRadius()
method_48870()
getShadowRadius()
private void
x(float arg0)
setShadowStrength(float arg0)
method_48872(float arg0)
setShadowStrength(float shadowStrength)
private float
A()
getShadowStrength()
method_48871()
getShadowStrength()
private void
y(float arg0)
setWidth(float arg0)
method_48873(float arg0)
setDisplayWidth(float width)
private float
B()
getWidth()
method_48874()
getDisplayWidth()
private void
z(float arg0)
setHeight(float arg0)
method_48875(float arg0)
setDisplayHeight(float height)
private int
C()
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
D()
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
E()
updateCulling()
method_48878()
updateVisibilityBoundingBox()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
public int
k_()
getTeamColor()
method_22861()
getTeamColorValue()
private Display$RenderState
F()
createFreshRenderState()
method_49774()
copyRenderState()
private Display$RenderState
a(bvi$k arg0, float arg1)
createInterpolatedRenderState(Display$RenderState arg0, float arg1)
method_49775(class_8113$class_8229 arg0, float arg1)
getLerpedRenderState(DisplayEntity$RenderState state, float lerpProgress)