Package net.createmod.catnip.platform
Class NeoForgeFluidHelper
java.lang.Object
net.createmod.catnip.platform.NeoForgeFluidHelper
- 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) net.neoforged.neoforge.fluids.FluidStacktoStack(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
-
Constructor Details
-
NeoForgeFluidHelper
public NeoForgeFluidHelper()
-
-
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
-
toStack
public net.neoforged.neoforge.fluids.FluidStack toStack(net.minecraft.world.level.material.Fluid fluid, long amount, @Nullable @Nullable net.minecraft.core.component.DataComponentPatch fluidData)
-