Class PotionFluid.PotionFluidAttributes
java.lang.Object
net.minecraftforge.fluids.FluidAttributes
com.simibubi.create.content.contraptions.fluids.potion.PotionFluid.PotionFluidAttributes
- Enclosing class:
- PotionFluid
public static class PotionFluid.PotionFluidAttributes
extends net.minecraftforge.fluids.FluidAttributes
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.fluids.FluidAttributes
net.minecraftforge.fluids.FluidAttributes.Builder, net.minecraftforge.fluids.FluidAttributes.Water -
Field Summary
Fields inherited from class net.minecraftforge.fluids.FluidAttributes
BUCKET_VOLUME -
Constructor Summary
ConstructorsConstructorDescriptionPotionFluidAttributes(net.minecraftforge.fluids.FluidAttributes.Builder builder, net.minecraft.world.level.material.Fluid fluid) -
Method Summary
Modifier and TypeMethodDescriptionintgetColor(net.minecraftforge.fluids.FluidStack stack) net.minecraft.network.chat.ComponentgetDisplayName(net.minecraftforge.fluids.FluidStack stack) getTranslationKey(net.minecraftforge.fluids.FluidStack stack) Methods inherited from class net.minecraftforge.fluids.FluidAttributes
builder, canBePlacedInWorld, canBePlacedInWorld, doesVaporize, getBlock, getBucket, getColor, getColor, getDensity, getDensity, getDensity, 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, getViscosity, getViscosity, getViscosity, isGaseous, isGaseous, isGaseous, isLighterThanAir, vaporize
-
Constructor Details
-
PotionFluidAttributes
public PotionFluidAttributes(net.minecraftforge.fluids.FluidAttributes.Builder builder, net.minecraft.world.level.material.Fluid fluid)
-
-
Method Details
-
getColor
public int getColor(net.minecraftforge.fluids.FluidStack stack) - Overrides:
getColorin classnet.minecraftforge.fluids.FluidAttributes
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName(net.minecraftforge.fluids.FluidStack stack) - Overrides:
getDisplayNamein classnet.minecraftforge.fluids.FluidAttributes
-
getTranslationKey
- Overrides:
getTranslationKeyin classnet.minecraftforge.fluids.FluidAttributes
-