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 bgjintermediary 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
FieldsModifier and TypeFieldDescriptionprivate BlockStateprotected static TrackedData<BlockPos>private booleanbooleanprivate floatprivate intprivate booleanintFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsConstructorDescriptionFallingBlockEntity(EntityType<? extends FallingBlockEntity> type, World world)FallingBlockEntity(World world, double x, double y, double z, BlockState block) -
Method Summary
Modifier and TypeMethodDescriptionbooleancollides()Packet<?>booleanbooleanprotected Entity.MoveEffectReturns the possible effect(s) of an entity moving.booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)protected voidbooleanvoidonDestroyedOnLanding(Block block, BlockPos pos)voidonSpawnPacket(EntitySpawnS2CPacket packet)voidpopulateCrashReport(CrashReportSection section)protected voidvoidsetFallingBlockPos(BlockPos pos)voidsetHurtEntities(float fallHurtAmount, int fallHurtMax)voidtick()protected voidMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, 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, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, 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, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_30951, method_36209, 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, saveNbt, saveSelfNbt, 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, 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, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
method_36320
-
Field Details
-
BLOCK_POS
- Mappings:
Namespace Name Mixin selector official eLbgj;e:Lvy;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 fLbgj;f:Lcjx;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 bLbgj;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 cLbgj;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 arLbgj;ar: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 asLbgj;as: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 atLbgj;at: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 auLbgj;au:Fintermediary field_7187Lnet/minecraft/class_1540;field_7187:Fnamed fallHurtAmountLnet/minecraft/entity/FallingBlockEntity;fallHurtAmount:F
-
blockEntityData
- Mappings:
Namespace Name Mixin selector official dLbgj;d:Lmv;intermediary field_7194Lnet/minecraft/class_1540;field_7194:Lnet/minecraft/class_2487;named blockEntityDataLnet/minecraft/entity/FallingBlockEntity;blockEntityData:Lnet/minecraft/nbt/NbtCompound;
-
-
Constructor Details
-
FallingBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Laso;<init>(Lass;Lbvx;)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>Lbgj;<init>(Lbvx;DDDLcjx;)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 bXLaso;bX()Zintermediary method_5732Lnet/minecraft/class_1297;method_5732()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-
setFallingBlockPos
- Mappings:
Namespace Name Mixin selector official aLbgj;a(Lgb;)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 hLbgj;h()Lgb;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 aGLaso;aG()Laso$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 fLaso;f()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 aLbgj;a(Lbyw;Lgb;)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 aLaso;a(FFLary;)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 bLaso;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLaso;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getWorldClient
- Mappings:
Namespace Name Mixin selector official iLbgj;i()Lbvx;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 bLbgj;b(FI)Vintermediary method_6965Lnet/minecraft/class_1540;method_6965(FI)Vnamed setHurtEntitiesLnet/minecraft/entity/FallingBlockEntity;setHurtEntities(FI)V
-
doesRenderOnFire
public boolean doesRenderOnFire()- Overrides:
doesRenderOnFirein classEntity- Mappings:
Namespace Name Mixin selector official cdLaso;cd()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 aLaso;a(Lr;)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 jLbgj;j()Lcjx;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 cvLaso;cv()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 PLaso;P()Lpf;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 aLaso;a(Lpj;)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
-