net.minecraft.entity.decoration

public class DisplayEntity$ItemDisplayEntity

extends DisplayEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible

net.minecraft.world.entity.Display$ItemDisplay
net.minecraft.class_8113$class_8122
net.minecraft.entity.decoration.DisplayEntity$ItemDisplayEntity

Field summary

Modifier and TypeField
private static final String
TAG_ITEM
field_42421
ITEM_NBT_KEY
private static final String
TAG_ITEM_DISPLAY
field_42422
ITEM_DISPLAY_NBT_KEY
private static final TrackedData<ItemStack>
DATA_ITEM_STACK_ID
field_42423
ITEM
private static final TrackedData<Byte>
DATA_ITEM_DISPLAY_ID
field_42424
ITEM_DISPLAY
private final StackReference
slot
field_42425
stackReference
private DisplayEntity$ItemDisplayEntity$Data
itemRenderState
field_43187
data

Constructor summary

ModifierConstructor
public (EntityType<?> type, World level)

Method summary

Modifier and TypeMethod
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
onSyncedDataUpdated(EntityDataAccessor<?> accessor)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
private ItemStack
getItemStack()
method_48900()
getItemStack()
private void
setItemStack(ItemStack item)
method_48897(class_1799 arg0)
setItemStack(ItemStack stack)
private void
setItemTransform(ItemDisplayContext transform)
method_48896(class_811 arg0)
setItemDisplayContext(ItemDisplayContext context)
private ItemDisplayContext
getItemTransform()
method_48901()
getItemDisplayContext()
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
public StackReference
getSlot(int slot)
method_32318(int arg0)
getStackReference(int arg0)
public DisplayEntity$ItemDisplayEntity$Data
itemRenderState()
method_49782()
getData()
protected void
updateRenderSubState(boolean shouldInterpolate, float progress)
method_49776(boolean arg0, float arg1)
refreshData(boolean arg0, float arg1)