Interface FluidData.PlatformTranslator<T>

Enclosing class:
FluidData

@Experimental @OverrideOnly public static interface FluidData.PlatformTranslator<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    amount(T t)
    Returns the amount of the platform object.
    net.minecraft.core.component.DataComponentPatch
    data(T t)
    Returns the nbt of the platform object.
    fluid(T t)
    Returns the fluid of the platform object.
    Returns the unit of this platform.