net.minecraft.world.entity.decoration

public abstract class HangingEntity

extends BlockAttachedEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter

cow
net.minecraft.world.entity.decoration.HangingEntity
net.minecraft.class_1530

Field summary

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

Constructor summary

ModifierConstructor
protected (EntityType<? extends HangingEntity> arg0, Level arg1)
protected (EntityType<? extends HangingEntity> arg0, Level arg1, BlockPos arg2)

Method summary

Modifier and TypeMethod
protected void
a(je arg0)
setDirection(Direction arg0)
method_6892(class_2350 arg0)
protected final void
e()
recalculateBoundingBox()
method_6895()
protected abstract AABB
a(iy arg0, je arg1)
calculateBoundingBox(BlockPos arg0, Direction arg1)
method_59943(class_2338 arg0, class_2350 arg1)
public boolean
f()
survives()
method_6888()
protected AABB
t()
calculateSupportBox()
method_59941()
public Direction
cR()
getDirection()
method_5735()
public abstract void
u()
playPlacementSound()
method_6894()
public ItemEntity
a(asi arg0, dba arg1, float arg2)
spawnAtLocation(ServerLevel arg0, ItemStack arg1, float arg2)
method_5699(class_3218 arg0, class_1799 arg1, float arg2)
public float
a(duz arg0)
rotate(Rotation arg0)
method_5832(class_2470 arg0)
public float
a(dti arg0)
mirror(Mirror arg0)
method_5763(class_2415 arg0)