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 --- .../minecraft/util/WeightedRandomChestContent.html | 414 +++++++++++++++++++++ 1 file changed, 414 insertions(+) create mode 100644 javadoc/net/minecraft/util/WeightedRandomChestContent.html (limited to 'javadoc/net/minecraft/util/WeightedRandomChestContent.html') diff --git a/javadoc/net/minecraft/util/WeightedRandomChestContent.html b/javadoc/net/minecraft/util/WeightedRandomChestContent.html new file mode 100644 index 0000000..c90cb9b --- /dev/null +++ b/javadoc/net/minecraft/util/WeightedRandomChestContent.html @@ -0,0 +1,414 @@ + + + + + +WeightedRandomChestContent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraft.util
+

Class WeightedRandomChestContent

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

      Field Detail

      + + + +
        +
      • +

        theItemId

        +
        public ItemStack theItemId
        +
      • +
      + + + +
        +
      • +

        theMinimumChanceToGenerateItem

        +
        public int theMinimumChanceToGenerateItem
        +
      • +
      + + + +
        +
      • +

        theMaximumChanceToGenerateItem

        +
        public int theMaximumChanceToGenerateItem
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WeightedRandomChestContent

        +
        public WeightedRandomChestContent(Item p_i45311_1_,
        +                          int p_i45311_2_,
        +                          int p_i45311_3_,
        +                          int p_i45311_4_,
        +                          int p_i45311_5_)
        +
      • +
      + + + +
        +
      • +

        WeightedRandomChestContent

        +
        public WeightedRandomChestContent(ItemStack p_i1558_1_,
        +                          int p_i1558_2_,
        +                          int p_i1558_3_,
        +                          int p_i1558_4_)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        generateChestContents

        +
        public static void generateChestContents(java.util.Random p_76293_0_,
        +                         WeightedRandomChestContent[] p_76293_1_,
        +                         IInventory p_76293_2_,
        +                         int p_76293_3_)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        generateChestContent

        +
        protected ItemStack[] generateChestContent(java.util.Random random,
        +                               IInventory newInventory)
        +
        Allow a mod to submit a custom implementation that can delegate item stack generation beyond simple stack lookup
        +
        Parameters:
        random - The current random for generation
        newInventory - The inventory being generated (do not populate it, but you can refer to it)
        +
        Returns:
        An array of ItemStack to put into the chest
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3