Package net.minecraft.src
Class ComponentVillageHouse1
- java.lang.Object
-
- net.minecraft.src.StructureComponent
-
- net.minecraft.src.ComponentVillageHouse1
-
public class ComponentVillageHouse1 extends StructureComponent
-
-
Field Summary
-
Fields inherited from class net.minecraft.src.StructureComponent
boundingBox, componentType, coordBaseMode
-
-
Constructor Summary
Constructors Constructor Description ComponentVillageHouse1(int var1, java.util.Random var2, StructureBoundingBox var3, int var4)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addComponentParts(World var1, java.util.Random var2, StructureBoundingBox var3)
void
buildComponent(StructureComponent structurecomponent, java.util.List list, java.util.Random random)
protected static boolean
canVillageGoDeeper(StructureBoundingBox var0)
static ComponentVillageHouse1
findValidPlacement(java.util.List var0, java.util.Random var1, int var2, int var3, int var4, int var5, int var6)
protected int
getAverageGroundLevel(World var1, StructureBoundingBox var2)
protected StructureComponent
getNextComponentNN(ComponentVillageStartPiece var1, java.util.List var2, java.util.Random var3, int var4, int var5)
protected StructureComponent
getNextComponentPP(ComponentVillageStartPiece var1, java.util.List var2, java.util.Random var3, int var4, int var5)
protected int
getVillagerType(int var1)
protected void
spawnVillagers(World var1, StructureBoundingBox var2, int var3, int var4, int var5, int var6)
-
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
-
-
-
-
Constructor Detail
-
ComponentVillageHouse1
public ComponentVillageHouse1(int var1, java.util.Random var2, StructureBoundingBox var3, int var4)
-
-
Method Detail
-
buildComponent
public void buildComponent(StructureComponent structurecomponent, java.util.List list, java.util.Random random)
- Overrides:
buildComponent
in classStructureComponent
-
findValidPlacement
public static ComponentVillageHouse1 findValidPlacement(java.util.List var0, java.util.Random var1, int var2, int var3, int var4, int var5, int var6)
-
addComponentParts
public boolean addComponentParts(World var1, java.util.Random var2, StructureBoundingBox var3)
- Specified by:
addComponentParts
in classStructureComponent
-
getVillagerType
protected int getVillagerType(int var1)
-
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)
-
-