net.minecraft.world.item

public enum ItemDisplayContext

implements StringRepresentable

cuo
net.minecraft.world.item.ItemDisplayContext
net.minecraft.class_811
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
NONE
NONE
b
THIRD_PERSON_LEFT_HAND
field_4323
THIRD_PERSON_LEFT_HAND
THIRD_PERSON_LEFT_HAND
c
THIRD_PERSON_RIGHT_HAND
field_4320
THIRD_PERSON_RIGHT_HAND
THIRD_PERSON_RIGHT_HAND
d
FIRST_PERSON_LEFT_HAND
field_4321
FIRST_PERSON_LEFT_HAND
FIRST_PERSON_LEFT_HAND
e
FIRST_PERSON_RIGHT_HAND
field_4322
FIRST_PERSON_RIGHT_HAND
FIRST_PERSON_RIGHT_HAND
f
HEAD
field_4316
HEAD
HEAD
g
GUI
field_4317
GUI
GUI
h
GROUND
field_4318
GROUND
GROUND
i
FIXED
field_4319
FIXED
FIXED

Field summary

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

Constructor summary

ModifierConstructor
private (int p_270563_, String p_270624_)

Method summary

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