Package | Description |
---|---|
net.minecraft.item | |
net.minecraft.util | |
net.minecraft.world | |
net.minecraft.world.gen.feature | |
net.minecraft.world.gen.structure | |
net.minecraftforge.common |
Modifier and Type | Method and Description |
---|---|
WeightedRandomChestContent |
ItemEnchantedBook.func_92112_a(Random par1Random,
int par2,
int par3,
int par4) |
WeightedRandomChestContent |
ItemEnchantedBook.func_92114_b(Random par1Random) |
WeightedRandomChestContent |
Item.getChestGenBase(ChestGenHooks chest,
Random rnd,
WeightedRandomChestContent original)
Generates the base Random item for a specific instance of the chest gen,
Enchanted books use this to pick a random enchantment.
|
Modifier and Type | Method and Description |
---|---|
WeightedRandomChestContent |
Item.getChestGenBase(ChestGenHooks chest,
Random rnd,
WeightedRandomChestContent original)
Generates the base Random item for a specific instance of the chest gen,
Enchanted books use this to pick a random enchantment.
|
Modifier and Type | Method and Description |
---|---|
static WeightedRandomChestContent[] |
WeightedRandomChestContent.func_92080_a(WeightedRandomChestContent[] par0ArrayOfWeightedRandomChestContent,
WeightedRandomChestContent... par1ArrayOfWeightedRandomChestContent) |
Modifier and Type | Method and Description |
---|---|
static WeightedRandomChestContent[] |
WeightedRandomChestContent.func_92080_a(WeightedRandomChestContent[] par0ArrayOfWeightedRandomChestContent,
WeightedRandomChestContent... par1ArrayOfWeightedRandomChestContent) |
static WeightedRandomChestContent[] |
WeightedRandomChestContent.func_92080_a(WeightedRandomChestContent[] par0ArrayOfWeightedRandomChestContent,
WeightedRandomChestContent... par1ArrayOfWeightedRandomChestContent) |
static void |
WeightedRandomChestContent.generateChestContents(Random par0Random,
WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent,
IInventory par2IInventory,
int par3)
Generates the Chest contents.
|
static void |
WeightedRandomChestContent.generateDispenserContents(Random par0Random,
WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent,
TileEntityDispenser par2TileEntityDispenser,
int par3)
Generates the Dispenser contents.
|
Modifier and Type | Field and Description |
---|---|
static WeightedRandomChestContent[] |
WorldServer.bonusChestContent |
Modifier and Type | Field and Description |
---|---|
static WeightedRandomChestContent[] |
WorldGenDungeons.field_111189_a |
Constructor and Description |
---|
WorldGeneratorBonusChest(WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent,
int par2) |
Modifier and Type | Field and Description |
---|---|
static WeightedRandomChestContent[] |
ComponentScatteredFeatureDesertPyramid.itemsToGenerateInTemple
List of items to generate in chests of Temples.
|
static WeightedRandomChestContent[] |
ComponentScatteredFeatureJunglePyramid.junglePyramidsChestContents
List of Chest contents to be generated in the Jungle Pyramid chests.
|
static WeightedRandomChestContent[] |
ComponentScatteredFeatureJunglePyramid.junglePyramidsDispenserContents
List of Dispenser contents to be generated in the Jungle Pyramid dispensers.
|
static WeightedRandomChestContent[] |
StructureMineshaftPieces.mineshaftChestContents
List of contents that can generate in Mineshafts.
|
static WeightedRandomChestContent[] |
ComponentStrongholdChestCorridor.strongholdChestContents
List of items that Stronghold chests can contain.
|
static WeightedRandomChestContent[] |
ComponentStrongholdLibrary.strongholdLibraryChestContents
List of items that Stronghold Library chests can contain.
|
static WeightedRandomChestContent[] |
ComponentStrongholdRoomCrossing.strongholdRoomCrossingChestContents
Items that could generate in the chest that is located in Stronghold Room Crossing.
|
static WeightedRandomChestContent[] |
ComponentVillageHouse2.villageBlacksmithChestContents
List of items that Village's Blacksmith chest can contain.
|
Modifier and Type | Method and Description |
---|---|
WeightedRandomChestContent[] |
ChestGenHooks.getItems(Random rnd)
Gets an array of all random objects that are associated with this category.
|
static WeightedRandomChestContent[] |
ChestGenHooks.getItems(String category,
Random rnd) |
Modifier and Type | Method and Description |
---|---|
static void |
ChestGenHooks.addItem(String category,
WeightedRandomChestContent item) |
void |
ChestGenHooks.addItem(WeightedRandomChestContent item)
Adds a new entry into the possible items to generate.
|
Constructor and Description |
---|
ChestGenHooks(String category,
WeightedRandomChestContent[] items,
int min,
int max) |