Package net.minecraft.block
Class FallingBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.FallingBlock
- Direct Known Subclasses:
AnvilBlock,GravelBlock,SandBlock
- Mappings:
Namespace Name official alhintermediary net/minecraft/class_1756named net/minecraft/block/FallingBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType -
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, blockSoundGroup, collisionBox, EMPTY_BOX, fullBlock, hardness, lightLevel, material, materialColor, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, stateManager, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetTickRate(World world) Returns the block's tick rate.static booleanmethod_11611(BlockState blockState) protected voidmethod_6481(FallingBlockEntity fallingBlockEntity) voidmethod_8641(BlockState blockState, World world, BlockPos blockPos, Block block) private voidmethod_8768(World world, BlockPos blockPos) voidonCreation(World world, BlockPos pos, BlockState state) Runs when the block is placed (by a player or enderman).voidonDestroyedOnLanding(World world, BlockPos pos) voidscheduledTick(World world, BlockPos pos, BlockState state, Random rand) Runs when the block is updated as per a scheduleMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendCollisionBoxes, appendItemStacks, appendProperties, areBlocksEqual, blocksMovement, canBePlacedAdjacent, canBePlacedAtPos, canBeReplaced, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockRenderType, getBlockState, getBonusDrops, getByBlockState, getById, getCollisionBox, getCollisionBox, getComparatorOutput, getData, getDefaultState, getDropCount, getDropItem, getHardness, getIdByBlock, getItemGroup, getLuminance, getMaterial, getMaterialColor, getMeta, getOffsetType, getOpacity, getPistonBehavior, getRenderLayerType, getSoundGroup, getStateFromData, getStateFromRawId, getStateManager, getTranslatedName, getTranslationKey, hasBlockEntity, hasCollision, hasCollision, hasStats, isEqualTo, isFire, isFullBlock, isFullBoundsCubeForCulling, isLeafBlock, isTransluscent, method_11557, method_11559, method_11562, method_11563, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_414, method_421, method_435, method_8638, method_8640, method_8651, method_8653, method_8654, method_8664, method_8669, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onBreaking, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, rainTick, randomDropAsItem, requiresSilkTouch, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, stateFromData, ticksRandomly, toString, useNeighbourLight, withMirror, withRotation
-
Field Details
-
field_7453
public static boolean field_7453- Mappings:
Namespace Name Mixin selector official fLalh;f:Zintermediary field_7453Lnet/minecraft/class_1756;field_7453:Znamed field_7453Lnet/minecraft/block/FallingBlock;field_7453:Z
-
-
Constructor Details
-
FallingBlock
public FallingBlock() -
FallingBlock
- Parameters:
material- The block's material- Mappings:
Namespace Name Mixin selector official <init>Lajt;<init>(Laxe;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;)V
-
-
Method Details
-
onCreation
Runs when the block is placed (by a player or enderman).- Overrides:
onCreationin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockState- Mappings:
Namespace Name Mixin selector official cLajt;c(Laht;Lcl;Lard;)Vintermediary method_8668Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed onCreationLnet/minecraft/block/Block;onCreation(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
method_8641
- Overrides:
method_8641in classBlock- Mappings:
Namespace Name Mixin selector official aLajt;a(Lard;Laht;Lcl;Lajt;)Vintermediary method_8641Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;)Vnamed method_8641Lnet/minecraft/block/Block;method_8641(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
scheduledTick
Runs when the block is updated as per a schedule- Overrides:
scheduledTickin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStaterand- Random object- Mappings:
Namespace Name Mixin selector official bLajt;b(Laht;Lcl;Lard;Ljava/util/Random;)Vintermediary method_8661Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)Vnamed scheduledTickLnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
-
method_8768
- Mappings:
Namespace Name Mixin selector official bLalh;b(Laht;Lcl;)Vintermediary method_8768Lnet/minecraft/class_1756;method_8768(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed method_8768Lnet/minecraft/block/FallingBlock;method_8768(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
method_6481
- Mappings:
Namespace Name Mixin selector official aLalh;a(Lyc;)Vintermediary method_6481Lnet/minecraft/class_1756;method_6481(Lnet/minecraft/class_963;)Vnamed method_6481Lnet/minecraft/block/FallingBlock;method_6481(Lnet/minecraft/entity/FallingBlockEntity;)V
-
getTickRate
Returns the block's tick rate. Default is 10.- Overrides:
getTickRatein classBlock- Parameters:
world- The world that the block is placed in- Returns:
- Tick rate
- Mappings:
Namespace Name Mixin selector official aLajt;a(Laht;)Iintermediary method_4789Lnet/minecraft/class_197;method_4789(Lnet/minecraft/class_1150;)Inamed getTickRateLnet/minecraft/block/Block;getTickRate(Lnet/minecraft/world/World;)I
-
method_11611
- Mappings:
Namespace Name Mixin selector official iLalh;i(Lard;)Zintermediary method_11611Lnet/minecraft/class_1756;method_11611(Lnet/minecraft/class_2232;)Znamed method_11611Lnet/minecraft/block/FallingBlock;method_11611(Lnet/minecraft/block/BlockState;)Z
-
onDestroyedOnLanding
- Mappings:
Namespace Name Mixin selector official a_Lalh;a_(Laht;Lcl;)Vintermediary method_8766Lnet/minecraft/class_1756;method_8766(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed onDestroyedOnLandingLnet/minecraft/block/FallingBlock;onDestroyedOnLanding(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-