Package net.minecraft.src
Class ComponentVillageStartPiece
- java.lang.Object
-
- net.minecraft.src.StructureComponent
-
- net.minecraft.src.ComponentVillageWell
-
- net.minecraft.src.ComponentVillageStartPiece
-
public class ComponentVillageStartPiece extends ComponentVillageWell
-
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayListfield_35106_fjava.util.ArrayListfield_35108_ejava.util.ArrayListstructureVillageWeightedPieceListStructureVillagePieceWeightstructVillagePieceWeightintterrainTypeWorldChunkManagerworldChunkMngr-
Fields inherited from class net.minecraft.src.StructureComponent
boundingBox, componentType, coordBaseMode
-
-
Constructor Summary
Constructors Constructor Description ComponentVillageStartPiece(WorldChunkManager var1, int var2, java.util.Random var3, int var4, int var5, java.util.ArrayList var6, int var7)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static booleancanVillageGoDeeper(StructureBoundingBox var0)protected intgetAverageGroundLevel(World var1, StructureBoundingBox var2)protected StructureComponentgetNextComponentNN(ComponentVillageStartPiece var1, java.util.List var2, java.util.Random var3, int var4, int var5)protected StructureComponentgetNextComponentPP(ComponentVillageStartPiece var1, java.util.List var2, java.util.Random var3, int var4, int var5)protected intgetVillagerType(int var1)WorldChunkManagergetWorldChunkManager()protected voidspawnVillagers(World var1, StructureBoundingBox var2, int var3, int var4, int var5, int var6)-
Methods inherited from class net.minecraft.src.ComponentVillageWell
addComponentParts, buildComponent
-
Methods inherited from class net.minecraft.src.StructureComponent
clearCurrentPositionBlocksUpwards, createTreasureChestAtCurrentPosition, fillCurrentPositionBlocksDownwards, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, getBlockIdAtCurrentPosition, getBoundingBox, getCenter, getComponentType, getMetadataWithOffset, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeBlockAtCurrentPosition, placeDoorAtCurrentPosition, randomlyFillWithBlocks, randomlyPlaceBlock, randomlyRareFillWithBlocks
-
-
-
-
Field Detail
-
worldChunkMngr
public WorldChunkManager worldChunkMngr
-
terrainType
public int terrainType
-
structVillagePieceWeight
public StructureVillagePieceWeight structVillagePieceWeight
-
structureVillageWeightedPieceList
public java.util.ArrayList structureVillageWeightedPieceList
-
field_35108_e
public java.util.ArrayList field_35108_e
-
field_35106_f
public java.util.ArrayList field_35106_f
-
-
Constructor Detail
-
ComponentVillageStartPiece
public ComponentVillageStartPiece(WorldChunkManager var1, int var2, java.util.Random var3, int var4, int var5, java.util.ArrayList var6, int var7)
-
-
Method Detail
-
getWorldChunkManager
public WorldChunkManager getWorldChunkManager()
-
getNextComponentNN
protected StructureComponent getNextComponentNN(ComponentVillageStartPiece var1, java.util.List var2, java.util.Random var3, int var4, int var5)
-
getNextComponentPP
protected StructureComponent getNextComponentPP(ComponentVillageStartPiece var1, java.util.List var2, java.util.Random var3, int var4, int var5)
-
getAverageGroundLevel
protected int getAverageGroundLevel(World var1, StructureBoundingBox var2)
-
canVillageGoDeeper
protected static boolean canVillageGoDeeper(StructureBoundingBox var0)
-
spawnVillagers
protected void spawnVillagers(World var1, StructureBoundingBox var2, int var3, int var4, int var5, int var6)
-
getVillagerType
protected int getVillagerType(int var1)
-
-