Interface ModFluidHelper

All Known Implementing Classes:
NeoForgeFluidHelper

public interface ModFluidHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getColor(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
     
    int
    getLuminosity(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
     
    net.minecraft.resources.ResourceLocation
    getStillTexture(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
     
    boolean
    isLighterThanAir(net.minecraft.world.level.material.Fluid fluid, @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
     
  • Method Details

    • getColor

      int getColor(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
    • getLuminosity

      int getLuminosity(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
    • getStillTexture

      net.minecraft.resources.ResourceLocation getStillTexture(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
    • isLighterThanAir

      boolean isLighterThanAir(net.minecraft.world.level.material.Fluid fluid, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData)