net.minecraft.world.entity.decoration

public class ItemFrame

extends HangingEntity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bgx
net.minecraft.world.entity.decoration.ItemFrame
net.minecraft.class_1533
net.minecraft.unmapped.C_hywnolpn
net.minecraft.entity.decoration.ItemFrameEntity
net.minecraft.src.C_970_
net.minecraft.world.entity.decoration.EntityItemFrame

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
f
LOGGER
field_7131
f_xmmdpums
ITEM_FRAME_LOGGER
f_31756_
private static final EntityDataAccessor<ItemStack>
ao
DATA_ITEM
field_7130
f_ccszafxh
ITEM_STACK
f_31757_
private static final EntityDataAccessor<Integer>
ap
DATA_ROTATION
field_7132
f_hkngbiyl
ROTATION
f_31758_
public static final int
e
NUM_ROTATIONS
field_30454
f_rdvivgoi
field_30454
f_149619_
private float
aq
dropChance
field_7129
f_dnmfuadb
itemDropChance
f_31754_
private boolean
ar
fixed
field_22476
f_zsyuumcg
fixed
f_31755_

Constructor summary

ModifierConstructor
public (EntityType<? extends ItemFrame> p_31762_, Level arg1)
public (Level world, BlockPos pos, Direction facing)
public (EntityType<? extends ItemFrame> type, Level world, BlockPos pos, Direction facing)

Method summary

Modifier and TypeMethod
protected float
a(aug arg0, ath arg1)
getEyeHeight(Pose arg0, EntityDimensions arg1)
method_18378(class_4050 arg0, class_4048 arg1)
m_mfupgmuw(C_ufdjspmk arg0, C_sszpscpo arg1)
getEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6380_(C_535_ p_31785_, C_510_ arg1)
getHeadHeight(EntityPose arg0, EntitySize arg1)
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
m_8097_()
initDatawatcher()
protected void
a(gl arg0)
setDirection(Direction arg0)
method_6892(class_2350 arg0)
m_pjpwgxem(C_xpuuihxf arg0)
setFacing(Direction arg0)
m_6022_(C_4687_ arg0)
setDirection(EnumDirection arg0)
protected void
p()
recalculateBoundingBox()
method_6895()
m_phfxhpml()
updateAttachmentPosition()
m_7087_()
updateBoundingBox()
public boolean
q()
survives()
method_6888()
m_jixxpwgg()
canStayAttached()
m_7088_()
survives()
public void
a(aua arg0, dna arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
m_zcvlfcid(C_eojqvxuw arg0, C_vgpupfxx arg1)
move(MovementType arg0, Vec3d arg1)
m_6478_(C_531_ p_31782_, C_3046_ 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)
m_cizdqdzz(double arg0, double arg1, double arg2)
addVelocity(double arg0, double arg1, double arg2)
m_5997_(double p_31818_, double arg1, double arg2)
public float
bp()
getPickRadius()
method_5871()
m_rjumlnsh()
getTargetingMargin()
m_6143_()
public void
ab()
kill()
method_5768()
m_mrxmgxtb()
kill()
m_6074_()
killEntity()
public boolean
a(asq arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_31777_, float arg1)
damageEntity(DamageSource arg0, float arg1)
public SoundEvent
h()
getRemoveItemSound()
method_34240()
m_zepldpdm()
getRemoveItemSound()
m_142544_()
public int
r()
getWidth()
method_6897()
m_chpcwnsx()
getWidthPixels()
m_7076_()
getHangingWidth()
public int
s()
getHeight()
method_6891()
m_mhhraxdz()
getHeightPixels()
m_7068_()
getHangingHeight()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
m_foqrqvze(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
public void
a(atg arg0)
dropItem(Entity arg0)
method_6889(class_1297 arg0)
m_xlilvwoa(C_astfners arg0)
onBreak(Entity arg0)
m_5553_(C_507_ arg0)
public SoundEvent
i()
getBreakSound()
method_34241()
m_aynovpuz()
getBreakSound()
m_142543_()
public void
t()
playPlacementSound()
method_6894()
m_tmiedenc()
onPlace()
m_7084_()
playPlaceSound()
public SoundEvent
j()
getPlaceSound()
method_34242()
m_wfkncbnm()
getPlaceSound()
m_142541_()
private void
b(atg arg0, boolean arg1)
dropItem(Entity arg0, boolean arg1)
method_6936(class_1297 arg0, boolean arg1)
m_eyvwcakz(C_astfners arg0, boolean arg1)
dropHeldStack(Entity entity, boolean alwaysDrop)
m_31802_(C_507_ p_31804_, boolean arg1)
private void
c(bqq arg0)
removeFramedMap(ItemStack arg0)
method_6937(class_1799 arg0)
m_rsjfinjb(C_sddaxwyk arg0)
removeFromFrame(ItemStack map)
m_31810_(C_1391_ arg0)
public ItemStack
w()
getItem()
method_6940()
m_zqomaqlg()
getHeldItemStack()
m_31822_()
getItem()
public void
a(bqq arg0)
setItem(ItemStack arg0)
method_6935(class_1799 arg0)
m_fzkbyqse(C_sddaxwyk arg0)
setHeldItemStack(ItemStack stack)
m_31805_(C_1391_ arg0)
setItem(ItemStack arg0)
public void
a(bqq arg0, boolean arg1)
setItem(ItemStack arg0, boolean arg1)
method_6933(class_1799 arg0, boolean arg1)
m_jcqvddrx(C_sddaxwyk arg0, boolean arg1)
setHeldItemStack(ItemStack value, boolean update)
m_31789_(C_1391_ p_31791_, boolean arg1)
setItem(ItemStack arg0, boolean arg1)
public SoundEvent
l()
getAddItemSound()
method_34243()
m_tqrcwggt()
getAddItemSound()
m_142546_()
public SlotAccess
k(int arg0)
getSlot(int arg0)
method_32318(int arg0)
m_owvpveuv(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)
public void
a(wf<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_prrlvbmi(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public int
x()
getRotation()
method_6934()
m_fwkoyobx()
getRotation()
m_31823_()
getRotation()
public void
a(int arg0)
setRotation(int arg0)
method_6939(int arg0)
m_ffvtxsaa(int arg0)
setRotation(int value)
m_31770_(int arg0)
setRotation(int arg0)
private void
a(int arg0, boolean arg1)
setRotation(int arg0, boolean arg1)
method_6941(int arg0, boolean arg1)
m_tluyqpza(int arg0, boolean arg1)
setRotation(int value, boolean updateComparators)
m_31772_(int p_31774_, boolean arg1)
setRotation(int arg0, boolean arg1)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public InteractionResult
a(bke arg0, asa arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
m_fdhoudpd(C_jzrpycqo arg0, C_laxmzoqs arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_31788_, C_470_ arg1)
public SoundEvent
n()
getRotateItemSound()
method_34244()
m_rqhhitqy()
getRotateItemSound()
m_142545_()
public int
z()
getAnalogOutput()
method_6938()
m_zzskrqab()
getComparatorPower()
m_31824_()
public Packet<?>
P()
getAddEntityPacket()
method_18002()
m_tugxrexj()
createSpawnPacket()
m_5654_()
getPacket()
public void
a(po arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
m_fccepfav(C_qdqrqwvy arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)
public ItemStack
df()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
m_142340_()
protected ItemStack
o()
getFrameItemStack()
method_33340()
m_ovgnzcdf()
getAsItemStack()
m_142590_()