net.minecraft.world.entity.decoration

public class ItemFrame

extends HangingEntity

All mapped superinterfaces:

Nameable, CommandSource

avr
net.minecraft.world.entity.decoration.ItemFrame
net.minecraft.class_1533
net.minecraft.entity.decoration.ItemFrameEntity
net.minecraft.entity.item.ItemFrameEntity
net.minecraft.server.v1_15_R1.EntityItemFrame

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
e
LOGGER
field_7131
field_195052_c
private static final EntityDataAccessor<ItemStack>
f
DATA_ITEM
field_7130
ITEM_STACK
field_184525_c
ITEM
private static final EntityDataAccessor<Integer>
g
DATA_ROTATION
field_7132
ROTATION
field_184526_d
private float
ao
dropChance
field_7129
itemDropChance
field_82337_e

Constructor summary

ModifierConstructor
public (EntityType<? extends ItemFrame> arg0, Level arg1)
public (Level arg0, BlockPos arg1, Direction arg2)

Method summary

Modifier and TypeMethod
protected float
a(alj arg0, akr arg1)
getEyeHeight(Pose arg0, EntityDimensions arg1)
method_18378(class_4050 arg0, class_4048 arg1)
getEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213316_a(Pose arg0, EntitySize arg1)
getHeadHeight(EntityPose arg0, EntitySize arg1)
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected void
a(fp arg0)
setDirection(Direction arg0)
method_6892(class_2350 arg0)
setFacing(Direction arg0)
func_174859_a(Direction arg0)
setDirection(EnumDirection arg0)
protected void
f()
recalculateBoundingBox()
method_6895()
updateAttachmentPosition()
func_174856_o()
updateBoundingBox()
public boolean
i()
survives()
method_6888()
canStayAttached()
func_70518_d()
survives()
public float
aV()
getPickRadius()
method_5871()
getTargetingMargin()
func_70111_Y()
public void
U()
kill()
method_5768()
kill()
func_174812_G()
killEntity()
public boolean
a(ajz arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
public int
k()
getWidth()
method_6897()
getWidthPixels()
func_82329_d()
getHangingWidth()
public int
l()
getHeight()
method_6891()
getHeightPixels()
func_82330_g()
getHangingHeight()
public void
a(akq arg0)
dropItem(Entity arg0)
method_6889(class_1297 arg0)
onBreak(Entity arg0)
func_110128_b(Entity arg0)
public void
m()
playPlacementSound()
method_6894()
onPlace()
func_184523_o()
playPlaceSound()
private void
b(akq arg0, boolean arg1)
dropItem(Entity arg0, boolean arg1)
method_6936(class_1297 arg0, boolean arg1)
dropHeldStack(Entity entity, boolean alwaysDrop)
func_146065_b(Entity arg0, boolean arg1)
private void
c(ben arg0)
removeFramedMap(ItemStack arg0)
method_6937(class_1799 arg0)
removeFromFrame(ItemStack map)
func_110131_b(ItemStack arg0)
public ItemStack
o()
getItem()
method_6940()
getHeldItemStack()
func_82335_i()
getItem()
public void
b(ben arg0)
setItem(ItemStack arg0)
method_6935(class_1799 arg0)
setHeldItemStack(ItemStack arg0)
func_82334_a(ItemStack arg0)
setItem(ItemStack arg0)
public void
a(ben arg0, boolean arg1)
setItem(ItemStack arg0, boolean arg1)
method_6933(class_1799 arg0, boolean arg1)
setHeldItemStack(ItemStack value, boolean arg1)
func_174864_a(ItemStack arg0, boolean arg1)
setItem(ItemStack arg0, boolean arg1)
public boolean
a_(int arg0, ben arg1)
setSlot(int arg0, ItemStack arg1)
method_5758(int arg0, class_1799 arg1)
equip(int arg0, ItemStack arg1)
func_174820_d(int arg0, ItemStack arg1)
public void
a(sb<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
public int
p()
getRotation()
method_6934()
getRotation()
func_82333_j()
getRotation()
public void
a(int arg0)
setRotation(int arg0)
method_6939(int arg0)
setRotation(int arg0)
func_82336_g(int arg0)
setRotation(int arg0)
private void
a(int arg0, boolean arg1)
setRotation(int arg0, boolean arg1)
method_6941(int arg0, boolean arg1)
setRotation(int value, boolean arg1)
func_174865_a(int arg0, boolean arg1)
setRotation(int arg0, boolean arg1)
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public boolean
b(ayj arg0, ajk arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
func_184230_a(PlayerEntity arg0, Hand arg1)
public int
q()
getAnalogOutput()
method_6938()
getComparatorPower()
func_174866_q()
public Packet<?>
L()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
func_70112_a(double arg0)