YATS/Forge Documentation
|
Inherits net.minecraft.world.gen.structure.ComponentStronghold.
Public Member Functions | |
ComponentStrongholdChestCorridor (int par1, Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4) | |
void | buildComponent (StructureComponent par1StructureComponent, List par2List, Random par3Random) |
boolean | addComponentParts (World par1World, Random par2Random, StructureBoundingBox par3StructureBoundingBox) |
Static Public Member Functions | |
static ComponentStrongholdChestCorridor | findValidPlacement (List par0List, Random par1Random, int par2, int par3, int par4, int par5, int par6) |
Static Public Attributes | |
static final WeightedRandomChestContent[] | strongholdChestContents = new WeightedRandomChestContent[] {new WeightedRandomChestContent(Item.enderPearl.itemID, 0, 1, 1, 10), new WeightedRandomChestContent(Item.diamond.itemID, 0, 1, 3, 3), new WeightedRandomChestContent(Item.ingotIron.itemID, 0, 1, 5, 10), new WeightedRandomChestContent(Item.ingotGold.itemID, 0, 1, 3, 5), new WeightedRandomChestContent(Item.redstone.itemID, 0, 4, 9, 5), new WeightedRandomChestContent(Item.bread.itemID, 0, 1, 3, 15), new WeightedRandomChestContent(Item.appleRed.itemID, 0, 1, 3, 15), new WeightedRandomChestContent(Item.pickaxeIron.itemID, 0, 1, 1, 5), new WeightedRandomChestContent(Item.swordIron.itemID, 0, 1, 1, 5), new WeightedRandomChestContent(Item.plateIron.itemID, 0, 1, 1, 5), new WeightedRandomChestContent(Item.helmetIron.itemID, 0, 1, 1, 5), new WeightedRandomChestContent(Item.legsIron.itemID, 0, 1, 1, 5), new WeightedRandomChestContent(Item.bootsIron.itemID, 0, 1, 1, 5), new WeightedRandomChestContent(Item.appleGold.itemID, 0, 1, 1, 1)} |
Additional Inherited Members | |
Protected Member Functions inherited from net.minecraft.world.gen.structure.ComponentStronghold | |
ComponentStronghold (int par1) | |
void | placeDoor (World par1World, Random par2Random, StructureBoundingBox par3StructureBoundingBox, EnumDoor par4EnumDoor, int par5, int par6, int par7) |
EnumDoor | getRandomDoor (Random par1Random) |
StructureComponent | getNextComponentNormal (ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, List par2List, Random par3Random, int par4, int par5) |
StructureComponent | getNextComponentX (ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, List par2List, Random par3Random, int par4, int par5) |
StructureComponent | getNextComponentZ (ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, List par2List, Random par3Random, int par4, int par5) |
Static Protected Member Functions inherited from net.minecraft.world.gen.structure.ComponentStronghold | |
static boolean | canStrongholdGoDeeper (StructureBoundingBox par0StructureBoundingBox) |
Protected Attributes inherited from net.minecraft.world.gen.structure.StructureComponent | |
StructureBoundingBox | boundingBox |
int | coordBaseMode |
int | componentType |
net.minecraft.world.gen.structure.ComponentStrongholdChestCorridor.ComponentStrongholdChestCorridor | ( | int | par1, |
Random | par2Random, | ||
StructureBoundingBox | par3StructureBoundingBox, | ||
int | par4 | ||
) |
|
virtual |
second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes Mineshafts at the end, it adds Fences...
Implements net.minecraft.world.gen.structure.StructureComponent.
void net.minecraft.world.gen.structure.ComponentStrongholdChestCorridor.buildComponent | ( | StructureComponent | par1StructureComponent, |
List | par2List, | ||
Random | par3Random | ||
) |
Initiates construction of the Structure Component picked, at the current Location of StructGen
|
static |
|
static |
List of items that Stronghold chests can contain.