Package net.minecraft.entity
Class FallingBlockEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.FallingBlockEntity
- All Implemented Interfaces:
CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bpx
intermediary net/minecraft/class_1540
named 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
Modifier and TypeFieldDescriptionprivate BlockState
protected static final TrackedData<BlockPos>
private boolean
boolean
private float
private int
private static final org.slf4j.Logger
private boolean
int
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ModifierConstructorDescriptionFallingBlockEntity
(EntityType<? extends FallingBlockEntity> type, World world) private
FallingBlockEntity
(World world, double x, double y, double z, BlockState block) -
Method Summary
Modifier and TypeMethodDescriptionboolean
collides()
Packet<?>
boolean
boolean
protected Entity.MoveEffect
Returns the possible effect(s) of an entity moving.boolean
handleFallDamage
(float fallDistance, float damageMultiplier, DamageSource damageSource) protected void
boolean
void
onDestroyedOnLanding
(Block block, BlockPos pos) void
onSpawnPacket
(EntitySpawnS2CPacket packet) void
populateCrashReport
(CrashReportSection section) protected void
void
void
setHurtEntities
(float fallHurtAmount, int fallHurtMax) static FallingBlockEntity
spawnFromBlock
(World world, BlockPos pos, BlockState state) Spawns a falling block entity atpos
from the blockstate
.void
tick()
protected void
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyDamageEffects, applyMirror, applyRotation, asMessageSender, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, checkWaterState, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleAttack, handleStatus, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasPrimaryPassenger, hasVehicle, hasWings, interact, interactAt, isAlive, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_44329, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_36333
private static final org.slf4j.Logger field_36333- Mappings:
Namespace Name Mixin selector official f
Lbpx;f:Lorg/slf4j/Logger;
intermediary field_36333
Lnet/minecraft/class_1540;field_36333:Lorg/slf4j/Logger;
named field_36333
Lnet/minecraft/entity/FallingBlockEntity;field_36333:Lorg/slf4j/Logger;
-
BLOCK_POS
- Mappings:
Namespace Name Mixin selector official e
Lbpx;e:Lzr;
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 ao
Lbpx;ao:Lcur;
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
Lbpx;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
Lbpx;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 ap
Lbpx;ap: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 aq
Lbpx;aq: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 ar
Lbpx;ar: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 as
Lbpx;as: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
Lbpx;d:Lpj;
intermediary field_7194
Lnet/minecraft/class_1540;field_7194:Lnet/minecraft/class_2487;
named blockEntityData
Lnet/minecraft/entity/FallingBlockEntity;blockEntityData:Lnet/minecraft/nbt/NbtCompound;
-
-
Constructor Details
-
FallingBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbaq;<init>(Lbau;Lcga;)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>
Lbpx;<init>(Lcga;DDDLcur;)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
-
spawnFromBlock
Spawns a falling block entity atpos
from the blockstate
.- Returns:
- the spawned entity
- Mappings:
Namespace Name Mixin selector official a
Lbpx;a(Lcga;Lgt;Lcur;)Lbpx;
intermediary method_40005
Lnet/minecraft/class_1540;method_40005(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1540;
named spawnFromBlock
Lnet/minecraft/entity/FallingBlockEntity;spawnFromBlock(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/entity/FallingBlockEntity;
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackable
in classEntity
- Mappings:
Namespace Name Mixin selector official ci
Lbaq;ci()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
Lbpx;a(Lgt;)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 h
Lbpx;h()Lgt;
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;
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffect
in classEntity
- Mappings:
Namespace Name Mixin selector official aO
Lbaq;aO()Lbaq$b;
intermediary method_33570
Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
named getMoveEffect
Lnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTracker
in classEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbaq;a_()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
Lbpx;a(Lciw;Lgt;)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
Lbaq;a(FFLazz;)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
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbt
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Lbaq;b(Lpj;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbt
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lpj;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
setHurtEntities
public void setHurtEntities(float fallHurtAmount, int fallHurtMax) - Mappings:
Namespace Name Mixin selector official b
Lbpx;b(FI)V
intermediary method_6965
Lnet/minecraft/class_1540;method_6965(FI)V
named setHurtEntities
Lnet/minecraft/entity/FallingBlockEntity;setHurtEntities(FI)V
-
doesRenderOnFire
public boolean doesRenderOnFire()- Overrides:
doesRenderOnFire
in classEntity
- Mappings:
Namespace Name Mixin selector official co
Lbaq;co()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
Lbaq;a(Lr;)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
Lbpx;i()Lcur;
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 cG
Lbaq;cG()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 S
Lbaq;S()Lso;
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
Lbaq;a(Lss;)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
-