Interface BotariumFluidItem<T extends ItemFluidContainer & Updatable>

Type Parameters:
T - The type of the fluid container. Must implement the ItemFluidContainer and Updatable interfaces. Botarium provides a default implementation for this with WrappedItemFluidContainer.

public interface BotariumFluidItem<T extends ItemFluidContainer & Updatable>
An interface that represents an item that can provide a fluid container for a Botarium block.
  • Method Summary

    Modifier and Type
    Method
    Description
    getFluidContainer(net.minecraft.world.item.ItemStack holder)
     
  • Method Details

    • getFluidContainer

      T getFluidContainer(net.minecraft.world.item.ItemStack holder)
      Returns:
      The ItemFluidContainer for the block.