net.minecraft.world.item

public enum ItemDisplayContext

implements StringRepresentable

cxn
net.minecraft.world.item.ItemDisplayContext
net.minecraft.class_811
net.minecraft.item.ModelTransformationMode
net.minecraft.world.item.ItemDisplayContext

Enum constant summary

Enum Constant
a
NONE
field_4315
NONE
b
THIRD_PERSON_LEFT_HAND
field_4323
THIRD_PERSON_LEFT_HAND
c
THIRD_PERSON_RIGHT_HAND
field_4320
THIRD_PERSON_RIGHT_HAND
d
FIRST_PERSON_LEFT_HAND
field_4321
FIRST_PERSON_LEFT_HAND
e
FIRST_PERSON_RIGHT_HAND
field_4322
FIRST_PERSON_RIGHT_HAND
f
HEAD
field_4316
HEAD
g
GUI
field_4317
GUI
h
GROUND
field_4318
GROUND
i
FIXED
field_4319
FIXED

Field summary

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

Constructor summary

ModifierConstructor
private (int arg0, String arg1)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()
public byte
a()
getId()
method_48961()
getIndex()
public boolean
b()
firstPerson()
method_29998()
isFirstPerson()