net.minecraft.world.entity.decoration

public class LeashFenceKnotEntity

extends HangingEntity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bkl
net.minecraft.world.entity.decoration.LeashFenceKnotEntity
net.minecraft.class_1532
net.minecraft.unmapped.C_nqadrnms
net.minecraft.entity.decoration.LeashKnotEntity
net.minecraft.src.C_972_
net.minecraft.world.entity.decoration.EntityLeash

Field summary

Modifier and TypeField
public static final double
e
OFFSET_Y
field_30455
f_qrvlfflk
field_30455
f_149638_

Constructor summary

ModifierConstructor
public (EntityType<? extends LeashFenceKnotEntity> p_31829_, Level arg1)
public (Level world, BlockPos pos)

Method summary

Modifier and TypeMethod
protected void
q()
recalculateBoundingBox()
method_6895()
m_phfxhpml()
updateAttachmentPosition()
m_7087_()
public void
a(gm arg0)
setDirection(Direction arg0)
method_6892(class_2350 arg0)
m_pjpwgxem(C_xpuuihxf arg0)
setFacing(Direction arg0)
m_6022_(C_4687_ arg0)
public int
s()
getWidth()
method_6897()
m_chpcwnsx()
getWidthPixels()
m_7076_()
public int
t()
getHeight()
method_6891()
m_mhhraxdz()
getHeightPixels()
m_7068_()
protected float
a(axt arg0, awu 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_31840_, C_510_ arg1)
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(awt arg0)
dropItem(Entity arg0)
method_6889(class_1297 arg0)
m_xlilvwoa(C_astfners arg0)
onBreak(Entity arg0)
m_5553_(C_507_ arg0)
public void
b(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(oc arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public InteractionResult
a(bnr arg0, avp 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_31843_, C_470_ arg1)
public boolean
r()
survives()
method_6888()
m_jixxpwgg()
canStayAttached()
m_7088_()
public static LeashFenceKnotEntity
b(cad arg0, gh arg1)
getOrCreateKnot(Level arg0, BlockPos arg1)
method_6932(class_1937 arg0, class_2338 arg1)
m_tpzxhpzc(C_cdctfzbn arg0, C_hynzadkk arg1)
getOrCreate(World world, BlockPos pos)
m_31844_(C_1596_ p_31845_, C_4675_ p_31846_)
public void
u()
playPlacementSound()
method_6894()
m_tmiedenc()
onPlace()
m_7084_()
public Packet<?>
S()
getAddEntityPacket()
method_18002()
m_tugxrexj()
createSpawnPacket()
m_5654_()
public Vec3
n(float arg0)
getRopeHoldPosition(float arg0)
method_30951(float arg0)
m_grytvnwh(float arg0)
getLeashPos(float arg0)
m_7398_(float arg0)
public ItemStack
dk()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
m_142340_()