Example usage for net.minecraftforge.fluids.capability IFluidHandlerItem interface-usage

List of usage examples for net.minecraftforge.fluids.capability IFluidHandlerItem interface-usage

Introduction

In this page you can find the example usage for net.minecraftforge.fluids.capability IFluidHandlerItem interface-usage.

Usage

From source file claybucket.FluidHandler.java

/**
 * FluidHandlerItemStackSimple is a template capability provider for ItemStacks.
 * Data is stored directly in the vanilla NBT, in the same way as the old ItemFluidContainer.
 *
 * This implementation only allows item containers to be fully filled or emptied, similar to vanilla buckets.
 */