net.minecraft.world.entity.item

public class FallingBlockEntity

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter

cqy
net.minecraft.world.entity.item.FallingBlockEntity
net.minecraft.class_1540
net.minecraft.entity.FallingBlockEntity

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
f
LOGGER
field_36333
LOGGER
private static final BlockState
g
DEFAULT_BLOCK_STATE
field_57654
DEFAULT_BLOCK_STATE
private static final int
h
DEFAULT_TIME
field_57655
DEFAULT_TIME
private static final float
i
DEFAULT_FALL_DAMAGE_PER_DISTANCE
field_57656
DEFAULT_FALL_HURT_AMOUNT
private static final int
j
DEFAULT_MAX_FALL_DAMAGE
field_57657
DEFAULT_FALL_HURT_MAX
private static final boolean
k
DEFAULT_DROP_ITEM
field_57658
DEFAULT_DROP_ITEM
private static final boolean
l
DEFAULT_CANCEL_DROP
field_57659
DEFAULT_DESTROYED_ON_LANDING
private BlockState
m
blockState
field_7188
blockState
public int
a
time
field_7192
timeFalling
public boolean
b
dropItem
field_7193
dropItem
private boolean
n
cancelDrop
field_7189
destroyedOnLanding
private boolean
o
hurtEntities
field_7191
hurtEntities
private int
p
fallDamageMax
field_7190
fallHurtMax
private float
q
fallDamagePerDistance
field_7187
fallHurtAmount
public CompoundTag
c
blockData
field_7194
blockEntityData
public boolean
d
forceTickAfterTeleportToDuplicate
field_52015
shouldDupe
protected static final EntityDataAccessor<BlockPos>
e
DATA_START_POS
field_7195
BLOCK_POS

Constructor summary

ModifierConstructor
public (EntityType<? extends FallingBlockEntity> arg0, Level arg1)
private (Level world, double x, double y, double z, BlockState blockState)

Method summary

Modifier and TypeMethod
public static FallingBlockEntity
a(dmu arg0, jb arg1, eeb arg2)
fall(Level arg0, BlockPos arg1, BlockState arg2)
method_40005(class_1937 arg0, class_2338 arg1, class_2680 arg2)
spawnFromBlock(World world, BlockPos pos, BlockState state)
public boolean
cF()
isAttackable()
method_5732()
isAttackable()
public final boolean
a(aub arg0, byb 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 void
a(jb arg0)
setStartPos(BlockPos arg0)
method_6963(class_2338 arg0)
setFallingBlockPos(BlockPos pos)
public BlockPos
e()
getStartPos()
method_6964()
getFallingBlockPos()
protected Entity$MovementEmission
bj()
getMovementEmission()
method_33570()
getMoveEffect()
protected void
a(all$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
bK()
isPickable()
method_5863()
canHit()
protected double
bg()
getDefaultGravity()
method_7490()
getGravity()
public void
g()
tick()
method_5773()
tick()
public void
a(dpz arg0, jb arg1)
callOnBrokenAfterFall(Block arg0, BlockPos arg1)
method_32752(class_2248 arg0, class_2338 arg1)
onDestroyedOnLanding(Block block, BlockPos pos)
public boolean
a(double arg0, float arg1, byb arg2)
causeFallDamage(double arg0, float arg1, DamageSource arg2)
method_5747(double arg0, float arg1, class_1282 arg2)
handleFallDamage(double arg0, float arg1, DamageSource arg2)
protected void
a(fdc arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
a(fda arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public void
b(float arg0, int arg1)
setHurtsEntities(float arg0, int arg1)
method_6965(float arg0, int arg1)
setHurtEntities(float fallHurtAmount, int fallHurtMax)
public void
f()
disableDrop()
method_49181()
setDestroyedOnLanding()
public boolean
cJ()
displayFireAnimation()
method_5862()
doesRenderOnFire()
public void
a(q arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_5819(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
public BlockState
i()
getBlockState()
method_6962()
getBlockState()
protected Component
cD()
getTypeName()
method_23315()
getDefaultName()
public Packet<ClientGamePacketListener>
a(atz arg0)
getAddEntityPacket(ServerEntity arg0)
method_18002(class_3231 arg0)
createSpawnPacket(EntityTrackerEntry arg0)
public void
a(acr arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
public Entity
b(fbl arg0)
teleport(TeleportTransition arg0)
method_5731(class_5454 arg0)
teleportTo(TeleportTarget arg0)