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 bejintermediary net/minecraft/class_1540named 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 BlockStateblockprotected static TrackedData<BlockPos>BLOCK_POSCompoundTagblockEntityDataprivate booleandestroyedOnLandingbooleandropItemprivate floatfallHurtAmountprivate intfallHurtMaxprivate booleanhurtEntitiesinttimeFallingFields 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, yawFields 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 booleancollides()Packet<?>createSpawnPacket()booleandoesRenderOnFire()booleanentityDataRequiresOperator()BlockStategetBlockState()BlockPosgetFallingBlockPos()WorldgetWorldClient()booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)protected voidinitDataTracker()booleanisAttackable()protected Entity.class_5799method_33570()voidonDestroyedOnLanding(Block block, BlockPos pos)voidonSpawnPacket(EntitySpawnS2CPacket packet)voidpopulateCrashReport(CrashReportSection section)protected voidreadCustomDataFromTag(CompoundTag tag)voidsetFallingBlockPos(BlockPos pos)voidsetHurtEntities(float fallHurtAmount, int fallHurtMax)voidtick()protected voidwriteCustomDataToTag(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 eLbej;e:Lvk;intermediary field_7195Lnet/minecraft/class_1540;field_7195:Lnet/minecraft/class_2940;named BLOCK_POSLnet/minecraft/entity/FallingBlockEntity;BLOCK_POS:Lnet/minecraft/entity/data/TrackedData;
-
block
- Mappings:
Namespace Name Mixin selector official fLbej;f:Lcht;intermediary field_7188Lnet/minecraft/class_1540;field_7188:Lnet/minecraft/class_2680;named blockLnet/minecraft/entity/FallingBlockEntity;block:Lnet/minecraft/block/BlockState;
-
timeFalling
public int timeFalling- Mappings:
Namespace Name Mixin selector official bLbej;b:Iintermediary field_7192Lnet/minecraft/class_1540;field_7192:Inamed timeFallingLnet/minecraft/entity/FallingBlockEntity;timeFalling:I
-
dropItem
public boolean dropItem- Mappings:
Namespace Name Mixin selector official cLbej;c:Zintermediary field_7193Lnet/minecraft/class_1540;field_7193:Znamed dropItemLnet/minecraft/entity/FallingBlockEntity;dropItem:Z
-
destroyedOnLanding
private boolean destroyedOnLanding- Mappings:
Namespace Name Mixin selector official gLbej;g:Zintermediary field_7189Lnet/minecraft/class_1540;field_7189:Znamed destroyedOnLandingLnet/minecraft/entity/FallingBlockEntity;destroyedOnLanding:Z
-
hurtEntities
private boolean hurtEntities- Mappings:
Namespace Name Mixin selector official aeLbej;ae:Zintermediary field_7191Lnet/minecraft/class_1540;field_7191:Znamed hurtEntitiesLnet/minecraft/entity/FallingBlockEntity;hurtEntities:Z
-
fallHurtMax
private int fallHurtMax- Mappings:
Namespace Name Mixin selector official afLbej;af:Iintermediary field_7190Lnet/minecraft/class_1540;field_7190:Inamed fallHurtMaxLnet/minecraft/entity/FallingBlockEntity;fallHurtMax:I
-
fallHurtAmount
private float fallHurtAmount- Mappings:
Namespace Name Mixin selector official agLbej;ag:Fintermediary field_7187Lnet/minecraft/class_1540;field_7187:Fnamed fallHurtAmountLnet/minecraft/entity/FallingBlockEntity;fallHurtAmount:F
-
blockEntityData
- Mappings:
Namespace Name Mixin selector official dLbej;d:Lmq;intermediary field_7194Lnet/minecraft/class_1540;field_7194:Lnet/minecraft/class_2487;named blockEntityDataLnet/minecraft/entity/FallingBlockEntity;blockEntityData:Lnet/minecraft/nbt/CompoundTag;
-
-
Constructor Details
-
FallingBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Laqv;<init>(Laqz;Lbtv;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <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;)Vintermediary <init>Lnet/minecraft/class_1540;<init>(Lnet/minecraft/class_1937;DDDLnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/entity/FallingBlockEntity;<init>(Lnet/minecraft/world/World;DDDLnet/minecraft/block/BlockState;)V
-
-
Method Details
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackablein classEntity- Mappings:
Namespace Name Mixin selector official bVLaqv;bV()Zintermediary method_5732Lnet/minecraft/class_1297;method_5732()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-
setFallingBlockPos
- Mappings:
Namespace Name Mixin selector official aLbej;a(Lfx;)Vintermediary method_6963Lnet/minecraft/class_1540;method_6963(Lnet/minecraft/class_2338;)Vnamed setFallingBlockPosLnet/minecraft/entity/FallingBlockEntity;setFallingBlockPos(Lnet/minecraft/util/math/BlockPos;)V
-
getFallingBlockPos
- Mappings:
Namespace Name Mixin selector official gLbej;g()Lfx;intermediary method_6964Lnet/minecraft/class_1540;method_6964()Lnet/minecraft/class_2338;named getFallingBlockPosLnet/minecraft/entity/FallingBlockEntity;getFallingBlockPos()Lnet/minecraft/util/math/BlockPos;
-
method_33570
- Overrides:
method_33570in classEntity- Mappings:
Namespace Name Mixin selector official aELaqv;aE()Laqv$b;intermediary method_33570Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;named method_33570Lnet/minecraft/entity/Entity;method_33570()Lnet/minecraft/entity/Entity$class_5799;
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official eLaqv;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
collides
public boolean collides() -
tick
public void tick() -
onDestroyedOnLanding
- Mappings:
Namespace Name Mixin selector official aLbej;a(Lbwu;Lfx;)Vintermediary method_32752Lnet/minecraft/class_1540;method_32752(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)Vnamed onDestroyedOnLandingLnet/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:
handleFallDamagein classEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(FFLaqf;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
writeCustomDataToTag
- Specified by:
writeCustomDataToTagin classEntity- Mappings:
Namespace Name Mixin selector official bLaqv;b(Lmq;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToTagLnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Specified by:
readCustomDataFromTagin classEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(Lmq;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromTagLnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
getWorldClient
- Mappings:
Namespace Name Mixin selector official hLbej;h()Lbtv;intermediary method_6966Lnet/minecraft/class_1540;method_6966()Lnet/minecraft/class_1937;named getWorldClientLnet/minecraft/entity/FallingBlockEntity;getWorldClient()Lnet/minecraft/world/World;
-
setHurtEntities
public void setHurtEntities(float fallHurtAmount, int fallHurtMax)- Mappings:
Namespace Name Mixin selector official bLbej;b(FI)Vintermediary method_6965Lnet/minecraft/class_1540;method_6965(FI)Vnamed setHurtEntitiesLnet/minecraft/entity/FallingBlockEntity;setHurtEntities(FI)V
-
doesRenderOnFire
- Overrides:
doesRenderOnFirein classEntity- Mappings:
Namespace Name Mixin selector official cbLaqv;cb()Zintermediary method_5862Lnet/minecraft/class_1297;method_5862()Znamed doesRenderOnFireLnet/minecraft/entity/Entity;doesRenderOnFire()Z
-
populateCrashReport
- Overrides:
populateCrashReportin classEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(Lm;)Vintermediary method_5819Lnet/minecraft/class_1297;method_5819(Lnet/minecraft/class_129;)Vnamed populateCrashReportLnet/minecraft/entity/Entity;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)V
-
getBlockState
- Mappings:
Namespace Name Mixin selector official iLbej;i()Lcht;intermediary method_6962Lnet/minecraft/class_1540;method_6962()Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/entity/FallingBlockEntity;getBlockState()Lnet/minecraft/block/BlockState;
-
entityDataRequiresOperator
public boolean entityDataRequiresOperator()- Overrides:
entityDataRequiresOperatorin classEntity- Mappings:
Namespace Name Mixin selector official ctLaqv;ct()Zintermediary method_5833Lnet/minecraft/class_1297;method_5833()Znamed entityDataRequiresOperatorLnet/minecraft/entity/Entity;entityDataRequiresOperator()Z
-
createSpawnPacket
- Specified by:
createSpawnPacketin classEntity- Mappings:
Namespace Name Mixin selector official PLaqv;P()Lpa;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
onSpawnPacket
- Overrides:
onSpawnPacketin classEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(Lpe;)Vintermediary method_31471Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)Vnamed onSpawnPacketLnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
-