Package net.minecraft.entity
Class FallingBlockEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.FallingBlockEntity
- All Implemented Interfaces:
EntityLike
,CommandOutput
,Nameable
public class FallingBlockEntity extends Entity
- Mappings:
Namespace Name official bej
intermediary net/minecraft/class_1540
named net/minecraft/entity/FallingBlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields Modifier and Type Field Description private BlockState
block
protected static TrackedData<BlockPos>
BLOCK_POS
CompoundTag
blockEntityData
private boolean
destroyedOnLanding
boolean
dropItem
private float
fallHurtAmount
private int
fallHurtMax
private boolean
hurtEntities
int
timeFalling
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description FallingBlockEntity(EntityType<? extends FallingBlockEntity> type, World world)
FallingBlockEntity(World world, double x, double y, double z, BlockState block)
-
Method Summary
Modifier and Type Method Description boolean
collides()
Packet<?>
createSpawnPacket()
boolean
doesRenderOnFire()
boolean
entityDataRequiresOperator()
BlockState
getBlockState()
BlockPos
getFallingBlockPos()
World
getWorldClient()
boolean
handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)
protected void
initDataTracker()
boolean
isAttackable()
protected Entity.class_5799
method_33570()
void
onDestroyedOnLanding(Block block, BlockPos pos)
void
onSpawnPacket(EntitySpawnS2CPacket packet)
void
populateCrashReport(CrashReportSection section)
protected void
readCustomDataFromTag(CompoundTag tag)
void
setFallingBlockPos(BlockPos pos)
void
setHurtEntities(float fallHurtAmount, int fallHurtMax)
void
tick()
protected void
writeCustomDataToTag(CompoundTag tag)
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFly, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, checkWaterState, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, damage, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, equipStack, extinguish, fall, fromTag, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, getZ, handleAttack, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAlive, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_29241, method_29919, method_30330, method_30633, method_30951, method_31744, method_32318, method_32877, method_33332, method_33567, method_33568, method_33569, method_33571, method_33573, method_33574, method_33575, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playFlySound, playSound, playStepSound, playSwimSound, pushAwayFrom, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, stopRiding, streamPassengers, streamPassengersRecursively, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
BLOCK_POS
- Mappings:
Namespace Name Mixin selector official e
Lbej;e:Lvk;
intermediary field_7195
Lnet/minecraft/class_1540;field_7195:Lnet/minecraft/class_2940;
named BLOCK_POS
Lnet/minecraft/entity/FallingBlockEntity;BLOCK_POS:Lnet/minecraft/entity/data/TrackedData;
-
block
- Mappings:
Namespace Name Mixin selector official f
Lbej;f:Lcht;
intermediary field_7188
Lnet/minecraft/class_1540;field_7188:Lnet/minecraft/class_2680;
named block
Lnet/minecraft/entity/FallingBlockEntity;block:Lnet/minecraft/block/BlockState;
-
timeFalling
public int timeFalling- Mappings:
Namespace Name Mixin selector official b
Lbej;b:I
intermediary field_7192
Lnet/minecraft/class_1540;field_7192:I
named timeFalling
Lnet/minecraft/entity/FallingBlockEntity;timeFalling:I
-
dropItem
public boolean dropItem- Mappings:
Namespace Name Mixin selector official c
Lbej;c:Z
intermediary field_7193
Lnet/minecraft/class_1540;field_7193:Z
named dropItem
Lnet/minecraft/entity/FallingBlockEntity;dropItem:Z
-
destroyedOnLanding
private boolean destroyedOnLanding- Mappings:
Namespace Name Mixin selector official g
Lbej;g:Z
intermediary field_7189
Lnet/minecraft/class_1540;field_7189:Z
named destroyedOnLanding
Lnet/minecraft/entity/FallingBlockEntity;destroyedOnLanding:Z
-
hurtEntities
private boolean hurtEntities- Mappings:
Namespace Name Mixin selector official ae
Lbej;ae:Z
intermediary field_7191
Lnet/minecraft/class_1540;field_7191:Z
named hurtEntities
Lnet/minecraft/entity/FallingBlockEntity;hurtEntities:Z
-
fallHurtMax
private int fallHurtMax- Mappings:
Namespace Name Mixin selector official af
Lbej;af:I
intermediary field_7190
Lnet/minecraft/class_1540;field_7190:I
named fallHurtMax
Lnet/minecraft/entity/FallingBlockEntity;fallHurtMax:I
-
fallHurtAmount
private float fallHurtAmount- Mappings:
Namespace Name Mixin selector official ag
Lbej;ag:F
intermediary field_7187
Lnet/minecraft/class_1540;field_7187:F
named fallHurtAmount
Lnet/minecraft/entity/FallingBlockEntity;fallHurtAmount:F
-
blockEntityData
- Mappings:
Namespace Name Mixin selector official d
Lbej;d:Lmq;
intermediary field_7194
Lnet/minecraft/class_1540;field_7194:Lnet/minecraft/class_2487;
named blockEntityData
Lnet/minecraft/entity/FallingBlockEntity;blockEntityData:Lnet/minecraft/nbt/CompoundTag;
-
-
Constructor Details
-
FallingBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Laqv;<init>(Laqz;Lbtv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
FallingBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbej;<init>(Lbtv;DDDLcht;)V
intermediary <init>
Lnet/minecraft/class_1540;<init>(Lnet/minecraft/class_1937;DDDLnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/entity/FallingBlockEntity;<init>(Lnet/minecraft/world/World;DDDLnet/minecraft/block/BlockState;)V
-
-
Method Details
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackable
in classEntity
- Mappings:
Namespace Name Mixin selector official bV
Laqv;bV()Z
intermediary method_5732
Lnet/minecraft/class_1297;method_5732()Z
named isAttackable
Lnet/minecraft/entity/Entity;isAttackable()Z
-
setFallingBlockPos
- Mappings:
Namespace Name Mixin selector official a
Lbej;a(Lfx;)V
intermediary method_6963
Lnet/minecraft/class_1540;method_6963(Lnet/minecraft/class_2338;)V
named setFallingBlockPos
Lnet/minecraft/entity/FallingBlockEntity;setFallingBlockPos(Lnet/minecraft/util/math/BlockPos;)V
-
getFallingBlockPos
- Mappings:
Namespace Name Mixin selector official g
Lbej;g()Lfx;
intermediary method_6964
Lnet/minecraft/class_1540;method_6964()Lnet/minecraft/class_2338;
named getFallingBlockPos
Lnet/minecraft/entity/FallingBlockEntity;getFallingBlockPos()Lnet/minecraft/util/math/BlockPos;
-
method_33570
- Overrides:
method_33570
in classEntity
- Mappings:
Namespace Name Mixin selector official aE
Laqv;aE()Laqv$b;
intermediary method_33570
Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
named method_33570
Lnet/minecraft/entity/Entity;method_33570()Lnet/minecraft/entity/Entity$class_5799;
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTracker
in classEntity
- Mappings:
Namespace Name Mixin selector official e
Laqv;e()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
collides
public boolean collides() -
tick
public void tick() -
onDestroyedOnLanding
- Mappings:
Namespace Name Mixin selector official a
Lbej;a(Lbwu;Lfx;)V
intermediary method_32752
Lnet/minecraft/class_1540;method_32752(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
named onDestroyedOnLanding
Lnet/minecraft/entity/FallingBlockEntity;onDestroyedOnLanding(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)- Overrides:
handleFallDamage
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(FFLaqf;)Z
intermediary method_5747
Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
named handleFallDamage
Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
writeCustomDataToTag
- Specified by:
writeCustomDataToTag
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lmq;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToTag
Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Specified by:
readCustomDataFromTag
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lmq;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromTag
Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
getWorldClient
- Mappings:
Namespace Name Mixin selector official h
Lbej;h()Lbtv;
intermediary method_6966
Lnet/minecraft/class_1540;method_6966()Lnet/minecraft/class_1937;
named getWorldClient
Lnet/minecraft/entity/FallingBlockEntity;getWorldClient()Lnet/minecraft/world/World;
-
setHurtEntities
public void setHurtEntities(float fallHurtAmount, int fallHurtMax)- Mappings:
Namespace Name Mixin selector official b
Lbej;b(FI)V
intermediary method_6965
Lnet/minecraft/class_1540;method_6965(FI)V
named setHurtEntities
Lnet/minecraft/entity/FallingBlockEntity;setHurtEntities(FI)V
-
doesRenderOnFire
- Overrides:
doesRenderOnFire
in classEntity
- Mappings:
Namespace Name Mixin selector official cb
Laqv;cb()Z
intermediary method_5862
Lnet/minecraft/class_1297;method_5862()Z
named doesRenderOnFire
Lnet/minecraft/entity/Entity;doesRenderOnFire()Z
-
populateCrashReport
- Overrides:
populateCrashReport
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lm;)V
intermediary method_5819
Lnet/minecraft/class_1297;method_5819(Lnet/minecraft/class_129;)V
named populateCrashReport
Lnet/minecraft/entity/Entity;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)V
-
getBlockState
- Mappings:
Namespace Name Mixin selector official i
Lbej;i()Lcht;
intermediary method_6962
Lnet/minecraft/class_1540;method_6962()Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/entity/FallingBlockEntity;getBlockState()Lnet/minecraft/block/BlockState;
-
entityDataRequiresOperator
public boolean entityDataRequiresOperator()- Overrides:
entityDataRequiresOperator
in classEntity
- Mappings:
Namespace Name Mixin selector official ct
Laqv;ct()Z
intermediary method_5833
Lnet/minecraft/class_1297;method_5833()Z
named entityDataRequiresOperator
Lnet/minecraft/entity/Entity;entityDataRequiresOperator()Z
-
createSpawnPacket
- Specified by:
createSpawnPacket
in classEntity
- Mappings:
Namespace Name Mixin selector official P
Laqv;P()Lpa;
intermediary method_18002
Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
named createSpawnPacket
Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
onSpawnPacket
- Overrides:
onSpawnPacket
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lpe;)V
intermediary method_31471
Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V
named onSpawnPacket
Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
-