Class FluidStackHooksFabric

java.lang.Object
dev.architectury.hooks.fluid.fabric.FluidStackHooksFabric

public final class FluidStackHooksFabric extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static dev.architectury.fluid.FluidStack
    fromFabric(net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant variant, long amount)
     
    static dev.architectury.fluid.FluidStack
    fromFabric(net.fabricmc.fabric.api.transfer.v1.storage.StorageView<net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant> storageView)
     
    static net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
    toFabric(dev.architectury.fluid.FluidStack stack)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • fromFabric

      public static dev.architectury.fluid.FluidStack fromFabric(net.fabricmc.fabric.api.transfer.v1.storage.StorageView<net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant> storageView)
    • fromFabric

      public static dev.architectury.fluid.FluidStack fromFabric(net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant variant, long amount)
    • toFabric

      public static net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant toFabric(dev.architectury.fluid.FluidStack stack)