Interface ModFluidHelper
- All Known Implementing Classes:
NeoForgeFluidHelper
public interface ModFluidHelper
-
Method Summary
Modifier and TypeMethodDescriptionintgetColor(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable net.minecraft.core.component.DataComponentPatch fluidData) intgetLuminosity(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable net.minecraft.core.component.DataComponentPatch fluidData) net.minecraft.resources.ResourceLocationgetStillTexture(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable net.minecraft.core.component.DataComponentPatch fluidData) booleanisLighterThanAir(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)
-