Class FluidBlock


public class FluidBlock
extends AbstractFluidBlock
Mappings:
Namespace Name
official ajw
intermediary net/minecraft/class_313
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_160;<init>(Lnet/minecraft/class_591;)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_648 Lnet/minecraft/class_160;method_648(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;Lnet/minecraft/class_160;)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_1013

      private void method_1013​(World world, BlockPos blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official f Lajw;f(Ladm;Lcj;Lalz;)V
      intermediary method_1013 Lnet/minecraft/class_313;method_1013(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)V
      named method_1013 Lnet/minecraft/block/FluidBlock;method_1013(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_690 Lnet/minecraft/class_160;method_690(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;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_1012

      protected boolean method_1012​(World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official f Lajw;f(Ladm;Lcj;)Z
      intermediary method_1012 Lnet/minecraft/class_313;method_1012(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Z
      named method_1012 Lnet/minecraft/block/FluidBlock;method_1012(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_1014 Lnet/minecraft/class_313;method_1014(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Z
      named isBurnable Lnet/minecraft/block/FluidBlock;isBurnable(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z