Package net.createmod.catnip.platform
Class FabricFluidHelper
java.lang.Object
net.createmod.catnip.platform.FabricFluidHelper
- All Implemented Interfaces:
ModFluidHelper
-
Constructor Summary
Constructors -
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)
-
Constructor Details
-
FabricFluidHelper
public FabricFluidHelper()
-
-
Method Details
-
getColor
public int getColor(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData) - Specified by:
getColorin interfaceModFluidHelper
-
getLuminosity
public int getLuminosity(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData) - Specified by:
getLuminosityin interfaceModFluidHelper
-
getStillTexture
public net.minecraft.resources.ResourceLocation getStillTexture(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData) - Specified by:
getStillTexturein interfaceModFluidHelper
-
isLighterThanAir
public boolean isLighterThanAir(net.minecraft.world.level.material.Fluid fluid, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData) - Specified by:
isLighterThanAirin interfaceModFluidHelper
-