mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
run repo through formatter
This commit is contained in:
1 parent
5585d680a3
commit
ffaea7d4b7
140 files changed
+1050
-892
No files matched your search
@@ -156,7 +156,6 @@ public class SlimeTreeGen extends WorldGenerator
|
||||
{
|
||||
Block block = world.getBlock(xPos, yPos + localHeight, zPos);
|
||||
|
||||
|
||||
if (block == null || block == Blocks.air || block.isLeaves(world, xPos, yPos + localHeight, zPos))
|
||||
{
|
||||
this.setBlockAndMetadata(world, xPos, yPos + localHeight, zPos, TRepo.slimeGel, this.metaWood);
|
||||
|
||||
@@ -16,6 +16,7 @@ import net.minecraft.world.gen.structure.StructureComponent;
|
||||
import net.minecraft.world.gen.structure.StructureVillagePieces;
|
||||
|
||||
import net.minecraft.world.gen.structure.StructureVillagePieces.Start;
|
||||
|
||||
public class ComponentSmeltery extends StructureVillagePieces.House1
|
||||
{
|
||||
private int averageGroundLevel = -1;
|
||||
@@ -127,13 +128,13 @@ public class ComponentSmeltery extends StructureVillagePieces.House1
|
||||
protected void func_143012_a (NBTTagCompound var1)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void func_143011_b (NBTTagCompound var1)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,6 @@ import net.minecraft.world.gen.structure.StructureVillagePieces;
|
||||
import net.minecraft.world.gen.structure.StructureVillagePieces.Start;
|
||||
import net.minecraft.world.gen.structure.MapGenStructureIO;
|
||||
|
||||
|
||||
public class ComponentToolWorkshop extends StructureVillagePieces.House1
|
||||
{
|
||||
private int averageGroundLevel = -1;
|
||||
@@ -129,7 +128,7 @@ public class ComponentToolWorkshop extends StructureVillagePieces.House1
|
||||
//this.placeBlockAtCurrentPosition(world, TRepo.toolStationWood, 5, 1, 1, 2, sbb);
|
||||
this.placeBlockAtCurrentPosition(world, TRepo.toolStationWood, 1, 1, 1, 3, sbb);
|
||||
this.generateStructureCraftingStationContents(world, sbb, random, 1, 1, 4, TRepo.tinkerHouseChest.getItems(random), TRepo.tinkerHouseChest.getCount(random));
|
||||
// this.placeBlockAtCurrentPosition(world, TRepo.craftingStationWood, 0, 1, 1, 4, sbb);
|
||||
// this.placeBlockAtCurrentPosition(world, TRepo.craftingStationWood, 0, 1, 1, 4, sbb);
|
||||
this.placeBlockAtCurrentPosition(world, TRepo.toolStationWood, 10, 1, 1, 5, sbb);
|
||||
|
||||
//ChestGenHooks info = ChestGenHooks.getInfo("TinkerHouse");
|
||||
@@ -176,6 +175,7 @@ public class ComponentToolWorkshop extends StructureVillagePieces.House1
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
protected boolean generateStructurePatternChestContents (World world, StructureBoundingBox par2StructureBoundingBox, Random random, int x, int y, int z, WeightedRandomChestContent[] content,
|
||||
int par8)
|
||||
{
|
||||
|
||||
@@ -22,7 +22,6 @@ public class VillageSmelteryHandler implements IVillageCreationHandler
|
||||
return ComponentSmeltery.class;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Object buildComponent (PieceWeight villagePiece, Start startPiece, List pieces, Random random, int p1, int p2, int p3, int p4, int p5)
|
||||
{
|
||||
|
||||
@@ -24,7 +24,6 @@ public class VillageToolStationHandler implements IVillageCreationHandler
|
||||
return ComponentToolWorkshop.class;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Object buildComponent (PieceWeight villagePiece, Start startPiece, List pieces, Random random, int p1, int p2, int p3, int p4, int p5)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user