Package net.minecraft.entity
Class FallingBlockEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.FallingBlockEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
public class FallingBlockEntity extends Entity
- Mappings:
Namespace Name official bfdintermediary net/minecraft/class_1540named net/minecraft/entity/FallingBlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, 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()protected Entity.MoveEffectgetMoveEffect()Returns the possible effect(s) of an entity moving.WorldgetWorldClient()booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)protected voidinitDataTracker()booleanisAttackable()voidonDestroyedOnLanding(Block block, BlockPos pos)voidonSpawnPacket(EntitySpawnS2CPacket packet)voidpopulateCrashReport(CrashReportSection section)protected voidreadCustomDataFromNbt(CompoundTag tag)voidsetFallingBlockPos(BlockPos pos)voidsetHurtEntities(float fallHurtAmount, int fallHurtMax)voidtick()protected voidwriteCustomDataToNbt(CompoundTag tag)Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, 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, emitGameEvent, emitGameEvent, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandItemSlot, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, 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, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, 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, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_29919, method_30951, method_33332, method_33574, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, playSwimSound, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, 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, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toListTag, toListTag, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
Field Details
-
BLOCK_POS
- Mappings:
Namespace Name Mixin selector official eLbfd;e:Lvu;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 fLbfd;f:Lcio;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 bLbfd;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 cLbfd;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 adLbfd;ad: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 aeLbfd;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 afLbfd;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 agLbfd;ag:Fintermediary field_7187Lnet/minecraft/class_1540;field_7187:Fnamed fallHurtAmountLnet/minecraft/entity/FallingBlockEntity;fallHurtAmount:F
-
blockEntityData
- Mappings:
Namespace Name Mixin selector official dLbfd;d:Lmr;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>Laro;<init>(Lars;Lbuq;)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>Lbfd;<init>(Lbuq;DDDLcio;)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 bVLaro;bV()Zintermediary method_5732Lnet/minecraft/class_1297;method_5732()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-
setFallingBlockPos
- Mappings:
Namespace Name Mixin selector official aLbfd;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 gLbfd;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;
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffectin classEntity- Mappings:
Namespace Name Mixin selector official aELaro;aE()Laro$b;intermediary method_33570Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;named getMoveEffectLnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official eLaro;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 aLbfd;a(Lbxp;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 aLaro;a(FFLaqy;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLaro;b(Lmr;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(Lmr;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
getWorldClient
- Mappings:
Namespace Name Mixin selector official hLbfd;h()Lbuq;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 bLbfd;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 cbLaro;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 aLaro;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 iLbfd;i()Lcio;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 ctLaro;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 OLaro;O()Lpb;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 aLaro;a(Lpf;)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
-