Class FluidBlock


public class FluidBlock extends AbstractFluidBlock
Mappings:
Namespace Name
official ajw
intermediary net/minecraft/class_155
named net/minecraft/block/FluidBlock
  • Constructor Details

    • FluidBlock

      protected FluidBlock(Material material)
      Parameters:
      material - The block's material
      Mappings:
      Namespace Name Mixin selector
      official <init> Lafh;<init>(Larm;)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

    • neighborUpdate

      public void neighborUpdate(World world, BlockPos pos, BlockState state, Block block)
      Runs when its adjacent blocks are updated. It will also run when the block is placed or removed as Air is being updated.
      Overrides:
      neighborUpdate in class AbstractFluidBlock
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      block - The adjacent Block that updated the current block
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Ladm;Lcj;Lalz;Lafh;)V
      intermediary method_8641 Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_197;)V
      named neighborUpdate Lnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/Block;)V
    • method_8914

      private void method_8914(World world, BlockPos blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official f Lajw;f(Ladm;Lcj;Lalz;)V
      intermediary method_8914 Lnet/minecraft/class_155;method_8914(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named method_8914 Lnet/minecraft/block/FluidBlock;method_8914(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)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 Lafh;b(Ladm;Lcj;Lalz;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_8913

      protected boolean method_8913(World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official f Lajw;f(Ladm;Lcj;)Z
      intermediary method_8913 Lnet/minecraft/class_155;method_8913(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named method_8913 Lnet/minecraft/block/FluidBlock;method_8913(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • isBurnable

      private boolean isBurnable(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official m Lajw;m(Ladm;Lcj;)Z
      intermediary method_8915 Lnet/minecraft/class_155;method_8915(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named isBurnable Lnet/minecraft/block/FluidBlock;isBurnable(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z