net.minecraft.world.entity.decoration

public class ItemFrame

extends HangingEntity

All mapped superinterfaces:

Nameable, CommandSource

bcp
net.minecraft.world.entity.decoration.ItemFrame
net.minecraft.class_1533
net.minecraft.entity.decoration.ItemFrameEntity
net.minecraft.entity.item.ItemFrameEntity
net.minecraft.server.v1_16_R3.EntityItemFrame

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
e
LOGGER
field_7131
ITEM_FRAME_LOGGER
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
ag
dropChance
field_7129
itemDropChance
field_82337_e
private boolean
ah
fixed
field_22476
fixed
field_234259_an_
fixed

Constructor summary

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

Method summary

Modifier and TypeMethod
protected float
a(aqx arg0, aqb 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
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected void
a(gc arg0)
setDirection(Direction arg0)
method_6892(class_2350 arg0)
setFacing(Direction arg0)
func_174859_a(Direction arg0)
setDirection(EnumDirection arg0)
protected void
g()
recalculateBoundingBox()
method_6895()
updateAttachmentPosition()
func_174856_o()
updateBoundingBox()
public boolean
h()
survives()
method_6888()
canStayAttached()
func_70518_d()
survives()
public void
a(aqr arg0, dcn arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
move(MovementType arg0, Vec3d arg1)
func_213315_a(MoverType arg0, Vector3d arg1)
move(EnumMoveType arg0, Vec3D arg1)
public void
i(double arg0, double arg1, double arg2)
push(double arg0, double arg1, double arg2)
method_5762(double arg0, double arg1, double arg2)
addVelocity(double arg0, double arg1, double arg2)
func_70024_g(double arg0, double arg1, double arg2)
public float
bg()
getPickRadius()
method_5871()
getTargetingMargin()
func_70111_Y()
public void
aa()
kill()
method_5768()
kill()
func_174812_G()
killEntity()
public boolean
a(apk 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
i()
getWidth()
method_6897()
getWidthPixels()
func_82329_d()
getHangingWidth()
public int
k()
getHeight()
method_6891()
getHeightPixels()
func_82330_g()
getHangingHeight()
public void
a(aqa 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(aqa arg0, boolean arg1)
dropItem(Entity arg0, boolean arg1)
method_6936(class_1297 arg0, boolean arg1)
dropHeldStack(Entity arg0, boolean alwaysDrop)
func_146065_b(Entity arg0, boolean arg1)
private void
c(bmb 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(bmb arg0)
setItem(ItemStack arg0)
method_6935(class_1799 arg0)
setHeldItemStack(ItemStack stack)
func_82334_a(ItemStack arg0)
setItem(ItemStack arg0)
public void
a(bmb arg0, boolean arg1)
setItem(ItemStack arg0, boolean arg1)
method_6933(class_1799 arg0, boolean arg1)
setHeldItemStack(ItemStack value, boolean update)
func_174864_a(ItemStack arg0, boolean arg1)
setItem(ItemStack arg0, boolean arg1)
public boolean
a_(int arg0, bmb 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(us<?> 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 value)
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(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public InteractionResult
a(bfw arg0, aot 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<?>
P()
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)