net.minecraft.world.entity.decoration

public class Painting

extends HangingEntity implements VariantHolder<Holder<PaintingVariant>>

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, VariantHolder

clv
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.EntityLeash

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Holder<PaintingVariant>>
g
DATA_PAINTING_VARIANT_ID
field_38941
f_yakljvtn
VARIANT
VARIANT
f_218870_
public static final com.mojang.serialization.MapCodec<Holder<PaintingVariant>>
d
VARIANT_MAP_CODEC
field_49238
f_hgphohxe
VARIANT_MAP_CODEC
MAP_CODEC
f_314801_
public static final com.mojang.serialization.Codec<Holder<PaintingVariant>>
e
VARIANT_CODEC
field_49239
f_jaaowbsw
VARIANT_ENTRY_CODEC
CODEC
f_316802_
public static final float
f
DEPTH
field_51595
f_hkxbjxlp
field_51595
DEPTH
f_336916_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(alg$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)
public void
a(alc<?> 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)
public void
b(jq<clw> 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>
s()
getVariant()
method_43404()
m_ieyfcnah()
getVariant()
getVariant()
m_28554_()
public static Optional<Painting>
a(dhh arg0, jh arg1, jm 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
c(jq<clw> 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(ux 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(ux 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)
protected AABB
a(jh arg0, jm 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_345489_, C_4687_ arg1)
private double
b(int arg0)
offsetForPaintingSize(int arg0)
method_59946(int arg0)
m_zksfobqk(int arg0)
getOffset(int length)
getOffset(int width)
m_339800_(int arg0)
public void
a(ash arg0, bvj 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_31925_, C_507_ arg1)
public void
z()
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)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
m_fepbvbrn(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
m_6453_(double p_31918_, double p_31920_, double p_31922_, float arg3, float arg4, int arg5)
public Vec3
dv()
trackingPosition()
method_43390()
m_ynqvoxet()
getSyncedPos()
getAttachmentPos()
m_213870_()
public Packet<ClientGamePacketListener>
a(asf 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(acs 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
dJ()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
getPickBlockStack()
m_142340_()