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.unmapped.C_mfdvqmsw
net.minecraft.entity.decoration.BlockAttachedEntity
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
b
LOGGER
field_51590
f_gqgghbho
LOGGER
LOGGER
f_337358_
private int
c
checkInterval
field_51591
f_atnmykql
attachCheckTimer
attachCheckCounter
f_337229_
protected BlockPos
a
pos
field_51589
f_mfffpctw
attachedBlockPos
pos
f_336836_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected abstract void
l()
recalculateBoundingBox()
method_6895()
m_woivokxp()
updateAttachmentPosition()
updateBoundingBox()
m_7087_()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public abstract boolean
m()
survives()
method_6888()
m_uzlyxllu()
canStayAttached()
canStayAttached()
m_7088_()
public boolean
bH()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
m_6087_()
public boolean
v(bvk arg0)
skipAttackInteraction(Entity arg0)
method_5698(class_1297 arg0)
m_uvsfzohj(C_astfners arg0)
handleAttack(Entity arg0)
handleAttack(Entity arg0)
m_7313_(C_507_ arg0)
public boolean
b(bua arg0)
hurtClient(DamageSource arg0)
method_5643(class_1282 arg0)
m_jaiycnbg(C_sbxfkpyv arg0)
clientDamage(DamageSource arg0)
damageClient(DamageSource arg0)
m_8088_(C_489_ 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)
m_fuenwjjy(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_362614_, C_489_ p_362901_, float arg2)
public boolean
a(dha arg0)
ignoreExplosion(Explosion arg0)
method_5659(class_1927 arg0)
m_enouepiv(C_aahhrzpf arg0)
isImmuneToExplosion(Explosion arg0)
isImmuneToExplosion(Explosion arg0)
m_6128_(C_1578_ arg0)
public void
a(bwk arg0, fby arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
m_zcvlfcid(C_eojqvxuw arg0, C_vgpupfxx arg1)
move(MovementType arg0, Vec3d 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)
m_cizdqdzz(double arg0, double arg1, double arg2)
addVelocity(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(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public abstract void
a(ash arg0, bvk arg1)
dropItem(ServerLevel arg0, Entity arg1)
method_6889(class_3218 arg0, class_1297 arg1)
m_kulkifdk(C_bdwnwhiu arg0, C_astfners arg1)
onBreak(ServerWorld world, Entity breaker)
dropItem(ServerWorld world, Entity breaker)
m_31802_(C_12_ p_342668_, C_507_ arg1)
protected boolean
bJ()
repositionEntityAfterLoad()
method_5638()
m_qqdihtpc()
shouldSetPositionOnLoad()
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)
m_jrpyecoc(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
m_6034_(double p_342992_, double arg1, double arg2)
public BlockPos
p()
getPos()
method_59940()
m_fodqxigf()
getAttachedBlockPos()
getAttachedBlockPos()
m_339902_()
public void
a(ash arg0, bwf arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
m_vindekkr(C_bdwnwhiu arg0, C_kbpqznyn arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
m_8038_(C_12_ p_343666_, C_523_ arg1)
public void
m_()
refreshDimensions()
method_18382()
m_dgesbqpr()
calculateDimensions()
calculateDimensions()
m_6210_()