Class LiquidBlockHooks

java.lang.Object
dev.architectury.hooks.fluid.LiquidBlockHooks

public final class LiquidBlockHooks extends Object
  • Constructor Details

    • LiquidBlockHooks

      public LiquidBlockHooks()
  • Method Details

    • getFluid

      public static net.minecraft.world.level.material.FlowingFluid getFluid(net.minecraft.world.level.block.LiquidBlock block)
      Returns the fluid contained in the liquid block. This requires special handling since forge defers the fiuid.
      Parameters:
      block - the liquid block
      Returns:
      the fluid contained in the liquid block