Interface FluidData.FluidDescriptionContext<T extends Fluid>

Enclosing class:
FluidData

@ClientOnly @NonExtendable public static interface FluidData.FluidDescriptionContext<T extends Fluid>
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.core.component.DataComponentPatch
    Returns the fluid's NBT data.
    Returns the fluid instance.
  • Method Details

    • fluid

      T fluid()
      Returns the fluid instance.
    • data

      net.minecraft.core.component.DataComponentPatch data()
      Returns the fluid's NBT data.