From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- .../minecraftforge/fluids/ItemFluidContainer.html | 426 +++++++++++++++++++++ 1 file changed, 426 insertions(+) create mode 100644 javadoc/net/minecraftforge/fluids/ItemFluidContainer.html (limited to 'javadoc/net/minecraftforge/fluids/ItemFluidContainer.html') diff --git a/javadoc/net/minecraftforge/fluids/ItemFluidContainer.html b/javadoc/net/minecraftforge/fluids/ItemFluidContainer.html new file mode 100644 index 0000000..f9e01a3 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/ItemFluidContainer.html @@ -0,0 +1,426 @@ + + + + + +ItemFluidContainer (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.fluids
+

Class ItemFluidContainer

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        capacity

        +
        protected int capacity
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ItemFluidContainer

        +
        public ItemFluidContainer(int itemID)
        +
      • +
      + + + +
        +
      • +

        ItemFluidContainer

        +
        public ItemFluidContainer(int itemID,
        +                  int capacity)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getFluid

        +
        public FluidStack getFluid(ItemStack container)
        +
        +
        Specified by:
        +
        getFluid in interface IFluidContainerItem
        +
        Parameters:
        container - ItemStack which is the fluid container.
        +
        Returns:
        FluidStack representing the fluid in the container, null if the container is empty.
        +
      • +
      + + + +
        +
      • +

        getCapacity

        +
        public int getCapacity(ItemStack container)
        +
        +
        Specified by:
        +
        getCapacity in interface IFluidContainerItem
        +
        Parameters:
        container - ItemStack which is the fluid container.
        +
        Returns:
        Capacity of this fluid container.
        +
      • +
      + + + +
        +
      • +

        fill

        +
        public int fill(ItemStack container,
        +       FluidStack resource,
        +       boolean doFill)
        +
        +
        Specified by:
        +
        fill in interface IFluidContainerItem
        +
        Parameters:
        container - ItemStack which is the fluid container.
        resource - FluidStack attempting to fill the container.
        doFill - If false, the fill will only be simulated.
        +
        Returns:
        Amount of fluid that was (or would have been, if simulated) filled into the + container.
        +
      • +
      + + + +
        +
      • +

        drain

        +
        public FluidStack drain(ItemStack container,
        +               int maxDrain,
        +               boolean doDrain)
        +
        +
        Specified by:
        +
        drain in interface IFluidContainerItem
        +
        Parameters:
        container - ItemStack which is the fluid container.
        maxDrain - Maximum amount of fluid to be removed from the container.
        +
        Returns:
        Amount of fluid that was (or would have been, if simulated) drained from the + container.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3