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 --- javadoc/net/minecraftforge/fluids/FluidStack.html | 569 ---------------------- 1 file changed, 569 deletions(-) delete mode 100644 javadoc/net/minecraftforge/fluids/FluidStack.html (limited to 'javadoc/net/minecraftforge/fluids/FluidStack.html') diff --git a/javadoc/net/minecraftforge/fluids/FluidStack.html b/javadoc/net/minecraftforge/fluids/FluidStack.html deleted file mode 100644 index ec97065..0000000 --- a/javadoc/net/minecraftforge/fluids/FluidStack.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - -FluidStack (Forge API) - - - - - - - -
- - - - - -
- - - -
-
net.minecraftforge.fluids
-

Class FluidStack

-
-
- -
-
    -
  • -
    -
    -
    public class FluidStack
    -extends java.lang.Object
    -
    ItemStack substitute for Fluids. - - NOTE: Equality is based on the Fluid, not the amount. Use - isFluidStackIdentical(FluidStack) to determine if FluidID, Amount and NBT Tag are all - equal.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        fluidID

        -
        public int fluidID
        -
      • -
      - - - -
        -
      • -

        amount

        -
        public int amount
        -
      • -
      - - - - -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FluidStack

        -
        public FluidStack(Fluid fluid,
        -          int amount)
        -
      • -
      - - - -
        -
      • -

        FluidStack

        -
        public FluidStack(int fluidID,
        -          int amount)
        -
      • -
      - - - -
        -
      • -

        FluidStack

        -
        public FluidStack(int fluidID,
        -          int amount,
        -          NBTTagCompound nbt)
        -
      • -
      - - - -
        -
      • -

        FluidStack

        -
        public FluidStack(FluidStack stack,
        -          int amount)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        loadFluidStackFromNBT

        -
        public static FluidStack loadFluidStackFromNBT(NBTTagCompound nbt)
        -
        This provides a safe method for retrieving a FluidStack - if the Fluid is invalid, the stack - will return as null.
        -
      • -
      - - - - - - - -
        -
      • -

        getFluid

        -
        public final Fluid getFluid()
        -
      • -
      - - - -
        -
      • -

        getLocalizedName

        -
        public java.lang.String getLocalizedName()
        -
      • -
      - - - -
        -
      • -

        getUnlocalizedName

        -
        public java.lang.String getUnlocalizedName()
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public FluidStack copy()
        -
        Returns:
        A copy of this FluidStack
        -
      • -
      - - - -
        -
      • -

        isFluidEqual

        -
        public boolean isFluidEqual(FluidStack other)
        -
        Determines if the FluidIDs and NBT Tags are equal. This does not check amounts.
        -
        Parameters:
        other - The FluidStack for comparison
        -
        Returns:
        true if the Fluids (IDs and NBT Tags) are the same
        -
      • -
      - - - -
        -
      • -

        areFluidStackTagsEqual

        -
        public static boolean areFluidStackTagsEqual(FluidStack stack1,
        -                             FluidStack stack2)
        -
        Determines if the NBT Tags are equal. Useful if the FluidIDs are known to be equal.
        -
      • -
      - - - -
        -
      • -

        containsFluid

        -
        public boolean containsFluid(FluidStack other)
        -
        Determines if the Fluids are equal and this stack is larger.
        -
        Parameters:
        other -
        -
        Returns:
        true if this FluidStack contains the other FluidStack (same fluid and >= amount)
        -
      • -
      - - - -
        -
      • -

        isFluidStackIdentical

        -
        public boolean isFluidStackIdentical(FluidStack other)
        -
        Determines if the FluidIDs, Amounts, and NBT Tags are all equal.
        -
        Parameters:
        other - - the FluidStack for comparison
        -
        Returns:
        true if the two FluidStacks are exactly the same
        -
      • -
      - - - -
        -
      • -

        isFluidEqual

        -
        public boolean isFluidEqual(ItemStack other)
        -
        Determines if the FluidIDs and NBT Tags are equal compared to a registered container - ItemStack. This does not check amounts.
        -
        Parameters:
        other - The ItemStack for comparison
        -
        Returns:
        true if the Fluids (IDs and NBT Tags) are the same
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public final int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public final boolean equals(java.lang.Object o)
        -
        Default equality comparison for a FluidStack. Same functionality as isFluidEqual(). - - This is included for use in data structures.
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - -- cgit v1.2.3