Interface ModFluidHelper<R>
- All Known Implementing Classes:
FabricFluidHelper
public interface ModFluidHelper<R>
-
Method Summary
Modifier and TypeMethodDescriptionintgetColor(net.minecraft.world.level.material.Fluid fluid) default intgetColor(net.minecraft.world.level.material.Fluid fluid, long amount) intgetColor(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable net.minecraft.core.component.DataComponentPatch fluidData) intgetLuminosity(net.minecraft.world.level.material.Fluid fluid) default intgetLuminosity(net.minecraft.world.level.material.Fluid fluid, long amount) 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) default net.minecraft.resources.ResourceLocationgetStillTexture(net.minecraft.world.level.material.Fluid fluid, long amount) 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) default RtoStack(net.minecraft.world.level.material.Fluid fluid, long amount) toStack(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
-
Method Details
-
getColor
int getColor(net.minecraft.world.level.material.Fluid fluid) -
getColor
default int getColor(net.minecraft.world.level.material.Fluid fluid, long amount) -
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) -
getLuminosity
default int getLuminosity(net.minecraft.world.level.material.Fluid fluid, long amount) -
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) -
getStillTexture
default net.minecraft.resources.ResourceLocation getStillTexture(net.minecraft.world.level.material.Fluid fluid, long amount) -
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) -
toStack
-
toStack
R toStack(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
-