net.minecraft.world.entity.decoration

public abstract class BlockAttachedEntity

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder

cix
net.minecraft.world.entity.decoration.BlockAttachedEntity
net.minecraft.class_9691
net.minecraft.entity.decoration.BlockAttachedEntity
net.minecraft.src.C_336576_
net.minecraft.world.entity.decoration.BlockAttachedEntity

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
c
LOGGER
field_51590
LOGGER
f_337358_
private int
d
checkInterval
field_51591
attachCheckTimer
f_337229_
protected BlockPos
b
pos
field_51589
attachedBlockPos
f_336836_

Constructor summary

ModifierConstructor
protected (EntityType<? extends BlockAttachedEntity> p_342394_, Level arg1)
protected (EntityType<? extends BlockAttachedEntity> type, Level world, BlockPos attachedBlockPos)

Method summary

Modifier and TypeMethod
protected abstract void
p()
recalculateBoundingBox()
method_6895()
updateAttachmentPosition()
m_7087_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public abstract boolean
s()
survives()
method_6888()
canStayAttached()
m_7088_()
public boolean
bA()
isPickable()
method_5863()
canHit()
m_6087_()
public boolean
u(bsr arg0)
skipAttackInteraction(Entity arg0)
method_5698(class_1297 arg0)
handleAttack(Entity arg0)
m_7313_(C_507_ arg0)
public boolean
a(brk arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_343956_, float arg1)
public void
a(bts arg0, exc arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
move(MovementType arg0, Vec3d arg1)
m_6478_(C_531_ p_344746_, C_3046_ arg1)
public void
j(double arg0, double arg1, double arg2)
push(double arg0, double arg1, double arg2)
method_5762(double arg0, double arg1, double arg2)
addVelocity(double arg0, double arg1, double arg2)
m_5997_(double p_342443_, double arg1, double arg2)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public abstract void
b(bsr arg0)
dropItem(Entity arg0)
method_6889(class_1297 arg0)
onBreak(Entity breaker)
m_31778_(C_507_ arg0)
protected boolean
bC()
repositionEntityAfterLoad()
method_5638()
shouldSetPositionOnLoad()
m_6093_()
public void
a_(double arg0, double arg1, double arg2)
setPos(double arg0, double arg1, double arg2)
method_5814(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
m_6034_(double p_342992_, double arg1, double arg2)
public BlockPos
t()
getPos()
method_59940()
getAttachedBlockPos()
m_339902_()
public void
a(aqu arg0, btm arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
m_8038_(C_12_ p_343666_, C_523_ arg1)
public void
i_()
refreshDimensions()
method_18382()
calculateDimensions()
m_6210_()