net.minecraft.world.entity.decoration

public abstract class BlockAttachedEntity

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

clr
net.minecraft.world.entity.decoration.BlockAttachedEntity
net.minecraft.class_9691
net.minecraft.entity.decoration.BlockAttachedEntity
net.minecraft.world.entity.decoration.BlockAttachedEntity

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected abstract void
l()
recalculateBoundingBox()
method_6895()
updateAttachmentPosition()
public void
h()
tick()
method_5773()
tick()
public abstract boolean
m()
survives()
method_6888()
canStayAttached()
public boolean
bH()
isPickable()
method_5863()
canHit()
public boolean
v(bvk arg0)
skipAttackInteraction(Entity arg0)
method_5698(class_1297 arg0)
handleAttack(Entity arg0)
public boolean
b(bua arg0)
hurtClient(DamageSource arg0)
method_5643(class_1282 arg0)
clientDamage(DamageSource arg0)
public boolean
a(ash arg0, bua arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
public boolean
a(dha arg0)
ignoreExplosion(Explosion arg0)
method_5659(class_1927 arg0)
isImmuneToExplosion(Explosion arg0)
public void
a(bwk arg0, fby arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
move(MovementType arg0, Vec3d 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)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public abstract void
a(ash arg0, bvk arg1)
dropItem(ServerLevel arg0, Entity arg1)
method_6889(class_3218 arg0, class_1297 arg1)
onBreak(ServerWorld world, Entity breaker)
protected boolean
bJ()
repositionEntityAfterLoad()
method_5638()
shouldSetPositionOnLoad()
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)
public BlockPos
p()
getPos()
method_59940()
getAttachedBlockPos()
public void
a(ash arg0, bwf arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
public void
m_()
refreshDimensions()
method_18382()
calculateDimensions()