Package com.petrolpark.core.fluid
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_TINTFields inherited from class net.neoforged.neoforge.fluids.FluidType
BUCKET_VOLUME, SIZE, sounds -
Constructor Summary
ConstructorsConstructorDescriptionColoredFluidType(net.neoforged.neoforge.fluids.FluidType.Properties properties, net.minecraft.resources.ResourceLocation stillTexture, net.minecraft.resources.ResourceLocation flowingTexture, int color) -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetTintColor(net.minecraft.world.level.material.FluidState state, net.minecraft.world.level.BlockAndTintGetter getter, net.minecraft.core.BlockPos pos) protected intgetTintColor(net.neoforged.neoforge.fluids.FluidStack stack) Methods inherited from class com.simibubi.create.AllFluids.TintedFluidType
getCustomFogColor, getFogDistanceModifier, initializeClientMethods 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
-
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:
getTintColorin classcom.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:
getTintColorin classcom.simibubi.create.AllFluids.TintedFluidType
-