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

    Constructors
    Constructor
    Description
    PotionFluidAttributes(net.minecraftforge.fluids.FluidAttributes.Builder builder, net.minecraft.world.level.material.Fluid fluid)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getColor(net.minecraftforge.fluids.FluidStack stack)
     
    net.minecraft.network.chat.Component
    getDisplayName(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getColor in class net.minecraftforge.fluids.FluidAttributes
    • getDisplayName

      public net.minecraft.network.chat.Component getDisplayName(net.minecraftforge.fluids.FluidStack stack)
      Overrides:
      getDisplayName in class net.minecraftforge.fluids.FluidAttributes
    • getTranslationKey

      public String getTranslationKey(net.minecraftforge.fluids.FluidStack stack)
      Overrides:
      getTranslationKey in class net.minecraftforge.fluids.FluidAttributes