Class InventoryFluid
java.lang.Object
net.minecraft.world.inventory.TransientCraftingContainer
org.cyclops.cyclopscore.recipe.type.InventoryFluid
- All Implemented Interfaces:
net.minecraft.world.Clearable
,net.minecraft.world.Container
,net.minecraft.world.inventory.CraftingContainer
,net.minecraft.world.inventory.StackedContentsCompatible
,IInventoryFluid
public class InventoryFluid
extends net.minecraft.world.inventory.TransientCraftingContainer
implements IInventoryFluid
Default implementation of
IInventoryFluid
.-
Field Summary
Fields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
-
Constructor Summary
ConstructorDescriptionInventoryFluid
(net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemStacks, net.minecraft.core.NonNullList<net.neoforged.neoforge.fluids.FluidStack> fluidStacks) -
Method Summary
Modifier and TypeMethodDescriptionnet.neoforged.neoforge.fluids.capability.IFluidHandler
Methods inherited from class net.minecraft.world.inventory.TransientCraftingContainer
clearContent, fillStackedContents, getContainerSize, getHeight, getItem, getItems, getWidth, isEmpty, removeItem, removeItemNoUpdate, setChanged, setItem, stillValid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.Clearable
clearContent
Methods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getContainerSize, getItem, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, removeItem, removeItemNoUpdate, setChanged, setItem, startOpen, stillValid, stopOpen
-
Constructor Details
-
InventoryFluid
public InventoryFluid(net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemStacks, net.minecraft.core.NonNullList<net.neoforged.neoforge.fluids.FluidStack> fluidStacks)
-
-
Method Details
-
getFluidHandler
public net.neoforged.neoforge.fluids.capability.IFluidHandler getFluidHandler()- Specified by:
getFluidHandler
in interfaceIInventoryFluid
-