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.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
PREDICATE
f_31697_
protected Direction
d
direction
field_7099
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(ji arg0)
setDirection(Direction arg0)
method_6892(class_2350 arg0)
setFacing(Direction facing)
m_6022_(C_4687_ arg0)
protected final void
p()
recalculateBoundingBox()
method_6895()
updateAttachmentPosition()
m_7087_()
protected abstract AABB
a(jd arg0, ji arg1)
calculateBoundingBox(BlockPos arg0, Direction arg1)
method_59943(class_2338 arg0, class_2350 arg1)
calculateBoundingBox(BlockPos pos, Direction side)
m_338754_(C_4675_ p_343089_, C_4687_ arg1)
public boolean
s()
survives()
method_6888()
canStayAttached()
m_7088_()
protected AABB
B()
calculateSupportBox()
method_59941()
getAttachmentBox()
m_339128_()
public Direction
cH()
getDirection()
method_5735()
getHorizontalFacing()
m_6350_()
public abstract void
C()
playPlacementSound()
method_6894()
onPlace()
m_7084_()
public ItemEntity
a(cuq arg0, float arg1)
spawnAtLocation(ItemStack arg0, float arg1)
method_5699(class_1799 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)
applyRotation(BlockRotation arg0)
m_7890_(C_1886_ arg0)
public float
a(dkv arg0)
mirror(Mirror arg0)
method_5763(class_2415 arg0)
applyMirror(BlockMirror arg0)
m_6961_(C_1838_ arg0)