Class FallingBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.FallingBlock
Direct Known Subclasses:
AnvilBlock, GravelBlock, SandBlock

public class FallingBlock extends Block
Mappings:
Namespace Name
official alh
intermediary net/minecraft/class_1756
named net/minecraft/block/FallingBlock
  • Field Details

    • field_7453

      public static boolean field_7453
      Mappings:
      Namespace Name Mixin selector
      official f Lalh;f:Z
      intermediary field_7453 Lnet/minecraft/class_1756;field_7453:Z
      named field_7453 Lnet/minecraft/block/FallingBlock;field_7453:Z
  • Constructor Details

    • FallingBlock

      public FallingBlock()
    • FallingBlock

      public FallingBlock(Material material)
      Parameters:
      material - The block's material
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajt;<init>(Laxe;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;)V
  • Method Details

    • onCreation

      public void onCreation(World world, BlockPos pos, BlockState state)
      Runs when the block is placed (by a player or enderman).
      Overrides:
      onCreation in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      Mappings:
      Namespace Name Mixin selector
      official c Lajt;c(Laht;Lcl;Lard;)V
      intermediary method_8668 Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named onCreation Lnet/minecraft/block/Block;onCreation(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • method_8641

      public void method_8641(BlockState blockState, World world, BlockPos blockPos, Block block)
      Overrides:
      method_8641 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Lard;Laht;Lcl;Lajt;)V
      intermediary method_8641 Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;)V
      named method_8641 Lnet/minecraft/block/Block;method_8641(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
    • scheduledTick

      public void scheduledTick(World world, BlockPos pos, BlockState state, Random rand)
      Runs when the block is updated as per a schedule
      Overrides:
      scheduledTick in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      rand - Random object
      Mappings:
      Namespace Name Mixin selector
      official b Lajt;b(Laht;Lcl;Lard;Ljava/util/Random;)V
      intermediary method_8661 Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)V
      named scheduledTick Lnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
    • method_8768

      private void method_8768(World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Lalh;b(Laht;Lcl;)V
      intermediary method_8768 Lnet/minecraft/class_1756;method_8768(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named method_8768 Lnet/minecraft/block/FallingBlock;method_8768(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • method_6481

      protected void method_6481(FallingBlockEntity fallingBlockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lalh;a(Lyc;)V
      intermediary method_6481 Lnet/minecraft/class_1756;method_6481(Lnet/minecraft/class_963;)V
      named method_6481 Lnet/minecraft/block/FallingBlock;method_6481(Lnet/minecraft/entity/FallingBlockEntity;)V
    • getTickRate

      public int getTickRate(World world)
      Returns the block's tick rate. Default is 10.
      Overrides:
      getTickRate in class Block
      Parameters:
      world - The world that the block is placed in
      Returns:
      Tick rate
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Laht;)I
      intermediary method_4789 Lnet/minecraft/class_197;method_4789(Lnet/minecraft/class_1150;)I
      named getTickRate Lnet/minecraft/block/Block;getTickRate(Lnet/minecraft/world/World;)I
    • method_11611

      public static boolean method_11611(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official i Lalh;i(Lard;)Z
      intermediary method_11611 Lnet/minecraft/class_1756;method_11611(Lnet/minecraft/class_2232;)Z
      named method_11611 Lnet/minecraft/block/FallingBlock;method_11611(Lnet/minecraft/block/BlockState;)Z
    • onDestroyedOnLanding

      public void onDestroyedOnLanding(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lalh;a_(Laht;Lcl;)V
      intermediary method_8766 Lnet/minecraft/class_1756;method_8766(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named onDestroyedOnLanding Lnet/minecraft/block/FallingBlock;onDestroyedOnLanding(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V