Class AllFluids.TintedFluidType

java.lang.Object
net.neoforged.neoforge.fluids.FluidType
com.simibubi.create.AllFluids.TintedFluidType
Direct Known Subclasses:
PotionFluid.PotionFluidType
Enclosing class:
AllFluids

public abstract static class AllFluids.TintedFluidType extends net.neoforged.neoforge.fluids.FluidType
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.neoforged.neoforge.fluids.FluidType

    net.neoforged.neoforge.fluids.FluidType.DripstoneDripInfo, net.neoforged.neoforge.fluids.FluidType.Properties
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final int
     

    Fields inherited from class net.neoforged.neoforge.fluids.FluidType

    BUCKET_VOLUME, SIZE, sounds
  • Constructor Summary

    Constructors
    Constructor
    Description
    TintedFluidType(net.neoforged.neoforge.fluids.FluidType.Properties properties, net.minecraft.resources.ResourceLocation stillTexture, net.minecraft.resources.ResourceLocation flowingTexture)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.joml.Vector3f
     
    protected float
     
    protected abstract int
    getTintColor(net.minecraft.world.level.material.FluidState state, net.minecraft.world.level.BlockAndTintGetter getter, net.minecraft.core.BlockPos pos)
     
    protected abstract int
    getTintColor(net.neoforged.neoforge.fluids.FluidStack stack)
     
    void
    initializeClient(Consumer<net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions> consumer)
     

    Methods inherited from class net.neoforged.neoforge.fluids.FluidType

    canBePlacedInLevel, canBePlacedInLevel, canConvertToSource, canConvertToSource, canDrownIn, canExtinguish, canExtinguish, canHydrate, canHydrate, canHydrate, canPushEntity, canRideVehicleUnder, canSwim, getAdjacentBlockPathType, getBlockForFluidState, getBlockPathType, getBucket, getDensity, getDensity, getDensity, getDescription, getDescription, getDescriptionId, getDescriptionId, getDripInfo, getFallDistanceModifier, getLightLevel, getLightLevel, getLightLevel, getRarity, getRarity, getSound, getSound, getSound, getSound, getStateForPlacement, getTemperature, getTemperature, getTemperature, getViscosity, getViscosity, getViscosity, handleCauldronDrip, isAir, isLighterThanAir, isVanilla, isVaporizedOnPlacement, motionScale, move, onVaporize, setItemMovement, supportsBoating, supportsBoating, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • TintedFluidType

      public TintedFluidType(net.neoforged.neoforge.fluids.FluidType.Properties properties, net.minecraft.resources.ResourceLocation stillTexture, net.minecraft.resources.ResourceLocation flowingTexture)
  • Method Details

    • initializeClient

      public void initializeClient(Consumer<net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions> consumer)
      Overrides:
      initializeClient in class net.neoforged.neoforge.fluids.FluidType
    • getTintColor

      protected abstract int getTintColor(net.neoforged.neoforge.fluids.FluidStack stack)
    • getTintColor

      protected abstract int getTintColor(net.minecraft.world.level.material.FluidState state, net.minecraft.world.level.BlockAndTintGetter getter, net.minecraft.core.BlockPos pos)
    • getCustomFogColor

      protected org.joml.Vector3f getCustomFogColor()
    • getFogDistanceModifier

      protected float getFogDistanceModifier()