Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hey can you please help me, i followed your tutorial but this keeps happening:
- Exception in thread "main" java.lang.Error: Unresolved compilation problems:
- The import paulscode.sound.SoundSystem cannot be resolved
- The import paulscode.sound.SoundSystemConfig cannot be resolved
- The import paulscode.sound.codecs.CodecJOrbis cannot be resolved
- The import paulscode.sound.codecs.CodecWav cannot be resolved
- The import paulscode.sound.libraries cannot be resolved
- SoundSystem cannot be resolved to a type
- SoundSystemConfig cannot be resolved
- LibraryLWJGLOpenAL cannot be resolved to a type
- SoundSystemConfig cannot be resolved
- CodecJOrbis cannot be resolved to a type
- SoundSystemConfig cannot be resolved
- SoundSystemConfig cannot be resolved
- CodecWav cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- SoundSystem cannot be resolved to a type
- at net.minecraft.src.SoundManager.<init>(SoundManager.java:8)
- at net.minecraft.client.Minecraft.<init>(Minecraft.java:209)
- at net.minecraft.src.MinecraftImpl.<init>(MinecraftImpl.java:16)
- at net.minecraft.client.Minecraft.startMainThread(Minecraft.java:2392)
- at net.minecraft.client.Minecraft.startMainThread1(Minecraft.java:2379)
- at net.minecraft.client.Minecraft.fmlReentry(Minecraft.java:2447)
- at cpw.mods.fml.client.FMLClientHandler.preGameLoad(FMLClientHandler.java:959)
- at net.minecraft.client.Minecraft.main(Minecraft.java:2442)
- at Start.main(Start.java:22)
- THis is the code:
- package net.minecraft.src;
- import net.minecraft.src.forge.*;
- public class mod_wickedcraft extends BaseMod
- {
- @Override
- public String getVersion()
- {
- return "0.0.1";
- }
- public static final Block ForgeBlock = new BlockForgeBlock(201, 1).setHardness(3F).setResistance(5F).setStepSound(Block.soundStoneFootstep).setBlockName("Forge Ore");
- public mod_wickedcraft()
- {
- RegisterBlocks();
- SetTextures();
- AddNames();
- Recipes();
- }
- public void RegisterBlocks()
- {
- ModLoader.registerBlock(ForgeBlock);
- }
- public void SetTextures()
- {
- MinecraftForgeClient.preloadTexture("/Tutorial/Blocks.png");
- MinecraftForgeClient.preloadTexture("/Tutorial/Items.png");
- }
- public void AddNames()
- {
- ModLoader.AddName(ForgeBlock, "Forge Block");
- }
- public void Recipes()
- {
- ModLoader.addRecipe(new ItemStack(ForgeBlock, 64), new Object[]{
- "DDD", "DDD", "DDD",'D', Block.dirt
- });
- }
- @Override
- public void load()
- {
- }
- }
- And the Block:
- package net.minecraft.src;
- import java.util.ArrayList;
- import java.util.Random;
- import net.minecraft.src.forge.*;
- public class BlockForgeBlock extends Block implements ITextureProvider
- {
- public BlockForgeBlock(int i, int j)
- {
- super (i, j, Material.rock);
- }
- public String getTextureFile()
- {
- return "/Tutorial/Blocks.png";
- }
- public int quantityDropped(int par1, int par2)
- {
- return 1;
- }
- public int idDropped(int par1, Random random, int par2)
- {
- return mod_wickedcraft.ForgeBlock.blockID;
- }
- public void addCreativeItems(ArrayList itemList)
- {
- itemList.add(new ItemStack(this));
- }
- }
- PLEASE HELP!!!!1
Advertisement
Add Comment
Please, Sign In to add comment