net.minecraft.world.entity.decoration

public abstract class HangingEntity

extends Entity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bqn
net.minecraft.world.entity.decoration.HangingEntity
net.minecraft.class_1530
net.minecraft.unmapped.C_jkvbjfnw
net.minecraft.entity.decoration.AbstractDecorationEntity
net.minecraft.entity.decoration.AbstractDecorationEntity
net.minecraft.src.C_968_
net.minecraft.world.entity.decoration.EntityHanging

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
e
LOGGER
field_39455
f_ofzfmgrf
field_39455
LOGGER
f_238173_
protected static final Predicate<Entity>
b
HANGING_ENTITY
field_7098
f_eycxoxbt
PREDICATE
PREDICATE
f_31697_
private int
f
checkInterval
field_7097
f_swmrowci
obstructionCheckCounter
obstructionCheckCounter
f_31700_
protected BlockPos
c
pos
field_7100
f_rimseycb
attachmentPos
attachmentPos
f_31698_
protected Direction
d
direction
field_7099
f_tjtkpeoz
facing
facing
f_31699_

Constructor summary

ModifierConstructor
protected (EntityType<? extends HangingEntity> p_31704_, Level arg1)
protected (EntityType<? extends HangingEntity> type, Level world, BlockPos pos)

Method summary

Modifier and TypeMethod
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
protected void
a(gy arg0)
setDirection(Direction arg0)
method_6892(class_2350 arg0)
m_pjpwgxem(C_xpuuihxf arg0)
setFacing(Direction facing)
setFacing(Direction facing)
m_6022_(C_4687_ arg0)
protected void
q()
recalculateBoundingBox()
method_6895()
m_phfxhpml()
updateAttachmentPosition()
updateAttachmentPosition()
m_7087_()
private double
a(int arg0)
offs(int arg0)
method_6893(int arg0)
m_kidmbgjw(int arg0)
method_6893(int arg0)
offset(int offset)
m_31709_(int arg0)
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public boolean
r()
survives()
method_6888()
m_jixxpwgg()
canStayAttached()
canStayAttached()
m_7088_()
public boolean
bk()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
m_6087_()
public boolean
r(bbn arg0)
skipAttackInteraction(Entity arg0)
method_5698(class_1297 arg0)
m_uvsfzohj(C_astfners arg0)
handleAttack(Entity arg0)
handleAttack(Entity arg0)
m_7313_(C_507_ arg0)
public Direction
cv()
getDirection()
method_5735()
m_fizdaqdb()
getHorizontalFacing()
getHorizontalFacing()
m_6350_()
public boolean
a(baw arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_31716_, float arg1)
public void
a(bci arg0, dwq 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_31720_, C_3046_ arg1)
public void
i(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_31745_, double arg1, double arg2)
public void
b(pj 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(pj 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 abstract int
s()
getWidth()
method_6897()
m_chpcwnsx()
getWidthPixels()
getWidthPixels()
m_7076_()
public abstract int
t()
getHeight()
method_6891()
m_mhhraxdz()
getHeightPixels()
getHeightPixels()
m_7068_()
public abstract void
a(bbn arg0)
dropItem(Entity arg0)
method_6889(class_1297 arg0)
m_xlilvwoa(C_astfners arg0)
onBreak(Entity entity)
onBreak(Entity entity)
m_5553_(C_507_ arg0)
public abstract void
u()
playPlacementSound()
method_6894()
m_tmiedenc()
onPlace()
onPlace()
m_7084_()
public ItemEntity
a(cax arg0, float arg1)
spawnAtLocation(ItemStack arg0, float arg1)
method_5699(class_1799 arg0, float arg1)
m_wtzjdmqq(C_sddaxwyk arg0, float arg1)
dropStack(ItemStack arg0, float arg1)
dropStack(ItemStack arg0, float arg1)
m_5552_(C_1391_ p_31723_, float arg1)
protected boolean
bm()
repositionEntityAfterLoad()
method_5638()
m_qqdihtpc()
shouldSetPositionOnLoad()
shouldSetPositionOnLoad()
m_6093_()
public void
e(double arg0, double arg1, double arg2)
setPos(double arg0, double arg1, double arg2)
method_5814(double arg0, double arg1, double arg2)
m_jrpyecoc(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
m_6034_(double p_31740_, double arg1, double arg2)
public BlockPos
w()
getPos()
method_6896()
m_fszmorpm()
getDecorationBlockPos()
getDecorationBlockPos()
m_31748_()
public float
a(cpw arg0)
rotate(Rotation arg0)
method_5832(class_2470 arg0)
m_cpoqqugf(C_mboglirk arg0)
applyRotation(BlockRotation arg0)
applyRotation(BlockRotation arg0)
m_7890_(C_1886_ arg0)
public float
a(coh arg0)
mirror(Mirror arg0)
method_5763(class_2415 arg0)
m_kvelccqq(C_qomzaqud arg0)
applyMirror(BlockMirror arg0)
applyMirror(BlockMirror arg0)
m_6961_(C_1838_ arg0)
public void
a(agg arg0, bcb arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
m_vindekkr(C_bdwnwhiu arg0, C_kbpqznyn arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
m_8038_(C_12_ p_31713_, C_523_ arg1)
public void
z_()
refreshDimensions()
method_18382()
m_dgesbqpr()
calculateDimensions()
calculateDimensions()
m_6210_()