• 0

    posted a message on AoA--25 New Dimensions• 330 Mobs• 27 Bosses• Skills• Quests• 600+Items [LARGE Bugfix Update, May 2018]
    Quote from Sunny2456

    I might be able to help with your one hit killed issue...
    This mod is made to be played on easy difficulty, or normal if you want an extra challange...but never on hard because the game messes up the damage codes of the mod, and makes them VERY powerful :o

    Ohhhhhh.... that's what's going wrong. Wow. Do you have any idea how to fix the modding issue though?
    Posted in: Minecraft Mods
  • 0

    posted a message on AoA--25 New Dimensions• 330 Mobs• 27 Bosses• Skills• Quests• 600+Items [LARGE Bugfix Update, May 2018]
    Hi Xolova. I just had a few question I thought you could answer. I am playing your mod and it is quite fun but whenever I encounter a Divine RPG mob they slaughter me. One hit and I'm dead. I have used cheats to give myself the best armor, and yet two hits and I'm dead. I have seen people on YouTube that play with armor that is not even the best and yet they only take 2 and 1/2 hearts of damage. What's wrong? I am working on a mod (that was inspired by your mod) and I have encountered an error. When I try to make a biome with my custom block spawning I get an error. I don't think it has to do with the ID... any ideas?

    Mod Code:

    package LotsOfStuff;
    import net.minecraft.block.Block;
    import net.minecraft.block.StepSound;
    import net.minecraft.world.biome.BiomeGenBase;
    import net.minecraft.world.biome.BiomeGenForest;
    import net.minecraftforge.client.MinecraftForgeClient;
    import net.minecraftforge.common.DimensionManager;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.Init;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.network.NetworkMod;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.common.registry.LanguageRegistry;
    @Mod(modid = "LotsOfStuff", name = "Lots of Stuff", version = "1.0")
    @NetworkMod(clientSideRequired = true, serverSideRequired = false)
    public class LotsOfStuff
    {
    //Add blocks
    public static Block dyrexGrass;
    public static Block dyrexDirt;
    public static Block dyrexPortal;

    //Add biomes
    public static BiomeGenBase dyrexForest = new BiomeGenDyrexForest(20).setBiomeName("Dyrex Forest");

    //Add dimensions
    public static int dimension = 20;

    @Init
    public void load(FMLInitializationEvent event)
    {
    //Preload texture
    MinecraftForgeClient.preloadTexture("/LotsOfStuff.png");

    //Add step sounds
    final StepSound soundPowderFootstep = new StepSound("stone", 1.0F, 1.0F);
    final StepSound soundWoodFootstep = new StepSound("wood", 1.0F, 1.0F);
    final StepSound soundGravelFootstep = new StepSound("gravel", 1.0F, 1.0F);
    final StepSound soundGrassFootstep = new StepSound("grass", 1.0F, 1.0F);
    final StepSound soundStoneFootstep = new StepSound("stone", 1.0F, 1.0F);
    final StepSound soundMetalFootstep = new StepSound("stone", 1.0F, 1.5F);
    final StepSound soundGlassFootstep = new StepSound("stone", 1.0F, 1.0F);
    final StepSound soundClothFootstep = new StepSound("cloth", 1.0F, 1.0F);
    final StepSound soundSandFootstep = new StepSound("sand", 1.0F, 1.0F);
    final StepSound soundSnowFootstep = new StepSound("snow", 1.0F, 1.0F);
    final StepSound soundLadderFootstep = new StepSound("ladder", 1.0F, 1.0F);
    final StepSound soundAnvilFootstep = new StepSound("anvil", 0.3F, 1.0F);

    //Add block properties
    dyrexGrass = new BlockDyrexGrass(3000, 0).setHardness(0.5F).setResistance(5.0F).setStepSound(soundGrassFootstep).setBlockName("dyrexGrass");
    dyrexDirt = new BlockDyrexDirt(3001, 18).setHardness(0.6F).setStepSound(soundGrassFootstep).setBlockName("dyrexDirt");
    dyrexPortal = new BlockDyrexPortal(3002, 16).setBlockName("dyrexPortal");

    //Register blocks
    GameRegistry.registerBlock(dyrexGrass, "dyrexGrass");
    GameRegistry.registerBlock(dyrexDirt, "dyrexDirt");
    GameRegistry.registerBlock(dyrexPortal, "dyrexPortal");

    //Add block names
    LanguageRegistry.addName(dyrexGrass, "Dyrex Grass");
    LanguageRegistry.addName(dyrexDirt, "Dyrex Dirt");
    LanguageRegistry.addName(dyrexPortal, "Dyrex Portal");

    //Dimension stuff
    DimensionManager.registerProviderType(dimension, WorldProviderDyrex.class, false);
    DimensionManager.registerDimension(dimension, dimension);

    //Biome stuff
    GameRegistry.addBiome(dyrexForest);
    }
    }

    BlockCode:

    package LotsOfStuff;
    import java.util.Random;
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    public class BlockDyrexDirt extends Block
    {
    public String getTextureFile()
    {
    return "/LotsOfStuff.png";
    }

    public BlockDyrexDirt(int id, int texture)
    {
    super(id, texture, Material.grass);
    this.setCreativeTab(CreativeTabs.tabBlock);
    }

    public int quantityDropped(Random random)
    {
    return 1;
    }

    public int idDropped(int i, Random random)
    {
    return LotsOfStuff.dyrexDirt.blockID;
    }
    }

    Error (from eclipse console):

    2013-02-04 20:00:23 [INFO] [ForgeModLoader] Forge Mod Loader version 4.7.22.539 for Minecraft 1.4.7 loading
    2013-02-04 20:00:25 [INFO] [STDOUT] 27 achievements
    2013-02-04 20:00:25 [INFO] [STDOUT] 210 recipes
    2013-02-04 20:00:25 [INFO] [STDOUT] Setting user: Player175, -
    2013-02-04 20:00:25 [INFO] [STDERR] Client asked for parameter: server
    2013-02-04 20:00:25 [INFO] [STDOUT] LWJGL Version: 2.4.2
    2013-02-04 20:00:26 [INFO] [ForgeModLoader] Attempting early MinecraftForge initialization
    2013-02-04 20:00:26 [INFO] [STDOUT] MinecraftForge v6.6.0.518 Initialized
    2013-02-04 20:00:26 [INFO] [ForgeModLoader] MinecraftForge v6.6.0.518 Initialized
    2013-02-04 20:00:26 [INFO] [STDOUT] Replaced 84 ore recipies
    2013-02-04 20:00:26 [INFO] [ForgeModLoader] Completed early MinecraftForge initialization
    2013-02-04 20:00:26 [INFO] [ForgeModLoader] Searching C:\Users\Jacob\Desktop\Minecraft Modding\MCP\jars\mods for mods
    2013-02-04 20:00:28 [INFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
    2013-02-04 20:00:28 [INFO] [STDERR] Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
    2013-02-04 20:00:28 [INFO] [STDERR] at java.lang.Class.forName0(

    Native Method)
    2013-02-04 20:00:28 [INFO] [STDERR] at java.lang.Class.forName(Unknown Source)
    2013-02-04 20:00:28 [INFO] [STDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(

    FMLModContainer.java:418)
    2013-02-04 20:00:28 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(

    Native Method)
    2013-02-04 20:00:28 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2013-02-04 20:00:28 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2013-02-04 20:00:28 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(

    EventHandler.java:69)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(

    SynchronizedEventHandler.java:45)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(

    EventBus.java:317)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(

    EventBus.java:300)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(

    EventBus.java:268)
    2013-02-04 20:00:28 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(

    LoadController.java:140)
    2013-02-04 20:00:28 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(

    Native Method)
    2013-02-04 20:00:28 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2013-02-04 20:00:28 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2013-02-04 20:00:28 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(

    EventHandler.java:69)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(

    SynchronizedEventHandler.java:45)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(

    EventBus.java:317)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(

    EventBus.java:300)
    2013-02-04 20:00:28 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(

    EventBus.java:268)
    2013-02-04 20:00:28 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(

    LoadController.java:83)
    2013-02-04 20:00:28 [INFO] [STDERR] at cpw.mods.fml.common.Loader.loadMods(

    Loader.java:479)
    2013-02-04 20:00:28 [INFO] [STDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(

    FMLClientHandler.java:161)
    2013-02-04 20:00:28 [INFO] [STDERR] at net.minecraft.client.Minecraft.startGame(

    Minecraft.java:410)
    2013-02-04 20:00:28 [INFO] [STDERR] at net.minecraft.client.MinecraftAppletImpl.startGame(

    MinecraftAppletImpl.java:44)
    2013-02-04 20:00:28 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(

    Minecraft.java:744)
    2013-02-04 20:00:28 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source)
    2013-02-04 20:00:28 [INFO] [STDERR] Caused by:

    java.lang.NullPointerException
    2013-02-04 20:00:28 [INFO] [STDERR] at LotsOfStuff.BiomeGenDyrexForest.<init>(

    BiomeGenDyrexForest.java:14)
    2013-02-04 20:00:28 [INFO] [STDERR] at LotsOfStuff.LotsOfStuff.<clinit>(

    LotsOfStuff.java:27)
    2013-02-04 20:00:28 [INFO] [STDERR] ... 29 more


    Does anyone have any idea how to fix this?
    Posted in: Minecraft Mods
  • To post a comment, please or register a new account.