net.minecraft.world.entity.decoration

public abstract class HangingEntity

extends BlockAttachedEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

cls
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.GlowItemFrame

Field summary

Modifier and TypeField
protected static final Predicate<Entity>
b
HANGING_ENTITY
field_7098
f_eycxoxbt
PREDICATE
PREDICATE
f_31697_
protected Direction
c
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(jm 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
l()
recalculateBoundingBox()
method_6895()
m_woivokxp()
updateAttachmentPosition()
updateBoundingBox()
m_7087_()
protected abstract 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 pos, Direction side)
calculateBoundingBox(BlockPos pos, Direction direction)
m_338754_(C_4675_ p_343089_, C_4687_ arg1)
public boolean
m()
survives()
method_6888()
m_uzlyxllu()
canStayAttached()
canStayAttached()
m_7088_()
protected AABB
y()
calculateSupportBox()
method_59941()
m_rhbnmmyq()
getAttachmentBox()
calculateSupportBox()
m_339128_()
public Direction
cO()
getDirection()
method_5735()
m_fizdaqdb()
getHorizontalFacing()
getHorizontalFacing()
m_6350_()
public abstract void
z()
playPlacementSound()
method_6894()
m_tmiedenc()
onPlace()
onPlace()
m_7084_()
public ItemEntity
a(ash arg0, cxo arg1, float arg2)
spawnAtLocation(ServerLevel arg0, ItemStack arg1, float arg2)
method_5699(class_3218 arg0, class_1799 arg1, float arg2)
m_bxezczwg(C_bdwnwhiu arg0, C_sddaxwyk arg1, float arg2)
dropStack(ServerWorld arg0, ItemStack arg1, float arg2)
m_bxezczwg(ServerWorld arg0, ItemStack arg1, float arg2)
m_19998_(C_12_ p_31722_, C_1391_ p_31723_, float arg2)
public float
a(drb 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(dpk 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)