All users will need to merge their Minecraft Forum account with a new or existing Twitch account starting October 23rd. You can merge your accounts by clicking here. Have questions? Learn more here.
Dismiss
  • 0

    posted a message on AoA--21 New Dimensions• 330 Mobs• 27 Bosses• Skills• Quests• 600+Items•- (Beware of Biomes! March 9th, 2016)

    It doesnt list as many mods. The mod list page has a lot more. Ill bookmark that one too though, in case it has some the other doesnt.
    Posted in: Minecraft Mods
  • 0

    posted a message on AoA--21 New Dimensions• 330 Mobs• 27 Bosses• Skills• Quests• 600+Items•- (Beware of Biomes! March 9th, 2016)

    The link is just a list of mods, easy to view/navigate for each version of minecraft, its where it's the best place I've found for browsing mods. Is there a more standard/trusted place?

    Posted in: Minecraft Mods
  • 0

    posted a message on AoA--21 New Dimensions• 330 Mobs• 27 Bosses• Skills• Quests• 600+Items•- (Beware of Biomes! March 9th, 2016)

    This is on http://modlist.mcf.li/ as a 1.7.2 mod, but it is not, correct? I can't find anything anywhere that says 1.7.2 for this mod. but I wanted to ask to make sure I am not missing anything

    Posted in: Minecraft Mods
  • 0

    posted a message on The Agricultural Revolution (ver 0.9.1) Reinventing Cooking and Farming, Power of Crystals Update

    I place the Lobster Cage down, and right click it with Kelp, but nothing happens. I have it placed right, since it won't let you place it wrong. Is assume the help is suppose to reduce in quantity when you use it right?

    Posted in: WIP Mods
  • 0

    posted a message on Custom Mob render with spear

    Thanks sky :) I've been poking around the golem code and the render code. I've got the custom mob to hold a block, but I cannot figure out how to get it to hold an item. I'm reading over RenderLiving code at the moment. At the very least, I should be able to make a new block with 5 clear sides and 1 side with a spear drawn on it. But give me a day or two to try to figure out how to make it hold an actual item instead of a block, if I can't figure it out, I'll be back :)


    For now, it's bed time though, being tired doesn't help one bit lol


    Thank both of you for the help.

    Posted in: Modification Development
  • 0

    posted a message on Eager to start modding...

    Nice link, I like the youtube videos for 1.7, has some stuff not many other people have. I started off with MrCrayfish's tutorials, that helped me understand a lot of the basics. I can't do anything fancy yet without watching more tutorials or poking at other peoples code, but it did give a good basic undertstand because he goes slower and explains.

    Posted in: Modification Development
  • 0

    posted a message on Structure Generation Help

    http://septoxel.wix.com/forgingmc#!structure-generation/c17uy


    that is the tutorial i followed, there a few things I had to do differently , like go in and set all the 0's that were suppose to be air to Blocks.air. And comment out "//if(b1.isAir(world, x, y, z) || b1.isLeaves(world, x, y, z))" and //k = k - 10; //i = i - 10;"


    Now mine spawn fine.


    This is the tutorial I followed for Ore Gen, its basically the same, except you dont want the MinY, vein size and all that, you just want
    public void generateStructure(World world, Random random, int chunkX, int chunkZ, int chance, int height)

    Also, when I made mine I had a hard time setting the randomness to an acceptable number. I had to use a random number generator, then decide what % of the time I wanted to to spawn, and check to see if the random int was lower than that value. Hope this helps, im a noob at this, but want to be as helpful as I can when I "think" I know how to help lol


    Posted in: Modification Development
  • 0

    posted a message on Custom Mob render with spear

    Tried, but didnt work, still attacks the player. Guess I may have to learn the harder way to get items rendering lol

    Posted in: Modification Development
  • 0

    posted a message on Custom Mob render with spear

    Been trying to get my custom mob to render holding a spear. The easiest way I've found is to extend EntitySkeleton, Override the onLivingUpdate so it doesnt burn in the day time. However, I do not want it to attack the player. I took out the AITask that involve the player, but the Mob still attacks the player. It does follow the rest of the AI task when not attacking a player though. It goes after all the other custom mobs I have it set to attack. Is it possible to get it to stop targeting the player? What file would I need to look at to get a better understanding of stopping the attacks?

    Posted in: Modification Development
  • 0

    posted a message on How Do You Create Mods

    I started with 1.7.10 MrCrayfish's tutorials, then techgeek's. You can browse github too if you are stuck trying to do something, and read some code and try to understand what it is doing.

    Posted in: Modification Development
  • 2

    posted a message on Looking for someone to create a mod (I got a cool idea and looking for some one to build it)

    They have mods like Mob Control Spawn and Mob Crop Drops, to remove mobs, and still get their drops

    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Wooden Door not visable, but still useable

    I made a structure that spawns in the world, everything works great except the door is there, but invisible. Any ideas why? The door block is at the very bottom of the code.



    /*
    *** MADE BY MRPONYCAPTAIN'S .SCHEMATIC TO .JAVA CONVERTING TOOL v2.0 ***
    */
    
    package projectmayhem1983.wheeloftime.structures;
    
    import java.util.Random;
    
    import cpw.mods.fml.common.IWorldGenerator;
    import net.minecraft.block.Block;
    import net.minecraft.init.Blocks;
    import net.minecraft.world.World;
    import net.minecraft.world.chunk.IChunkProvider;
    import net.minecraft.world.gen.feature.WorldGenerator;
    import projectmayhem1983.wheeloftime.init.WheelOfTimeBlocks;
    
    public class stasishouse extends WorldGenerator implements IWorldGenerator
    {
    	protected Block[] getValidSpawnBlocks() {
    		return new Block[] {
    			Blocks.grass
    		};
    	}
    
    	public boolean locationIsValidSpawn(World world, int i, int j, int k){
    		int distanceToAir = 0;
    		Block check = world.getBlock(i, j, k);
    
    		while (check != Blocks.air){
    			if (distanceToAir > 0){
    				return false;
    			}
    
    			distanceToAir++;
    			check = world.getBlock(i, j + distanceToAir, k);
    		}
    
    		j += distanceToAir - 1;
    
    		Block block = world.getBlock(i, j, k);
    		Block blockAbove = world.getBlock(i, j+1, k);
    		Block blockBelow = world.getBlock(i, j-1, k);
    		
    		for (Block x : getValidSpawnBlocks()){
    			if (blockAbove != Blocks.air){
    				return false;
    			}
    			if (block == x){
    				return true;
    			}else if (block == Blocks.snow && blockBelow == x){
    				return true;
    			}
    		}
    		
    		return false;
    	}
    
    	public stasishouse() { }
    
    	@Override
    	public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { }
    
    	public void setBlock(World world, int x, int y, int z, Block block, int metadata)
    	{
    		Block b1 = world.getBlock(x, y, z);
    
    		//if(b1.isAir(world, x, y, z) || b1.isLeaves(world, x, y, z))
    		{
    			world.setBlock(x, y, z, block, metadata, 2);
    		}
    	}
    
    	public boolean generate(World world, Random rand, int i, int j, int k) {
    		//check that each corner is one of the valid spawn blocks
    		if(!locationIsValidSpawn(world, i, j, k) || !locationIsValidSpawn(world, i + 5, j, k) || !locationIsValidSpawn(world, i + 5, j, k + 8) || !locationIsValidSpawn(world, i, j, k + 8))
    		{
    			return false;
    		}
    
    		//k = k - 10;
    		//i = i - 10;
    
    		this.setBlock(world, i + 0, j + 0, k + 0,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 0, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 0, k + 2, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 0, k + 3, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 0, k + 5, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 0, k + 6, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 0, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 0, k + 8,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 1, k + 0,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 1, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 1, k + 2, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 1, k + 3, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 1, k + 5, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 1, k + 6, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 1, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 1, k + 8,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 2, k + 0, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 0, j + 2, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 2, k + 2, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 2, k + 3, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 2, k + 4, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 2, k + 5, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 2, k + 6, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 2, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 0, j + 2, k + 8, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 0, j + 3, k + 0,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 3, k + 1, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 0, j + 3, k + 2, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 0, j + 3, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 0, j + 3, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 0, j + 3, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 0, j + 3, k + 6, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 0, j + 3, k + 7, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 0, j + 3, k + 8,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 4, k + 0,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 4, k + 1,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 4, k + 2, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 0, j + 4, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 0, j + 4, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 0, j + 4, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 0, j + 4, k + 6, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 0, j + 4, k + 7,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 4, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 5, k + 0,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 5, k + 1,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 5, k + 2,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 5, k + 3, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 0, j + 5, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 0, j + 5, k + 5, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 0, j + 5, k + 6,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 5, k + 7,Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 5, k + 8,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 0, k + 0,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 0, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 1, j + 0, k + 2,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 0, k + 3,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 0, k + 4,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 0, k + 5,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 0, k + 6,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 0, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 1, j + 0, k + 8,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 1, k + 0,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 1, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 1, j + 1, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 1, k + 3,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 1, k + 4,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 1, k + 5,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 1, k + 6,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 1, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 1, j + 1, k + 8,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 2, k + 0, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 1, j + 2, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 1, j + 2, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 2, k + 3,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 2, k + 4,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 2, k + 5,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 2, k + 6,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 2, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 1, j + 2, k + 8, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 1, j + 3, k + 0,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 3, k + 1, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 1, j + 3, k + 2, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 1, j + 3, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 1, j + 3, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 1, j + 3, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 1, j + 3, k + 6, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 1, j + 3, k + 7, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 1, j + 3, k + 8,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 4, k + 0,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 4, k + 1,Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 4, k + 2, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 1, j + 4, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 1, j + 4, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 1, j + 4, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 1, j + 4, k + 6, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 1, j + 4, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 4, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 5, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 5, k + 1, Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 5, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 5, k + 3, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 1, j + 5, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 1, j + 5, k + 5, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 1, j + 5, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 5, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 1, j + 5, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 0, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 0, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 2, j + 0, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 0, k + 3, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 0, k + 4, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 0, k + 5, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 0, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 0, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 2, j + 0, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 1, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 1, k + 1, Blocks.glass, 0);
    		this.setBlock(world, i + 2, j + 1, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 1, k + 3, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 1, k + 4, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 1, k + 5, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 1, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 1, k + 7, Blocks.glass, 0);
    		this.setBlock(world, i + 2, j + 1, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 2, k + 0, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 2, j + 2, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 2, j + 2, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 2, k + 3, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 2, k + 4, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 2, k + 5, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 2, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 2, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 2, j + 2, k + 8, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 2, j + 3, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 3, k + 1, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 2, j + 3, k + 2, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 2, j + 3, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 2, j + 3, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 2, j + 3, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 2, j + 3, k + 6, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 2, j + 3, k + 7, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 2, j + 3, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 4, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 4, k + 1, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 4, k + 2, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 2, j + 4, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 2, j + 4, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 2, j + 4, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 2, j + 4, k + 6, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 2, j + 4, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 4, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 5, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 5, k + 1, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 5, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 5, k + 3, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 2, j + 5, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 2, j + 5, k + 5, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 2, j + 5, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 5, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 2, j + 5, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 0, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 0, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 3, j + 0, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 0, k + 3, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 0, k + 4, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 0, k + 5, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 0, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 0, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 3, j + 0, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 1, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 1, k + 1, Blocks.glass, 0);
    		this.setBlock(world, i + 3, j + 1, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 1, k + 3, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 1, k + 4, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 1, k + 5, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 1, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 1, k + 7, Blocks.glass, 0);
    		this.setBlock(world, i + 3, j + 1, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 2, k + 0, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 3, j + 2, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 3, j + 2, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 2, k + 3, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 2, k + 4, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 2, k + 5, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 2, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 2, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 3, j + 2, k + 8, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 3, j + 3, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 3, k + 1, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 3, j + 3, k + 2, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 3, j + 3, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 3, j + 3, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 3, j + 3, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 3, j + 3, k + 6, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 3, j + 3, k + 7, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 3, j + 3, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 4, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 4, k + 1, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 4, k + 2, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 3, j + 4, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 3, j + 4, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 3, j + 4, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 3, j + 4, k + 6, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 3, j + 4, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 4, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 5, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 5, k + 1, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 5, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 5, k + 3, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 3, j + 5, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 3, j + 5, k + 5, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 3, j + 5, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 5, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 3, j + 5, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 0, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 0, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 4, j + 0, k + 2, WheelOfTimeBlocks.blockStasisbox, 0);
    		this.setBlock(world, i + 4, j + 0, k + 3, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 0, k + 4, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 0, k + 5, Blocks.bed, 0);
    		this.setBlock(world, i + 4, j + 0, k + 6, Blocks.bed, 8);
    		this.setBlock(world, i + 4, j + 0, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 4, j + 0, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 1, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 1, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 4, j + 1, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 1, k + 3, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 1, k + 4, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 1, k + 5, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 1, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 1, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 4, j + 1, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 2, k + 0, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 4, j + 2, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 4, j + 2, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 2, k + 3, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 2, k + 4, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 2, k + 5, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 2, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 2, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 4, j + 2, k + 8, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 4, j + 3, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 3, k + 1, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 4, j + 3, k + 2, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 4, j + 3, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 4, j + 3, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 4, j + 3, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 4, j + 3, k + 6, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 4, j + 3, k + 7, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 4, j + 3, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 4, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 4, k + 1, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 4, k + 2, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 4, j + 4, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 4, j + 4, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 4, j + 4, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 4, j + 4, k + 6, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 4, j + 4, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 4, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 5, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 5, k + 1, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 5, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 5, k + 3, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 4, j + 5, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 4, j + 5, k + 5, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 4, j + 5, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 5, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 4, j + 5, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 0, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 0, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 0, k + 2, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 0, k + 3, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 0, k + 4, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 0, k + 5, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 0, k + 6, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 0, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 0, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 1, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 1, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 1, k + 2, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 1, k + 3, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 1, k + 4, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 1, k + 5, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 1, k + 6, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 1, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 1, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 2, k + 0, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 5, j + 2, k + 1, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 2, k + 2, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 2, k + 3, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 2, k + 4, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 2, k + 5, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 2, k + 6, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 2, k + 7, Blocks.planks, 2);
    		this.setBlock(world, i + 5, j + 2, k + 8, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 5, j + 3, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 3, k + 1, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 5, j + 3, k + 2, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 5, j + 3, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 5, j + 3, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 5, j + 3, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 5, j + 3, k + 6, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 5, j + 3, k + 7, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 5, j + 3, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 4, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 4, k + 1, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 4, k + 2, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 5, j + 4, k + 3, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 5, j + 4, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 5, j + 4, k + 5, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 5, j + 4, k + 6, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 5, j + 4, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 4, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 5, k + 0, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 5, k + 1, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 5, k + 2, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 5, k + 3, Blocks.stone_stairs, 2);
    		this.setBlock(world, i + 5, j + 5, k + 4, Blocks.cobblestone, 0);
    		this.setBlock(world, i + 5, j + 5, k + 5, Blocks.stone_stairs, 3);
    		this.setBlock(world, i + 5, j + 5, k + 6, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 5, k + 7, Blocks.air, 0);
    		this.setBlock(world, i + 5, j + 5, k + 8, Blocks.air, 0);
    		this.setBlock(world, i + 0, j + 0, k + 4, Blocks.wooden_door, 0);
    		world.setBlockMetadataWithNotify(i + 0, j + 1, k + 4, 8, 2);
    
    		return true;
    	}
    }



    Posted in: Modification Development
  • 0

    posted a message on Getting eclipse to run in debug mode

    Nope, I havent done anything except click Run Debug in both client and server mode. Neither works. Let me look up single step mode and see if that is an issue

    Posted in: Modification Development
  • 0

    posted a message on Getting eclipse to run in debug mode

    I been trying to get eclipse to run my mod in debug mode so I can adjust my rendered weapons, however, when i click debug, minecraft launches, but gets stuck not-responding. Is there anything I am suppose to set or change to get it running correctly?

    Posted in: Modification Development
  • 0

    posted a message on Using onUpdate to give a sword enchantments

    I'm using onUpdate to try and give an item two enchantments. The Item is uncraftable, found only in random Stasis Boxes that generate buried under the ground. However, once I get one from the box, it never enchants, should I only be giving it on enchant or can I do multiple enchants?


    package projectmayhem1983.wheeloftime.item;
    
    import net.minecraft.enchantment.Enchantment;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.item.ItemStack;
    import net.minecraft.item.ItemSword;
    import net.minecraft.world.World;
    
    public class ItemHeronSword extends ItemSword {
    
    	public ItemHeronSword(ToolMaterial material) {
    		super(material);
    		this.setFull3D();
    	}
    public void onUpdate(ItemStack stack, World world, EntityPlayer player) {
    		if (!stack.isItemEnchanted()) {
    			stack.addEnchantment(Enchantment.sharpness, 3);
    			stack.addEnchantment(Enchantment.unbreaking, 3);
    		}
    	}
    }





    I do not know if you need to know how the sword is generating , but here is the code from my stasis box that generates a random item. From what I've been reading on the forums and seen from watching tutorials, this should work. Unless I should be using just one enchantment, right?



    package projectmayhem1983.wheeloftime.init;
    
    import net.minecraft.init.Blocks;
    import net.minecraft.init.Items;
    import net.minecraft.item.ItemStack;
    import net.minecraft.util.WeightedRandomChestContent;
    import net.minecraftforge.common.ChestGenHooks;
    
    public class WheelOfTimeStasisBox {
    	
    	
    	 		public static final ChestGenHooks RIGHT_CLICK_LOOT_BLOCK = ChestGenHooks.getInfo("wot:Stasis Box");
    	 		 
    	 		 	public static void initLoot() {
    	 		 		RIGHT_CLICK_LOOT_BLOCK.setMin(5);
    	 		 		RIGHT_CLICK_LOOT_BLOCK.setMax(20);
    	 		 
    	 		 		// new WeightedRandomChestContent(item, minAmount, maxAmount, weight)
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.fishing_rod), 1, 1, 10));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.map), 1, 1, 10));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(WheelOfTimeItems.itemFountainta), 1, 1, 1));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.diamond), 1, 3, 5));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.emerald), 1, 3, 5));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.apple), 1, 5, 10));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.arrow), 1, 15, 10));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.blaze_rod), 1, 1, 5));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.book), 1, 15, 10));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.clock), 1, 1, 10));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.compass), 1, 1, 10));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.diamond_axe), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.diamond_sword), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.diamond_hoe), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.diamond_pickaxe), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.diamond_boots), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.diamond_chestplate), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.diamond_helmet), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.diamond_leggings), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.experience_bottle), 1, 20, 10));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Blocks.daylight_detector), 1, 1, 20));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(WheelOfTimeTools.powerAxe), 1, 1, 10));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(WheelOfTimeTools.heronsword), 1, 1, 100));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.fireworks), 1, 20, 20));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(WheelOfTimeTools.ashandarei), 1, 1, 1));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.golden_carrot), 1, 5, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Items.golden_apple), 1, 5, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(Blocks.diamond_block), 1, 1, 1));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(WheelOfTimeItems.itemAngelta), 1, 1, 1));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(WheelOfTimeItems.itemFountainta), 1, 1, 1));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(WheelOfTimeBlocks.blockCuendillar), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(WheelOfTimeArmor.whitecloakChest), 1, 1, 3));
    	 		 		RIGHT_CLICK_LOOT_BLOCK.addItem(new WeightedRandomChestContent(new ItemStack(WheelOfTimeTools.powerSword), 1, 1, 3));
    	 		 		
    
    	 		 		
    	 		 		
    	 		 	}
    	 		 }



    Posted in: Modification Development
  • To post a comment, please or register a new account.