net.minecraft.world.entity.item

public class FallingBlockEntity

extends Entity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bhb
net.minecraft.world.entity.item.FallingBlockEntity
net.minecraft.class_1540
net.minecraft.entity.FallingBlockEntity
net.minecraft.src.C_975_
net.minecraft.world.entity.item.EntityFallingBlock

Field summary

Modifier and TypeField
private BlockState
f
blockState
field_7188
block
f_31946_
public int
b
time
field_7192
timeFalling
f_31942_
public boolean
c
dropItem
field_7193
dropItem
f_31943_
private boolean
ao
cancelDrop
field_7189
destroyedOnLanding
f_31947_
private boolean
ap
hurtEntities
field_7191
hurtEntities
f_31939_
private int
aq
fallDamageMax
field_7190
fallHurtMax
f_31940_
private float
ar
fallDamagePerDistance
field_7187
fallHurtAmount
f_149641_
public CompoundTag
d
blockData
field_7194
blockEntityData
f_31944_
protected static final EntityDataAccessor<BlockPos>
e
DATA_START_POS
field_7195
BLOCK_POS
f_31945_

Constructor summary

ModifierConstructor
public (EntityType<? extends FallingBlockEntity> p_31951_, Level arg1)
public (Level world, double x, double y, double z, BlockState block)

Method summary

Modifier and TypeMethod
public boolean
ca()
isAttackable()
method_5732()
isAttackable()
m_6097_()
public void
a(gg arg0)
setStartPos(BlockPos arg0)
method_6963(class_2338 arg0)
setFallingBlockPos(BlockPos pos)
m_31959_(C_4675_ arg0)
public BlockPos
h()
getStartPos()
method_6964()
getFallingBlockPos()
m_31978_()
protected Entity$MovementEmission
aI()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public boolean
bc()
isPickable()
method_5863()
collides()
m_6087_()
isInteractable()
public void
k()
tick()
method_5773()
tick()
m_8119_()
tick()
public void
a(bzo arg0, gg arg1)
callOnBrokenAfterFall(Block arg0, BlockPos arg1)
method_32752(class_2248 arg0, class_2338 arg1)
onDestroyedOnLanding(Block block, BlockPos pos)
m_149650_(C_1706_ p_149652_, C_4675_ arg1)
public boolean
a(float arg0, float arg1, asp arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_149644_, float p_149645_, C_489_ arg2)
protected void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
protected void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public Level
i()
getLevel()
method_6966()
getWorldClient()
m_31979_()
public void
b(float arg0, int arg1)
setHurtsEntities(float arg0, int arg1)
method_6965(float arg0, int arg1)
setHurtEntities(float fallHurtAmount, int fallHurtMax)
m_149656_(float p_149658_, int arg1)
public boolean
cg()
displayFireAnimation()
method_5862()
doesRenderOnFire()
m_6051_()
public void
a(r arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_5819(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
m_7976_(C_4909_ arg0)
appendEntityCrashDetails(CrashReportSystemDetails arg0)
public BlockState
j()
getBlockState()
method_6962()
getBlockState()
m_31980_()
getBlock()
public boolean
cy()
onlyOpCanSetNbt()
method_5833()
entityDataRequiresOperator()
m_6127_()
public Packet<?>
P()
getAddEntityPacket()
method_18002()
createSpawnPacket()
m_5654_()
getPacket()
public void
a(po arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)