net.minecraft.world.entity.decoration

public abstract class HangingEntity

extends BlockAttachedEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

ckv
net.minecraft.world.entity.decoration.HangingEntity
net.minecraft.class_1530
net.minecraft.entity.decoration.AbstractDecorationEntity
net.minecraft.world.entity.decoration.EntityHanging

Field summary

Modifier and TypeField
protected static final Predicate<Entity>
b
HANGING_ENTITY
field_7098
PREDICATE
protected Direction
c
direction
field_7099
facing

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(jn arg0)
setDirection(Direction arg0)
method_6892(class_2350 arg0)
setFacing(Direction facing)
protected final void
l()
recalculateBoundingBox()
method_6895()
updateAttachmentPosition()
protected abstract AABB
a(ji arg0, jn arg1)
calculateBoundingBox(BlockPos arg0, Direction arg1)
method_59943(class_2338 arg0, class_2350 arg1)
calculateBoundingBox(BlockPos pos, Direction side)
public boolean
m()
survives()
method_6888()
canStayAttached()
protected AABB
y()
calculateSupportBox()
method_59941()
getAttachmentBox()
public Direction
cO()
getDirection()
method_5735()
getHorizontalFacing()
public abstract void
z()
playPlacementSound()
method_6894()
onPlace()
public ItemEntity
a(ard arg0, cwq arg1, float arg2)
spawnAtLocation(ServerLevel arg0, ItemStack arg1, float arg2)
method_5699(class_3218 arg0, class_1799 arg1, float arg2)
dropStack(ServerWorld arg0, ItemStack arg1, float arg2)
public float
a(dqf arg0)
rotate(Rotation arg0)
method_5832(class_2470 arg0)
applyRotation(BlockRotation arg0)
public float
a(dom arg0)
mirror(Mirror arg0)
method_5763(class_2415 arg0)
applyMirror(BlockMirror arg0)