net.minecraft.world.entity.item

public class FallingBlockEntity

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

clc
net.minecraft.world.entity.item.FallingBlockEntity
net.minecraft.class_1540
net.minecraft.entity.FallingBlockEntity
net.minecraft.world.entity.item.EntityFallingBlock

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
f
LOGGER
field_36333
LOGGER
private BlockState
g
blockState
field_7188
block
public int
a
time
field_7192
timeFalling
public boolean
b
dropItem
field_7193
dropItem
private boolean
h
cancelDrop
field_7189
destroyedOnLanding
private boolean
i
hurtEntities
field_7191
hurtEntities
private int
j
fallDamageMax
field_7190
fallHurtMax
private float
k
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 block)

Method summary

Modifier and TypeMethod
public static FallingBlockEntity
a(dgj arg0, ji arg1, dwy 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
cB()
isAttackable()
method_5732()
isAttackable()
public final boolean
a(ard arg0, btc 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(ji arg0)
setStartPos(BlockPos arg0)
method_6963(class_2338 arg0)
setFallingBlockPos(BlockPos pos)
public BlockPos
l()
getStartPos()
method_6964()
getFallingBlockPos()
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
getMoveEffect()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
bH()
isPickable()
method_5863()
canHit()
protected double
bd()
getDefaultGravity()
method_7490()
getGravity()
public void
h()
tick()
method_5773()
tick()
public void
a(djn arg0, ji arg1)
callOnBrokenAfterFall(Block arg0, BlockPos arg1)
method_32752(class_2248 arg0, class_2338 arg1)
onDestroyedOnLanding(Block block, BlockPos pos)
public boolean
a(float arg0, float arg1, btc arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
protected void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound 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
m()
disableDrop()
method_49181()
setDestroyedOnLanding()
public boolean
cF()
displayFireAnimation()
method_5862()
doesRenderOnFire()
public void
a(p arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_5819(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
public BlockState
p()
getBlockState()
method_6962()
getBlockState()
protected Component
cz()
getTypeName()
method_23315()
getDefaultName()
public Packet<ClientGamePacketListener>
a(arb arg0)
getAddEntityPacket(ServerEntity arg0)
method_18002(class_3231 arg0)
createSpawnPacket(EntityTrackerEntry arg0)
public void
a(abm arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
public Entity
b(eua arg0)
teleport(TeleportTransition arg0)
method_5731(class_5454 arg0)
teleportTo(TeleportTarget arg0)