net.minecraft.world.item

public enum ItemDisplayContext

implements StringRepresentable

cxn
net.minecraft.world.item.ItemDisplayContext
net.minecraft.class_811
net.minecraft.unmapped.C_byhguelf
net.minecraft.item.ModelTransformationMode
net.minecraft.client.render.model.json.ModelTransformationMode
net.minecraft.src.C_268388_
net.minecraft.world.item.ItemDisplayContext

Enum constant summary

Enum Constant
a
NONE
field_4315
f_ptxqvavu
NONE
NONE
NONE
b
THIRD_PERSON_LEFT_HAND
field_4323
f_defqwmxc
THIRD_PERSON_LEFT_HAND
THIRD_PERSON_LEFT_HAND
THIRD_PERSON_LEFT_HAND
c
THIRD_PERSON_RIGHT_HAND
field_4320
f_gtbhwtby
THIRD_PERSON_RIGHT_HAND
THIRD_PERSON_RIGHT_HAND
THIRD_PERSON_RIGHT_HAND
d
FIRST_PERSON_LEFT_HAND
field_4321
f_ffxmrskj
FIRST_PERSON_LEFT_HAND
FIRST_PERSON_LEFT_HAND
FIRST_PERSON_LEFT_HAND
e
FIRST_PERSON_RIGHT_HAND
field_4322
f_psjxoors
FIRST_PERSON_RIGHT_HAND
FIRST_PERSON_RIGHT_HAND
FIRST_PERSON_RIGHT_HAND
f
HEAD
field_4316
f_htaduxfu
HEAD
HEAD
HEAD
g
GUI
field_4317
f_ipghtqrj
GUI
GUI
GUI
h
GROUND
field_4318
f_zbkkdxjb
GROUND
GROUND
GROUND
i
FIXED
field_4319
f_onozdghi
FIXED
FIXED
FIXED

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ItemDisplayContext>
j
CODEC
field_42468
f_kuzfhjos
CODEC
CODEC
f_268458_
public static final IntFunction<ItemDisplayContext>
k
BY_ID
field_42469
f_zrsebbru
FROM_INDEX
BY_ID
f_268648_
private final byte
l
id
field_42470
f_igynifqz
index
id
f_268735_
private final String
m
name
field_42471
f_yltbiwcl
name
name
f_268747_

Constructor summary

ModifierConstructor
private (int p_270563_, String p_270624_)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
m_dxbrenur()
asString()
asString()
m_7912_()
public byte
a()
getId()
method_48961()
m_rvndgijr()
getIndex()
getValue()
m_269462_()
public boolean
b()
firstPerson()
method_29998()
m_vdlyrqxg()
isFirstPerson()
isFirstPerson()
m_269069_()