net.minecraft.world.entity.item

public class FallingBlockEntity

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter

cod
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(djz arg0, iw arg1, ebg 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(aru arg0, bvk 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(iw arg0)
setStartPos(BlockPos arg0)
method_6963(class_2338 arg0)
setFallingBlockPos(BlockPos pos)
public BlockPos
f()
getStartPos()
method_6964()
getFallingBlockPos()
protected Entity$MovementEmission
bf()
getMovementEmission()
method_33570()
getMoveEffect()
protected void
a(akr$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
bF()
isPickable()
method_5863()
canHit()
protected double
bc()
getDefaultGravity()
method_7490()
getGravity()
public void
h()
tick()
method_5773()
tick()
public void
a(dne arg0, iw 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, bvk 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
b(ua arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(ua 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
g()
disableDrop()
method_49181()
setDestroyedOnLanding()
public boolean
cF()
displayFireAnimation()
method_5862()
doesRenderOnFire()
public void
a(q arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_5819(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
public BlockState
j()
getBlockState()
method_6962()
getBlockState()
protected Component
cz()
getTypeName()
method_23315()
getDefaultName()
public Packet<ClientGamePacketListener>
a(ars arg0)
getAddEntityPacket(ServerEntity arg0)
method_18002(class_3231 arg0)
createSpawnPacket(EntityTrackerEntry arg0)
public void
a(abz arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
public Entity
b(eyq arg0)
teleport(TeleportTransition arg0)
method_5731(class_5454 arg0)
teleportTo(TeleportTarget arg0)