From 877312184c472d9845e5ef1008bc538f4634059f Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:50:56 +0300 Subject: fix missing source folder --- .../fluids/FluidContainerRegistry.html | 586 --------------------- 1 file changed, 586 deletions(-) delete mode 100644 javadoc/net/minecraftforge/fluids/FluidContainerRegistry.html (limited to 'javadoc/net/minecraftforge/fluids/FluidContainerRegistry.html') diff --git a/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.html b/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.html deleted file mode 100644 index 2b5be34..0000000 --- a/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.html +++ /dev/null @@ -1,586 +0,0 @@ - - - - - -FluidContainerRegistry (Forge API) - - - - - - - -
- - - - - -
- - - -
-
net.minecraftforge.fluids
-

Class FluidContainerRegistry

-
-
- -
-
    -
  • -
    -
    -
    public abstract class FluidContainerRegistry
    -extends java.lang.Object
    -
    Register simple items that contain fluids here. Useful for buckets, bottles, and things that have - ID/metadata mappings. - - For more complex items, use IFluidContainerItem instead.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        registerFluidContainer

        -
        public static boolean registerFluidContainer(FluidStack stack,
        -                             ItemStack filledContainer,
        -                             ItemStack emptyContainer)
        -
        Register a new fluid containing item.
        -
        Parameters:
        stack - FluidStack containing the type and amount of the fluid stored in the item.
        filledContainer - ItemStack representing the container when it is full.
        emptyContainer - ItemStack representing the container when it is empty.
        -
        Returns:
        True if container was successfully registered; false if it already is.
        -
      • -
      - - - -
        -
      • -

        registerFluidContainer

        -
        public static boolean registerFluidContainer(Fluid fluid,
        -                             ItemStack filledContainer,
        -                             ItemStack emptyContainer)
        -
        Register a new fluid containing item. The item is assumed to hold 1000 mB of fluid. Also - registers the Fluid if possible.
        -
        Parameters:
        fluid - Fluid type that is stored in the item.
        filledContainer - ItemStack representing the container when it is full.
        emptyContainer - ItemStack representing the container when it is empty.
        -
        Returns:
        True if container was successfully registered; false if it already is.
        -
      • -
      - - - -
        -
      • -

        registerFluidContainer

        -
        public static boolean registerFluidContainer(FluidStack stack,
        -                             ItemStack filledContainer)
        -
        Register a new fluid containing item that does not have an empty container.
        -
        Parameters:
        stack - FluidStack containing the type and amount of the fluid stored in the item.
        filledContainer - ItemStack representing the container when it is full.
        -
        Returns:
        True if container was successfully registered; false if it already is.
        -
      • -
      - - - -
        -
      • -

        registerFluidContainer

        -
        public static boolean registerFluidContainer(Fluid fluid,
        -                             ItemStack filledContainer)
        -
        Register a new fluid containing item that does not have an empty container. The item is - assumed to hold 1000 mB of fluid. Also registers the Fluid if possible.
        -
        Parameters:
        fluid - Fluid type that is stored in the item.
        filledContainer - ItemStack representing the container when it is full.
        -
        Returns:
        True if container was successfully registered; false if it already is.
        -
      • -
      - - - - - - - -
        -
      • -

        getFluidForFilledItem

        -
        public static FluidStack getFluidForFilledItem(ItemStack container)
        -
        Determines the fluid type and amount inside a container.
        -
        Parameters:
        container - The fluid container.
        -
        Returns:
        FluidStack representing stored fluid.
        -
      • -
      - - - -
        -
      • -

        fillFluidContainer

        -
        public static ItemStack fillFluidContainer(FluidStack fluid,
        -                           ItemStack container)
        -
        Attempts to fill an empty container with a fluid. - - NOTE: Returns null on fail, NOT the empty container.
        -
        Parameters:
        fluid - FluidStack containing the type and amount of fluid to fill.
        container - ItemStack representing the empty container.
        -
        Returns:
        Filled container if successful, otherwise null.
        -
      • -
      - - - -
        -
      • -

        drainFluidContainer

        -
        public static ItemStack drainFluidContainer(ItemStack container)
        -
        Attempts to empty a full container.
        -
        Parameters:
        container - ItemStack representing the full container.
        -
        Returns:
        Empty container if successful, otherwise null.
        -
      • -
      - - - -
        -
      • -

        getContainerCapacity

        -
        public static int getContainerCapacity(ItemStack container)
        -
        Determines the capacity of a full container.
        -
        Parameters:
        container - The full container.
        -
        Returns:
        The containers capacity, or 0 if the ItemStack does not represent - a registered container.
        -
      • -
      - - - -
        -
      • -

        getContainerCapacity

        -
        public static int getContainerCapacity(FluidStack fluid,
        -                       ItemStack container)
        -
        Determines the capacity of a container.
        -
        Parameters:
        fluid - FluidStack containing the type of fluid the capacity should be - determined for (ignored for full containers).
        container - The container (full or empty).
        -
        Returns:
        The containers capacity, or 0 if the ItemStack does not represent - a registered container or the FluidStack is not registered with - the empty container.
        -
      • -
      - - - -
        -
      • -

        containsFluid

        -
        public static boolean containsFluid(ItemStack container,
        -                    FluidStack fluid)
        -
        Determines if a container holds a specific fluid.
        -
      • -
      - - - -
        -
      • -

        isBucket

        -
        public static boolean isBucket(ItemStack container)
        -
      • -
      - - - -
        -
      • -

        isContainer

        -
        public static boolean isContainer(ItemStack container)
        -
      • -
      - - - -
        -
      • -

        isEmptyContainer

        -
        public static boolean isEmptyContainer(ItemStack container)
        -
      • -
      - - - -
        -
      • -

        isFilledContainer

        -
        public static boolean isFilledContainer(ItemStack container)
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - -- cgit v1.2.3