net.minecraft.world.entity.decoration

public class ItemFrame

extends HangingEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

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

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
e
DATA_ITEM
field_7130
f_ccszafxh
ITEM_STACK
ITEM_STACK
f_31757_
private static final EntityDataAccessor<Integer>
f
DATA_ROTATION
field_7132
f_hkngbiyl
ROTATION
ROTATION
f_31758_
public static final int
d
NUM_ROTATIONS
field_30454
f_rdvivgoi
field_30454
ROTATIONS_COUNT
f_149619_
private static final float
g
DEPTH
field_51592
f_nallonhx
field_51592
DEPTH
f_336845_
private static final float
h
WIDTH
field_51593
f_xrplubwv
field_51593
WIDTH
f_337015_
private static final float
i
HEIGHT
field_51594
f_mitznpai
field_51594
HEIGHT
f_336712_
private float
j
dropChance
field_7129
f_dnmfuadb
itemDropChance
itemDropChance
f_31754_
private boolean
k
fixed
field_22476
f_zsyuumcg
fixed
fixed
f_31755_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
a(jn arg0)
setDirection(Direction arg0)
method_6892(class_2350 arg0)
m_pjpwgxem(C_xpuuihxf arg0)
setFacing(Direction arg0)
setFacing(Direction arg0)
m_6022_(C_4687_ arg0)
protected AABB
a(ji arg0, jn arg1)
calculateBoundingBox(BlockPos arg0, Direction arg1)
method_59943(class_2338 arg0, class_2350 arg1)
m_lbdhqjli(C_hynzadkk arg0, C_xpuuihxf arg1)
calculateBoundingBox(BlockPos arg0, Direction arg1)
calculateBoundingBox(BlockPos arg0, Direction arg1)
m_338754_(C_4675_ p_343934_, C_4687_ arg1)
public boolean
m()
survives()
method_6888()
m_uzlyxllu()
canStayAttached()
canStayAttached()
m_7088_()
public void
a(bvm arg0, fbb 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)
move(MovementType arg0, Vec3d arg1)
m_6478_(C_531_ p_31782_, C_3046_ arg1)
public void
j(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)
addVelocity(double arg0, double arg1, double arg2)
m_5997_(double p_31818_, double arg1, double arg2)
public void
c(ard arg0)
kill(ServerLevel arg0)
method_5768(class_3218 arg0)
m_mrxmgxtb(C_bdwnwhiu arg0)
kill(ServerWorld arg0)
kill(ServerWorld arg0)
m_6074_(C_12_ arg0)
private boolean
a(btc arg0)
shouldDamageDropItem(DamageSource arg0)
method_64458(class_1282 arg0)
m_yuwqubzg(C_sbxfkpyv arg0)
shouldDropHeldStackWhenDamaged(DamageSource damageSource)
shouldDropItemWhenDamaged(DamageSource source)
m_357169_(C_489_ arg0)
private static boolean
e(btc arg0)
canHurtWhenFixed(DamageSource arg0)
method_64459(class_1282 arg0)
m_keyxxrxa(C_sbxfkpyv arg0)
canDamageWhenFixed(DamageSource damageSource)
canDamageWhenFixed(DamageSource source)
m_357439_(C_489_ p_363479_)
public boolean
b(btc arg0)
hurtClient(DamageSource arg0)
method_5643(class_1282 arg0)
m_jaiycnbg(C_sbxfkpyv arg0)
clientDamage(DamageSource arg0)
damageClient(DamageSource arg0)
m_8088_(C_489_ arg0)
public boolean
a(ard arg0, btc arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
m_fuenwjjy(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_364307_, C_489_ p_368153_, float arg2)
public SoundEvent
s()
getRemoveItemSound()
method_34240()
m_zepldpdm()
getRemoveItemSound()
getRemoveItemSound()
m_142544_()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
m_foqrqvze(double arg0)
shouldRender(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
public void
a(ard arg0, bum arg1)
dropItem(ServerLevel arg0, Entity arg1)
method_6889(class_3218 arg0, class_1297 arg1)
m_kulkifdk(C_bdwnwhiu arg0, C_astfners arg1)
onBreak(ServerWorld arg0, Entity arg1)
dropItem(ServerWorld arg0, Entity arg1)
m_31802_(C_12_ p_31803_, C_507_ arg1)
public SoundEvent
t()
getBreakSound()
method_34241()
m_aynovpuz()
getBreakSound()
getBreakSound()
m_142543_()
public void
z()
playPlacementSound()
method_6894()
m_tmiedenc()
onPlace()
onPlace()
m_7084_()
public SoundEvent
u()
getPlaceSound()
method_34242()
m_wfkncbnm()
getPlaceSound()
getPlaceSound()
m_142541_()
private void
a(ard arg0, bum arg1, boolean arg2)
dropItem(ServerLevel arg0, Entity arg1, boolean arg2)
method_6936(class_3218 arg0, class_1297 arg1, boolean arg2)
m_arihumii(C_bdwnwhiu arg0, C_astfners arg1, boolean arg2)
dropHeldStack(ServerWorld world, Entity entity, boolean dropSelf)
dropItem(ServerWorld world, Entity entity, boolean dropSelf)
m_31778_(C_12_ p_31779_, C_507_ p_368306_, boolean arg2)
private void
c(cwq arg0)
removeFramedMap(ItemStack arg0)
method_6937(class_1799 arg0)
m_rsjfinjb(C_sddaxwyk arg0)
removeFromFrame(ItemStack stack)
removeFromFrame(ItemStack map)
m_31810_(C_1391_ arg0)
public ItemStack
A()
getItem()
method_6940()
m_zqomaqlg()
getHeldItemStack()
getHeldItemStack()
m_31822_()
public MapId
a(cwq arg0)
getFramedMapId(ItemStack arg0)
method_43272(class_1799 arg0)
m_vpjoitzo(C_sddaxwyk arg0)
getMapId(ItemStack stack)
getMapId(ItemStack stack)
m_218868_(C_1391_ arg0)
public boolean
B()
hasFramedMap()
method_43273()
m_vzpzpibr()
containsMap()
hasMap()
m_218869_()
public void
b(cwq arg0)
setItem(ItemStack arg0)
method_6935(class_1799 arg0)
m_fzkbyqse(C_sddaxwyk arg0)
setHeldItemStack(ItemStack stack)
setHeldItemStack(ItemStack stack)
m_31805_(C_1391_ arg0)
public void
a(cwq 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)
setHeldItemStack(ItemStack value, boolean update)
m_31789_(C_1391_ p_31791_, boolean arg1)
public SoundEvent
v()
getAddItemSound()
method_34243()
m_tqrcwggt()
getAddItemSound()
getAddItemSound()
m_142546_()
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
m_owvpveuv(int arg0)
getStackReference(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
private void
d(cwq arg0)
onItemChanged(ItemStack arg0)
method_43271(class_1799 arg0)
m_jitaejhf(C_sddaxwyk arg0)
setAsStackHolder(ItemStack stack)
onItemChanged(ItemStack stack)
m_218865_(C_1391_ arg0)
public int
C()
getRotation()
method_6934()
m_fwkoyobx()
getRotation()
getRotation()
m_31823_()
public void
b(int arg0)
setRotation(int arg0)
method_6939(int arg0)
m_ffvtxsaa(int arg0)
setRotation(int value)
setRotation(int value)
m_31770_(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)
setRotation(int value, boolean updateComparators)
m_31772_(int p_31774_, boolean arg1)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public InteractionResult
a(coy arg0, bsk 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)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_31788_, C_470_ arg1)
public SoundEvent
w()
getRotateItemSound()
method_34244()
m_rqhhitqy()
getRotateItemSound()
getRotateItemSound()
m_142545_()
public int
D()
getAnalogOutput()
method_6938()
m_zzskrqab()
getComparatorPower()
getComparatorPower()
m_31824_()
public Packet<ClientGamePacketListener>
a(arb arg0)
getAddEntityPacket(ServerEntity arg0)
method_18002(class_3231 arg0)
m_tugxrexj(C_yagtbmmk arg0)
createSpawnPacket(EntityTrackerEntry arg0)
createSpawnPacket(EntityTrackerEntry arg0)
m_5654_(C_11_ arg0)
public void
a(abm arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
m_fccepfav(C_qdqrqwvy arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)
public ItemStack
dI()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
getPickBlockStack()
m_142340_()
protected ItemStack
x()
getFrameItemStack()
method_33340()
m_ovgnzcdf()
getAsItemStack()
getAsItemStack()
m_142590_()
public float
dM()
getVisualRotationYInDegrees()
method_43078()
m_onrjdopp()
getBodyYaw()
getVisualYaw()
m_213816_()