net.minecraft.world.entity.decoration

public class Painting

extends HangingEntity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bgz
net.minecraft.world.entity.decoration.Painting
net.minecraft.class_1534
net.minecraft.entity.decoration.painting.PaintingEntity
net.minecraft.src.C_974_
net.minecraft.world.entity.decoration.EntityPainting

字段概要

修饰符与类型字段
public Motive
e
motive
field_7134
motive
f_31902_

构造函数概要

修饰符构造函数
public (EntityType<? extends Painting> p_31905_, Level arg1)
public (Level world, BlockPos pos, Direction direction)
public (Level world, BlockPos pos, Direction direction, Motive motive)

方法概要

修饰符与类型方法
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 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)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public int
r()
getWidth()
method_6897()
getWidthPixels()
m_7076_()
getHangingWidth()
public int
s()
getHeight()
method_6891()
getHeightPixels()
m_7068_()
getHangingHeight()
public void
a(atf arg0)
dropItem(Entity arg0)
method_6889(class_1297 arg0)
onBreak(Entity arg0)
m_5553_(C_507_ arg0)
public void
t()
playPlacementSound()
method_6894()
onPlace()
m_7084_()
playPlaceSound()
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)
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)
setPositionRotation(double arg0, double arg1, 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)
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 Packet<?>
P()
getAddEntityPacket()
method_18002()
createSpawnPacket()
m_5654_()
getPacket()
public ItemStack
df()
getPickResult()
method_31480()
getPickBlockStack()
m_142340_()