Package net.minecraftforge.fluids
Class FluidAttributes.Water
- java.lang.Object
-
- net.minecraftforge.fluids.FluidAttributes
-
- net.minecraftforge.fluids.FluidAttributes.Water
-
- Enclosing class:
- FluidAttributes
public static class FluidAttributes.Water extends FluidAttributes
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.fluids.FluidAttributes
FluidAttributes.Builder, FluidAttributes.Water
-
-
Field Summary
-
Fields inherited from class net.minecraftforge.fluids.FluidAttributes
BUCKET_VOLUME
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Water(FluidAttributes.Builder builder, Fluid fluid)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FluidAttributes.Builder
builder(ResourceLocation stillTexture, ResourceLocation flowingTexture)
int
getColor(IBlockDisplayReader world, BlockPos pos)
-
Methods inherited from class net.minecraftforge.fluids.FluidAttributes
canBePlacedInWorld, canBePlacedInWorld, doesVaporize, getBlock, getBucket, getColor, getColor, getDensity, getDensity, getDensity, getDisplayName, getEmptySound, getEmptySound, getEmptySound, getFillSound, getFillSound, getFillSound, getFlowingTexture, getFlowingTexture, getFlowingTexture, getLuminosity, getLuminosity, getLuminosity, getOverlayTexture, getRarity, getRarity, getRarity, getStateForPlacement, getStillTexture, getStillTexture, getStillTexture, getTemperature, getTemperature, getTemperature, getTextures, getTranslationKey, getTranslationKey, getViscosity, getViscosity, getViscosity, isGaseous, isGaseous, isGaseous, isLighterThanAir, vaporize
-
-
-
-
Constructor Detail
-
Water
protected Water(FluidAttributes.Builder builder, Fluid fluid)
-
-
Method Detail
-
getColor
public int getColor(IBlockDisplayReader world, BlockPos pos)
- Overrides:
getColor
in classFluidAttributes
-
builder
public static FluidAttributes.Builder builder(ResourceLocation stillTexture, ResourceLocation flowingTexture)
-
-