net.minecraft.world.entity.decoration

public class Painting

extends HangingEntity implements VariantHolder<Holder<PaintingVariant>>

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, VariantHolder

bvc
net.minecraft.world.entity.decoration.Painting
net.minecraft.class_1534
net.minecraft.unmapped.C_xypmuulf
net.minecraft.entity.decoration.painting.PaintingEntity
net.minecraft.entity.decoration.painting.PaintingEntity
net.minecraft.src.C_974_
net.minecraft.world.entity.decoration.EntityPainting

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Holder<PaintingVariant>>
f
DATA_PAINTING_VARIANT_ID
field_38941
f_yakljvtn
VARIANT
VARIANT
f_218870_
private static final ResourceKey<PaintingVariant>
g
DEFAULT_VARIANT
field_38942
f_cnshsoix
DEFAULT_VARIANT
VARIANT_KEY
f_218871_
public static final String
e
VARIANT_TAG
field_42463
f_pgetlqoe
VARIANT_NBT_KEY
VARIANT_NBT_KEY
f_268609_

Constructor summary

ModifierConstructor
public (EntityType<? extends Painting> p_31905_, Level arg1)
private (Level world, BlockPos pos)
public (Level world, BlockPos pos, Direction direction, Holder<PaintingVariant> variant)

Method summary

Modifier and TypeMethod
private static Holder<PaintingVariant>
k()
getDefaultVariant()
method_43405()
m_vdasoboj()
getDefaultVariant()
getDefaultVariant()
m_218902_()
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public void
a(aby<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_jrqgigsr(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataUpdate(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public void
a(he<bvd> arg0)
setVariant(Holder<PaintingVariant> arg0)
method_43402(class_6880<class_1535> arg0)
m_kzqunxey(C_cjzoxshv<C_gbaxbrwg> arg0)
setVariant(RegistryEntry<PaintingVariant> variant)
setVariant(Holder<PaintingVariant> arg0)
m_28464_(C_203228_<C_213053_> arg0)
public Holder<PaintingVariant>
j()
getVariant()
method_43404()
m_ieyfcnah()
getVariant()
getVariant()
m_28554_()
public static Optional<Painting>
a(cmm arg0, gu arg1, ha arg2)
create(Level arg0, BlockPos arg1, Direction arg2)
method_43401(class_1937 arg0, class_2338 arg1, class_2350 arg2)
m_jelbeneg(C_cdctfzbn arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
placePainting(World world, BlockPos pos, Direction facing)
getPaintingForLocation(World world, BlockPos pos, Direction direction)
m_218887_(C_1596_ p_218888_, C_4675_ p_218889_, C_4687_ p_218890_)
private static int
b(he<bvd> arg0)
variantArea(Holder<PaintingVariant> arg0)
method_43403(class_6880<class_1535> arg0)
m_ieyzxkxn(C_cjzoxshv<C_gbaxbrwg> arg0)
getSize(RegistryEntry<PaintingVariant> variant)
getVariantArea(Holder<PaintingVariant> holder)
m_218898_(C_203228_<C_213053_> p_218899_)
public void
b(qr 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(qr 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 static void
a(qr arg0, he<bvd> arg1)
storeVariant(CompoundTag arg0, Holder<PaintingVariant> arg1)
method_48928(class_2487 arg0, class_6880<class_1535> arg1)
m_rvrbmoha(C_hhlwcnih arg0, C_cjzoxshv<C_gbaxbrwg> arg1)
writeVariantToNbt(NbtCompound nbt, RegistryEntry<PaintingVariant> variant)
writeVariant(NbtCompound nbt, Holder<PaintingVariant> variant)
m_269220_(C_4917_ p_270928_, C_203228_<C_213053_> p_270667_)
public static Optional<Holder<PaintingVariant>>
c(qr arg0)
loadVariant(CompoundTag arg0)
method_48929(class_2487 arg0)
m_qfgzrduj(C_hhlwcnih arg0)
readVariantFromNbt(NbtCompound nbt)
parse(NbtCompound nbt)
m_269030_(C_4917_ p_271010_)
public int
v()
getWidth()
method_6897()
m_chpcwnsx()
getWidthPixels()
getWidthPixels()
m_7076_()
public int
w()
getHeight()
method_6891()
m_mhhraxdz()
getHeightPixels()
getHeightPixels()
m_7068_()
public void
a(bfj arg0)
dropItem(Entity arg0)
method_6889(class_1297 arg0)
m_xlilvwoa(C_astfners arg0)
onBreak(Entity arg0)
onBreak(Entity arg0)
m_5553_(C_507_ arg0)
public void
x()
playPlacementSound()
method_6894()
m_tmiedenc()
onPlace()
onPlace()
m_7084_()
public void
b(double arg0, double arg1, double arg2, float arg3, float arg4)
moveTo(double arg0, double arg1, double arg2, float arg3, float arg4)
method_5808(double arg0, double arg1, double arg2, float arg3, float arg4)
m_vhqflgrn(double arg0, double arg1, double arg2, float arg3, float arg4)
refreshPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4)
refreshPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4)
m_7678_(double p_31930_, double p_31932_, double arg2, float arg3, float arg4)
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
m_fepbvbrn(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
m_6453_(double p_31918_, double p_31920_, double p_31922_, float arg3, float arg4, int arg5, boolean arg6)
public Vec3
dh()
trackingPosition()
method_43390()
m_ynqvoxet()
getSyncedPos()
getAttachmentPos()
m_213870_()
public Packet<ClientGamePacketListener>
S()
getAddEntityPacket()
method_18002()
m_tugxrexj()
createSpawnPacket()
createSpawnPacket()
m_5654_()
public void
a(us 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
dv()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
getPickBlockStack()
m_142340_()