Class FluidBase.Builder

java.lang.Object
org.moddingx.libx.base.FluidBase.Builder
Enclosing class:
FluidBase

public static class FluidBase.Builder extends Object
  • Method Details

    • sourceFactory

      public FluidBase.Builder sourceFactory(Function<net.minecraftforge.fluids.ForgeFlowingFluid.Properties,net.minecraftforge.fluids.ForgeFlowingFluid.Source> sourceFactory)
    • flowingFactory

      public FluidBase.Builder flowingFactory(Function<net.minecraftforge.fluids.ForgeFlowingFluid.Properties,net.minecraftforge.fluids.ForgeFlowingFluid.Flowing> flowingFactory)
    • clientExtensions

      public FluidBase.Builder clientExtensions(Supplier<Supplier<net.minecraftforge.client.extensions.common.IClientFluidTypeExtensions>> clientExtensions)
    • properties

      public FluidBase.Builder properties(net.minecraftforge.fluids.FluidType.Properties properties)
    • properties

      public FluidBase.Builder properties(Consumer<net.minecraftforge.fluids.FluidType.Properties> action)
    • blockProperties

      public FluidBase.Builder blockProperties(net.minecraft.world.level.block.state.BlockBehaviour.Properties blockProperties)
    • blockProperties

      public FluidBase.Builder blockProperties(Consumer<net.minecraft.world.level.block.state.BlockBehaviour.Properties> action)
    • itemProperties

      public FluidBase.Builder itemProperties(net.minecraft.world.item.Item.Properties itemProperties)
    • itemProperties

      public FluidBase.Builder itemProperties(Consumer<net.minecraft.world.item.Item.Properties> action)
    • build

      public FluidBase build()