Class ColoredFluidType

java.lang.Object
net.neoforged.neoforge.fluids.FluidType
com.simibubi.create.AllFluids.TintedFluidType
com.petrolpark.core.fluid.ColoredFluidType

public class ColoredFluidType extends com.simibubi.create.AllFluids.TintedFluidType
  • 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 inherited from class com.simibubi.create.AllFluids.TintedFluidType

    NO_TINT

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

    BUCKET_VOLUME, SIZE, sounds
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected int
    getTintColor(net.minecraft.world.level.material.FluidState state, net.minecraft.world.level.BlockAndTintGetter getter, net.minecraft.core.BlockPos pos)
     
    protected int
    getTintColor(net.neoforged.neoforge.fluids.FluidStack stack)
     

    Methods inherited from class com.simibubi.create.AllFluids.TintedFluidType

    getCustomFogColor, getFogDistanceModifier, initializeClient

    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
  • Constructor Details

    • ColoredFluidType

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

    • getTintColor

      protected int getTintColor(net.neoforged.neoforge.fluids.FluidStack stack)
      Specified by:
      getTintColor in class com.simibubi.create.AllFluids.TintedFluidType
    • getTintColor

      protected int getTintColor(net.minecraft.world.level.material.FluidState state, net.minecraft.world.level.BlockAndTintGetter getter, net.minecraft.core.BlockPos pos)
      Specified by:
      getTintColor in class com.simibubi.create.AllFluids.TintedFluidType