net.minecraft.world.entity.decoration

public abstract class HangingEntity

extends BlockAttachedEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder

ciz
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
protected static final Predicate<Entity>
c
HANGING_ENTITY
field_7098
f_eycxoxbt
PREDICATE
PREDICATE
f_31697_
protected Direction
d
direction
field_7099
f_tjtkpeoz
facing
facing
f_31699_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(ji 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 final void
p()
recalculateBoundingBox()
method_6895()
m_woivokxp()
updateAttachmentPosition()
updateBoundingBox()
m_7087_()
protected abstract AABB
a(jd arg0, ji arg1)
calculateBoundingBox(BlockPos arg0, Direction arg1)
method_59943(class_2338 arg0, class_2350 arg1)
m_lbdhqjli(C_hynzadkk arg0, C_xpuuihxf arg1)
calculateBoundingBox(BlockPos pos, Direction side)
calculateBoundingBox(BlockPos pos, Direction direction)
m_338754_(C_4675_ p_343089_, C_4687_ arg1)
public boolean
s()
survives()
method_6888()
m_uzlyxllu()
canStayAttached()
canStayAttached()
m_7088_()
protected AABB
B()
calculateSupportBox()
method_59941()
m_rhbnmmyq()
getAttachmentBox()
calculateSupportBox()
m_339128_()
public Direction
cH()
getDirection()
method_5735()
m_fizdaqdb()
getHorizontalFacing()
getHorizontalFacing()
m_6350_()
public abstract void
C()
playPlacementSound()
method_6894()
m_tmiedenc()
onPlace()
onPlace()
m_7084_()
public ItemEntity
a(cuq 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)
public float
a(dmm 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(dkv 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)