I was reading the better farms one. And was like: "Aw crap. I have to feed them now." But then realized that manure is for those people who play on peaceful, cuz you don't have to kill skellies.
Sorry, I stopped it. It got way too messy and is unbearable for me since I am the only person on the team. I am in fact making a new dimension mod called "Campfire Legends" I will give more info when I think the mod has had more progress.
I was reading the better farms one. And was like: "Aw crap. I have to feed them now." But then realized that manure is for those people who play on peaceful, cuz you don't have to kill skellies.
Sorry, I will nerf the food lowering rate in the update at 1.3.
Hi, I don't know you, and this is crazy, but I wrote up some code, it's for a sweet cabin (please use it, it's a nice cozy cabin and I think it will go well in your mod.)
public class WorldGenFireDungeon extends WorldGenerator
{
public WorldGenFireDungeon()
{
}
public boolean generate(World world, Random rand, int x, int y, int z)
{
if(world.getBlockId(x, y, z)!= Block.grass.blockID || world.getBlockId(x, y + 1, z)!= 0)
{
return false;
}
int bricks = Block.brick.blockID;
int wood = Block.wood.blockID;
int glass = Block.thinGlass.blockID;
int planks = Block.planks.blockID;
int workbench = Block.workbench.blockID;
int furnace = Block.stoneOvenIdle.blockID;
// back wall
world.setBlockWithNotify(x, y , z, wood);
world.setBlockWithNotify(x, y + 1, z, wood);
world.setBlockWithNotify(x, y + 2, z, wood);
world.setBlockWithNotify(x, y + 3, z, wood);
world.setBlockWithNotify(x + 1, y , z, wood);
world.setBlockWithNotify(x + 1, y + 1, z, wood);
world.setBlockWithNotify(x + 1, y + 2, z, wood);
world.setBlockWithNotify(x + 1, y + 3, z, wood);
world.setBlockWithNotify(x + 2, y , z, wood);
world.setBlockWithNotify(x + 2, y + 1, z, wood);
world.setBlockWithNotify(x + 2, y + 2, z, wood);
world.setBlockWithNotify(x + 2, y + 3, z, wood);
world.setBlockWithNotify(x + 3, y , z, wood);
world.setBlockWithNotify(x + 3, y + 1, z, wood);
world.setBlockWithNotify(x + 3, y + 2, z, wood);
world.setBlockWithNotify(x + 3, y + 3, z, wood);
world.setBlockWithNotify(x + 4, y , z, wood);
world.setBlockWithNotify(x + 4, y + 1, z, wood);
world.setBlockWithNotify(x + 4, y + 2, z, wood);
world.setBlockWithNotify(x + 4, y + 3, z, wood);
world.setBlockWithNotify(x + 5, y , z, wood);
world.setBlockWithNotify(x + 5, y + 1, z, wood);
world.setBlockWithNotify(x + 5, y + 2, z, wood);
world.setBlockWithNotify(x + 5, y + 3, z, wood);
world.setBlockWithNotify(x + 6, y , z, wood);
world.setBlockWithNotify(x + 6, y + 1, z, wood);
world.setBlockWithNotify(x + 6, y + 2, z, wood);
world.setBlockWithNotify(x + 5, y + 2, z, wood);
world.setBlockWithNotify(x + 6, y + 3, z, wood);
world.setBlockWithNotify(x + 7, y , z, wood);
world.setBlockWithNotify(x + 7, y + 1, z, wood);
world.setBlockWithNotify(x + 7, y + 2, z, wood);
world.setBlockWithNotify(x + 7, y + 3, z, wood);
// enterance wall
world.setBlockWithNotify(x, y , z + 5, wood);
world.setBlockWithNotify(x, y + 1, z + 5, wood);
world.setBlockWithNotify(x, y + 2, z + 5, wood);
world.setBlockWithNotify(x, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 1, y , z + 5, wood);
world.setBlockWithNotify(x + 1, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 1, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 1, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 2, y , z + 5, wood);
world.setBlockWithNotify(x + 2, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 2, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 2, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 3, y , z + 5, wood);
world.setBlockWithNotify(x + 3, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 3, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 3, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 4, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 4, y, z + 5, wood);
world.setBlockWithNotify(x + 4, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 4, y + 1, z + 5, wood);
//door (MUST HAVE THIS EXACT METHOD!)
ItemDoor.placeDoorBlock(world, x + 4, y + 1, z, 1, Block.doorWood);
world.setBlockWithNotify(x + 5, y , z + 5, wood);
world.setBlockWithNotify(x + 5, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 5, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 5, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 6, y , z + 5, wood);
world.setBlockWithNotify(x + 6, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 6, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 6, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 7, y , z + 5, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 5, wood);
//right wall
world.setBlockWithNotify(x, y , z + 1, wood);
world.setBlockWithNotify(x, y + 1, z + 1, wood);
world.setBlockWithNotify(x, y + 2, z + 1, wood);
world.setBlockWithNotify(x, y + 3, z + 1, wood);
world.setBlockWithNotify(x, y , z + 2, wood);
world.setBlockWithNotify(x, y + 1, z + 2, wood);
world.setBlockWithNotify(x, y + 2, z + 2, wood);
world.setBlockWithNotify(x, y + 3, z + 2, wood);
world.setBlockWithNotify(x, y , z + 3, wood);
world.setBlockWithNotify(x, y + 1, z + 3, wood);
world.setBlockWithNotify(x, y + 2, z + 3, wood);
world.setBlockWithNotify(x, y + 3, z + 3, wood);
world.setBlockWithNotify(x, y + 1, z + 4, wood);
world.setBlockWithNotify(x, y + 2, z + 4, wood);
world.setBlockWithNotify(x, y + 3, z + 4, wood);
world.setBlockWithNotify(x, y, z + 4, wood);
world.setBlockWithNotify(x, y , z + 5, wood);
world.setBlockWithNotify(x, y + 1, z + 5, wood);
world.setBlockWithNotify(x, y + 2, z + 5, wood);
world.setBlockWithNotify(x, y + 3, z + 5, wood);
//left wall
world.setBlockWithNotify(x + 7, y , z + 1, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 1, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 1, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 1, wood);
world.setBlockWithNotify(x + 7, y , z + 2, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 2, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 2, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 2, wood);
world.setBlockWithNotify(x + 7, y , z + 3, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 3, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 3, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 3, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 4, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 4, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 4, wood);
world.setBlockWithNotify(x + 7, y, z + 4, wood);
world.setBlockWithNotify(x + 7, y , z + 5, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 5, wood);
//floor
world.setBlockWithNotify(x + 6, y , z + 1, planks);
world.setBlockWithNotify(x + 6, y , z + 2, planks);
world.setBlockWithNotify(x + 6, y , z + 3, planks);
world.setBlockWithNotify(x + 6, y , z + 4, planks);
world.setBlockWithNotify(x + 5, y , z + 1, planks);
world.setBlockWithNotify(x + 5, y , z + 2, planks);
world.setBlockWithNotify(x + 5, y , z + 3, planks);
world.setBlockWithNotify(x + 5, y , z + 4, planks);
world.setBlockWithNotify(x + 4, y , z + 1, planks);
world.setBlockWithNotify(x + 4, y , z + 2, planks);
world.setBlockWithNotify(x + 4, y , z + 3, planks);
world.setBlockWithNotify(x + 4, y , z + 4, planks);
world.setBlockWithNotify(x + 3, y , z + 1, planks);
world.setBlockWithNotify(x + 3, y , z + 2, planks);
world.setBlockWithNotify(x + 3, y , z + 3, planks);
world.setBlockWithNotify(x + 3, y , z + 4, planks);
world.setBlockWithNotify(x + 3, y + 1, z + 4, Block.mobSpawner.blockID);
TileEntityMobSpawner tileentitymobspawner11 = (TileEntityMobSpawner)world.getBlockTileEntity(x + 3, y + 1, z + 4);
if (tileentitymobspawner11 != null)
{
tileentitymobspawner11.setMobID(pickMobSpawner(rand));
}
world.setBlockWithNotify(x + 2, y + 1, z + 4, Block.chest.blockID);
TileEntityChest chest2 = new TileEntityChest();
world.setBlockTileEntity(x + 2, y + 1, z + 4, chest2);
if (num == 1){
chest2.setInventorySlotContents(slot, new ItemStack(Block.torchWood));
}
if (num == 2){
chest2.setInventorySlotContents(slot, new ItemStack(Block.cobblestone));
}
if (num == 5){
chest2.setInventorySlotContents(slot, new ItemStack(Item.beefCooked));
}
if (num == 6){
chest2.setInventorySlotContents(slot, new ItemStack(Item.ingotIron));
}
if (num == 7){
chest2.setInventorySlotContents(slot, new ItemStack(Item.appleRed));
}
if (num == 8){
chest2.setInventorySlotContents(slot, new ItemStack(mod_fireforest.fireGem));
}
}
world.setBlockWithNotify(x + 2, y , z + 1, planks);
world.setBlockWithNotify(x + 2, y , z + 2, planks);
world.setBlockWithNotify(x + 2, y , z + 3, planks);
world.setBlockWithNotify(x + 2, y , z + 4, planks);
world.setBlockWithNotify(x + 1, y , z + 1, planks);
world.setBlockWithNotify(x + 1, y , z + 2, planks);
world.setBlockWithNotify(x + 1, y , z + 3, planks);
world.setBlockWithNotify(x + 1, y , z + 4, planks);
//roof
world.setBlockWithNotify(x + 6, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 6, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 6, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 6, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 5, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 5, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 5, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 5, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 4, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 4, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 4, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 4, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 3, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 3, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 3, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 3, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 2, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 2, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 2, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 2, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 1, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 1, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 1, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 1, y + 3, z + 4, planks);
//roof top
world.setBlockWithNotify(x + 6, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 6, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 6, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 6, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 5, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 5, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 5, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 5, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 4, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 4, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 4, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 4, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 3, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 3, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 3, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 3, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 2, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 2, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 2, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 2, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 1, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 1, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 1, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 1, y + 4, z + 4, wood);
//workspace
world.setBlockWithNotify(x + 6, y + 1, z + 4, workbench);
world.setBlockWithNotify(x + 6, y + 1, z + 3, furnace);
//furncace chimney
world.setBlockWithNotify(x + 6, y + 2, z + 3, bricks);
world.setBlockWithNotify(x + 6, y + 3, z + 3, bricks);
world.setBlockWithNotify(x + 6, y + 4, z + 3, bricks);
world.setBlockWithNotify(x + 6, y + 5, z + 3, bricks);
world.setBlockWithNotify(x + 6, y + 6, z + 3, bricks);
//glass windows
world.setBlockWithNotify(x + 7, y + 2, z + 3, glass);
world.setBlockWithNotify(x + 7, y + 2, z + 2, glass);
return true;
}
private String pickMobSpawner(Random par1Random)
{
int i = par1Random.nextInt(2);
if (i == 0)
{
return "Skeleton";
}
if (i == 1)
{
return "Creeper";
}
else
{
return "Zombie";
}
}
}
//EDIT: whoops, sorry for spamming your forum, I didn't know it would be that long o_o
Well there's nothing left to do. So who cares if there is two extractors.
Yea. Goodluck with your mod.
find the file you'r looking for.
My name is not derived of the same orgin as his.
I will check this out.
Its fixed. Only Ender Drop is left to fix.
It still won't let me download it,I'm trying to make a better mod review,that one was crappy,(You know,the one I first did.)
My name is not derived of the same orgin as his.
I'm sorry, now it is fixed.
Cool idea but won't work.
Sorry, I stopped it. It got way too messy and is unbearable for me since I am the only person on the team. I am in fact making a new dimension mod called "Campfire Legends" I will give more info when I think the mod has had more progress.
Sorry, I will nerf the food lowering rate in the update at 1.3.
MYTHCRAFT
A GREAT MOD
MAY IT NEVER BE FORGOTTEN
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
import java.util.Random;
import java.io.PrintStream;
public class WorldGenFireDungeon extends WorldGenerator
{
public WorldGenFireDungeon()
{
}
public boolean generate(World world, Random rand, int x, int y, int z)
{
if(world.getBlockId(x, y, z)!= Block.grass.blockID || world.getBlockId(x, y + 1, z)!= 0)
{
return false;
}
int bricks = Block.brick.blockID;
int wood = Block.wood.blockID;
int glass = Block.thinGlass.blockID;
int planks = Block.planks.blockID;
int workbench = Block.workbench.blockID;
int furnace = Block.stoneOvenIdle.blockID;
// back wall
world.setBlockWithNotify(x, y , z, wood);
world.setBlockWithNotify(x, y + 1, z, wood);
world.setBlockWithNotify(x, y + 2, z, wood);
world.setBlockWithNotify(x, y + 3, z, wood);
world.setBlockWithNotify(x + 1, y , z, wood);
world.setBlockWithNotify(x + 1, y + 1, z, wood);
world.setBlockWithNotify(x + 1, y + 2, z, wood);
world.setBlockWithNotify(x + 1, y + 3, z, wood);
world.setBlockWithNotify(x + 2, y , z, wood);
world.setBlockWithNotify(x + 2, y + 1, z, wood);
world.setBlockWithNotify(x + 2, y + 2, z, wood);
world.setBlockWithNotify(x + 2, y + 3, z, wood);
world.setBlockWithNotify(x + 3, y , z, wood);
world.setBlockWithNotify(x + 3, y + 1, z, wood);
world.setBlockWithNotify(x + 3, y + 2, z, wood);
world.setBlockWithNotify(x + 3, y + 3, z, wood);
world.setBlockWithNotify(x + 4, y , z, wood);
world.setBlockWithNotify(x + 4, y + 1, z, wood);
world.setBlockWithNotify(x + 4, y + 2, z, wood);
world.setBlockWithNotify(x + 4, y + 3, z, wood);
world.setBlockWithNotify(x + 5, y , z, wood);
world.setBlockWithNotify(x + 5, y + 1, z, wood);
world.setBlockWithNotify(x + 5, y + 2, z, wood);
world.setBlockWithNotify(x + 5, y + 3, z, wood);
world.setBlockWithNotify(x + 6, y , z, wood);
world.setBlockWithNotify(x + 6, y + 1, z, wood);
world.setBlockWithNotify(x + 6, y + 2, z, wood);
world.setBlockWithNotify(x + 5, y + 2, z, wood);
world.setBlockWithNotify(x + 6, y + 3, z, wood);
world.setBlockWithNotify(x + 7, y , z, wood);
world.setBlockWithNotify(x + 7, y + 1, z, wood);
world.setBlockWithNotify(x + 7, y + 2, z, wood);
world.setBlockWithNotify(x + 7, y + 3, z, wood);
// enterance wall
world.setBlockWithNotify(x, y , z + 5, wood);
world.setBlockWithNotify(x, y + 1, z + 5, wood);
world.setBlockWithNotify(x, y + 2, z + 5, wood);
world.setBlockWithNotify(x, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 1, y , z + 5, wood);
world.setBlockWithNotify(x + 1, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 1, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 1, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 2, y , z + 5, wood);
world.setBlockWithNotify(x + 2, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 2, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 2, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 3, y , z + 5, wood);
world.setBlockWithNotify(x + 3, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 3, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 3, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 4, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 4, y, z + 5, wood);
world.setBlockWithNotify(x + 4, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 4, y + 1, z + 5, wood);
//door (MUST HAVE THIS EXACT METHOD!)
ItemDoor.placeDoorBlock(world, x + 4, y + 1, z, 1, Block.doorWood);
world.setBlockWithNotify(x + 5, y , z + 5, wood);
world.setBlockWithNotify(x + 5, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 5, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 5, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 6, y , z + 5, wood);
world.setBlockWithNotify(x + 6, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 6, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 6, y + 3, z + 5, wood);
world.setBlockWithNotify(x + 7, y , z + 5, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 5, wood);
//right wall
world.setBlockWithNotify(x, y , z + 1, wood);
world.setBlockWithNotify(x, y + 1, z + 1, wood);
world.setBlockWithNotify(x, y + 2, z + 1, wood);
world.setBlockWithNotify(x, y + 3, z + 1, wood);
world.setBlockWithNotify(x, y , z + 2, wood);
world.setBlockWithNotify(x, y + 1, z + 2, wood);
world.setBlockWithNotify(x, y + 2, z + 2, wood);
world.setBlockWithNotify(x, y + 3, z + 2, wood);
world.setBlockWithNotify(x, y , z + 3, wood);
world.setBlockWithNotify(x, y + 1, z + 3, wood);
world.setBlockWithNotify(x, y + 2, z + 3, wood);
world.setBlockWithNotify(x, y + 3, z + 3, wood);
world.setBlockWithNotify(x, y + 1, z + 4, wood);
world.setBlockWithNotify(x, y + 2, z + 4, wood);
world.setBlockWithNotify(x, y + 3, z + 4, wood);
world.setBlockWithNotify(x, y, z + 4, wood);
world.setBlockWithNotify(x, y , z + 5, wood);
world.setBlockWithNotify(x, y + 1, z + 5, wood);
world.setBlockWithNotify(x, y + 2, z + 5, wood);
world.setBlockWithNotify(x, y + 3, z + 5, wood);
//left wall
world.setBlockWithNotify(x + 7, y , z + 1, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 1, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 1, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 1, wood);
world.setBlockWithNotify(x + 7, y , z + 2, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 2, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 2, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 2, wood);
world.setBlockWithNotify(x + 7, y , z + 3, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 3, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 3, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 3, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 4, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 4, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 4, wood);
world.setBlockWithNotify(x + 7, y, z + 4, wood);
world.setBlockWithNotify(x + 7, y , z + 5, wood);
world.setBlockWithNotify(x + 7, y + 1, z + 5, wood);
world.setBlockWithNotify(x + 7, y + 2, z + 5, wood);
world.setBlockWithNotify(x + 7, y + 3, z + 5, wood);
//floor
world.setBlockWithNotify(x + 6, y , z + 1, planks);
world.setBlockWithNotify(x + 6, y , z + 2, planks);
world.setBlockWithNotify(x + 6, y , z + 3, planks);
world.setBlockWithNotify(x + 6, y , z + 4, planks);
world.setBlockWithNotify(x + 5, y , z + 1, planks);
world.setBlockWithNotify(x + 5, y , z + 2, planks);
world.setBlockWithNotify(x + 5, y , z + 3, planks);
world.setBlockWithNotify(x + 5, y , z + 4, planks);
world.setBlockWithNotify(x + 4, y , z + 1, planks);
world.setBlockWithNotify(x + 4, y , z + 2, planks);
world.setBlockWithNotify(x + 4, y , z + 3, planks);
world.setBlockWithNotify(x + 4, y , z + 4, planks);
world.setBlockWithNotify(x + 3, y , z + 1, planks);
world.setBlockWithNotify(x + 3, y , z + 2, planks);
world.setBlockWithNotify(x + 3, y , z + 3, planks);
world.setBlockWithNotify(x + 3, y , z + 4, planks);
world.setBlockWithNotify(x + 3, y + 1, z + 4, Block.mobSpawner.blockID);
TileEntityMobSpawner tileentitymobspawner11 = (TileEntityMobSpawner)world.getBlockTileEntity(x + 3, y + 1, z + 4);
if (tileentitymobspawner11 != null)
{
tileentitymobspawner11.setMobID(pickMobSpawner(rand));
}
world.setBlockWithNotify(x + 2, y + 1, z + 4, Block.chest.blockID);
TileEntityChest chest2 = new TileEntityChest();
world.setBlockTileEntity(x + 2, y + 1, z + 4, chest2);
Random random = new Random();
for(int slot = 0; slot < chest2.getSizeInventory(); slot++){
int num = random.nextInt(30);
if (num == 1){
chest2.setInventorySlotContents(slot, new ItemStack(Block.torchWood));
}
if (num == 2){
chest2.setInventorySlotContents(slot, new ItemStack(Block.cobblestone));
}
if (num == 5){
chest2.setInventorySlotContents(slot, new ItemStack(Item.beefCooked));
}
if (num == 6){
chest2.setInventorySlotContents(slot, new ItemStack(Item.ingotIron));
}
if (num == 7){
chest2.setInventorySlotContents(slot, new ItemStack(Item.appleRed));
}
if (num == 8){
chest2.setInventorySlotContents(slot, new ItemStack(mod_fireforest.fireGem));
}
}
world.setBlockWithNotify(x + 2, y , z + 1, planks);
world.setBlockWithNotify(x + 2, y , z + 2, planks);
world.setBlockWithNotify(x + 2, y , z + 3, planks);
world.setBlockWithNotify(x + 2, y , z + 4, planks);
world.setBlockWithNotify(x + 1, y , z + 1, planks);
world.setBlockWithNotify(x + 1, y , z + 2, planks);
world.setBlockWithNotify(x + 1, y , z + 3, planks);
world.setBlockWithNotify(x + 1, y , z + 4, planks);
//roof
world.setBlockWithNotify(x + 6, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 6, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 6, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 6, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 5, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 5, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 5, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 5, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 4, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 4, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 4, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 4, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 3, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 3, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 3, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 3, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 2, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 2, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 2, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 2, y + 3, z + 4, planks);
world.setBlockWithNotify(x + 1, y + 3, z + 1, planks);
world.setBlockWithNotify(x + 1, y + 3, z + 2, planks);
world.setBlockWithNotify(x + 1, y + 3, z + 3, planks);
world.setBlockWithNotify(x + 1, y + 3, z + 4, planks);
//roof top
world.setBlockWithNotify(x + 6, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 6, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 6, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 6, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 5, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 5, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 5, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 5, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 4, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 4, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 4, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 4, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 3, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 3, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 3, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 3, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 2, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 2, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 2, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 2, y + 4, z + 4, wood);
world.setBlockWithNotify(x + 1, y + 4, z + 1, wood);
world.setBlockWithNotify(x + 1, y + 4, z + 2, wood);
world.setBlockWithNotify(x + 1, y + 4, z + 3, wood);
world.setBlockWithNotify(x + 1, y + 4, z + 4, wood);
//workspace
world.setBlockWithNotify(x + 6, y + 1, z + 4, workbench);
world.setBlockWithNotify(x + 6, y + 1, z + 3, furnace);
//furncace chimney
world.setBlockWithNotify(x + 6, y + 2, z + 3, bricks);
world.setBlockWithNotify(x + 6, y + 3, z + 3, bricks);
world.setBlockWithNotify(x + 6, y + 4, z + 3, bricks);
world.setBlockWithNotify(x + 6, y + 5, z + 3, bricks);
world.setBlockWithNotify(x + 6, y + 6, z + 3, bricks);
//glass windows
world.setBlockWithNotify(x + 7, y + 2, z + 3, glass);
world.setBlockWithNotify(x + 7, y + 2, z + 2, glass);
return true;
}
private String pickMobSpawner(Random par1Random)
{
int i = par1Random.nextInt(2);
if (i == 0)
{
return "Skeleton";
}
if (i == 1)
{
return "Creeper";
}
else
{
return "Zombie";
}
}
}
//EDIT: whoops, sorry for spamming your forum, I didn't know it would be that long o_o