Help with mod file.

Started by Ellivers on

Topic category: Advanced modding

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with mod file.
Sat, 09/16/2017 - 08:12 (edited)

I exported my mod to .jar and put it in the mods foler.

When I started minecraft it crashes and comes up with this:

The game crashed whilst there was a severe problem during mod loading that has caused the game to fail
The game crashed whilst there was a severe problem during mod loading that has caused the game to fail
Error: net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Testium Mod (testiummod)

Please help!!

Edited by Ellivers on Sat, 09/16/2017 - 08:12
Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you used your mod with
Sun, 08/27/2017 - 17:51

Did you used your mod with other mods?

Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is the full crash log it
Sun, 08/27/2017 - 18:01

What is the full crash log it could be anything creating the crash so without that it's like saying you are looking at a car, but what car what color where is it, you know it leaves a big question gap where more questions get asked and the first question gets lost in the etha :)

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Did you used your mod with
Thu, 08/31/2017 - 14:31

@#1 I used it with optifine yes, but I don't think that's any problem. I have used it with the mod before.

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:What is the full crash log it
Thu, 08/31/2017 - 14:31

@#2 Full crash log coming soon!

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:What is the full crash log it
Thu, 08/31/2017 - 16:49

@#2 Here it is. Please help!

[spoiler]

---- Minecraft Crash Report ----   WARNING: coremods are present: Contact their authors BEFORE contacting forge   // Ooh. Shiny.   Time: 8/31/17 6:46 PM Description: There was a severe problem during mod loading that has caused the game to fail   net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Testium Mod (testiummod) Caused by: java.lang.NullPointerException at mod.mcreator.mcreator_frog$ModelFrog.<init>(mcreator_frog.java:215) at mod.mcreator.mcreator_frog.registerRenderers(mcreator_frog.java:60) at mod.mcreator.ClientProxytestiummod.registerRenderers(ClientProxytestiummod.java:28) at mod.mcreator.testiummod.load(testiummod.java:367) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:647) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:828) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:357) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:521) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:352) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)     A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------   -- System Details -- Details: Minecraft Version: 1.11.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 143821008 bytes (137 MB) / 348545024 bytes (332 MB) up to 1060372480 bytes (1011 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.38 Powered by Forge 13.20.1.2386 Optifine OptiFine_1.11.2_HD_U_C3 6 mods loaded, 6 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHI minecraft{1.11.2} [Minecraft] (minecraft.jar)  UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)  UCHI FML{8.0.99.99} [Forge Mod Loader] (forge-1.11.2-13.20.1.2386.jar)  UCHI forge{13.20.1.2386} [Minecraft Forge] (forge-1.11.2-13.20.1.2386.jar)  UCHI mercurius_updater{1.0} [mercurius_updater] (MercuriusUpdater-1.11.2.jar)  UCHE testiummod{0.5.1} [Testium Mod] (Testium Mod [v. 0.5.1].zip)  Loaded coremods (and transformers):  GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.2900' Renderer: 'Intel(R) HD Graphics' OptiFine Version: OptiFine_1.11.2_HD_U_C3 Render Distance Chunks: 3 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 2.1.0 - Build 8.15.10.2900 OpenGlRenderer: Intel(R) HD Graphics OpenGlVendor: Intel CpuCount: 4 [/spoiler] ( ◔ ʖ̯ ◔ )
Last seen on 04:49, 26. Sep 2017
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Smth. is going wrong with
Mon, 09/04/2017 - 16:46

Smth. is going wrong with your Frog Model:

java.lang.NullPointerException at mod.mcreator.mcreator_frog$ModelFrog.<init>(mcreator_frog.java:215) at mod.mcreator.mcreator_frog.registerRenderers(mcreator_frog.java:60) at mod.mcreator.ClientProxytestiummod.registerRenderers(ClientProxytestiummod.java:28) at mod.mcreator.testiummod.load(testiummod.java:367)

Since we have no code you must look up on it yourself at the stated lines while it hast thrown this NullPointerException.

A NullPointerException tells you that smth. is NULL which should not happen.
Hopefully u'll finde the problem ;).

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Smth. is going wrong with
Wed, 09/06/2017 - 13:43

I just noticed that is was the frog model that didn't work.

I will try tinkering with it a little bit and see if it works.

But thank you for replying and helping me @#3 .

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I couldn't fix it. STILL NEED
Thu, 09/07/2017 - 17:22

I couldn't fix it. STILL NEED HELP!

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Java model code:
Thu, 09/07/2017 - 17:26
Java model code: [spoiler] // Date: 2017-09-07 17:57:40 // Template version 1.1 // Java generated by Techne // Keep in mind that you still need to fill in some blanks // - ZeuX             package net.minecraft.src;   public class ModelFrog extends ModelBase {   //fields     ModelRenderer Leg2;     ModelRenderer Leg1;     ModelRenderer Body;     ModelRenderer Head;      public ModelFrog()   {     textureWidth = 18;     textureHeight = 7;            Leg2 = new ModelRenderer(this, 0, 0);       Leg2.addBox(0F, 0F, 0F, 1, 1, 6);       Leg2.setRotationPoint(-3F, 23F, -2F);       Leg2.setTextureSize(18, 7);       Leg2.mirror = true;       setRotation(Leg2, 0F, 0F, 0F);       Leg1.mirror = true;       Leg1 = new ModelRenderer(this, 0, 0);       Leg1.addBox(0F, 0F, 0F, 1, 1, 6);       Leg1.setRotationPoint(2F, 23F, -2F);       Leg1.setTextureSize(18, 7);       Leg1.mirror = true;       setRotation(Leg1, 0F, 0F, 0F);       Leg1.mirror = false;       Body = new ModelRenderer(this, 1, 0);       Body.addBox(0F, 0F, 0F, 4, 2, 5);       Body.setRotationPoint(-2F, 21F, -1F);       Body.setTextureSize(18, 7);       Body.mirror = true;       setRotation(Body, 0F, 0F, 0F);       Head = new ModelRenderer(this, 0, 0);       Head.addBox(0F, 0F, 0F, 2, 2, 3);       Head.setRotationPoint(-1F, 19F, -3F);       Head.setTextureSize(18, 7);       Head.mirror = true;       setRotation(Head, 0F, 0F, 0F);   }      public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)   {     super.render(entity, f, f1, f2, f3, f4, f5);     setRotationAngles(f, f1, f2, f3, f4, f5, entity);     Leg2.render(f5);     Leg1.render(f5);     Body.render(f5);     Head.render(f5);   }      private void setRotation(ModelRenderer model, float x, float y, float z)   {     model.rotateAngleX = x;     model.rotateAngleY = y;     model.rotateAngleZ = z;   }      public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity)   {     super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);   this.Leg1.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1; this.Leg2.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1;   }   }

[/spoiler]

Source code:

[spoiler]

package mod.mcreator;   import net.minecraftforge.fml.relauncher.SideOnly; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.common.registry.EntityRegistry; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.client.registry.RenderingRegistry;   import net.minecraft.world.biome.Biome; import net.minecraft.world.World; import net.minecraft.util.math.MathHelper; import net.minecraft.util.ResourceLocation; import net.minecraft.util.EnumHand; import net.minecraft.util.DamageSource; import net.minecraft.item.ItemStack; import net.minecraft.item.Item; import net.minecraft.init.Blocks; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.effect.EntityLightningBolt; import net.minecraft.entity.ai.EntityAIWander; import net.minecraft.entity.ai.EntityAISwimming; import net.minecraft.entity.ai.EntityAIPanic; import net.minecraft.entity.ai.EntityAILookIdle; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.EnumCreatureType; import net.minecraft.entity.EntityCreature; import net.minecraft.entity.Entity; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.client.model.ModelRenderer; import net.minecraft.client.model.ModelBase; import net.minecraft.client.Minecraft;   import java.util.Random; import java.util.Iterator; import java.util.ArrayList;   @SuppressWarnings("unchecked") public class mcreator_frog {   public int mobid = 0; public static Object instance;   public void load(FMLInitializationEvent event) { }   public void generateNether(World world, Random random, int chunkX, int chunkZ) { }   public void generateSurface(World world, Random random, int chunkX, int chunkZ) { }   public int addFuel(ItemStack fuel) { return 0; }   @SideOnly(Side.CLIENT) public void registerRenderers() { RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_frog.ModelFrog(), 0) { protected ResourceLocation getEntityTexture(Entity par1Entity) { return new ResourceLocation("frog.png"); } }; RenderingRegistry.registerEntityRenderingHandler(mcreator_frog.Entityfrog.class, customRender);   }   public void serverLoad(FMLServerStartingEvent event) { }   public void preInit(FMLPreInitializationEvent event) { int entityID = MathHelper.getRandomUUID().hashCode(); mobid = entityID; EntityRegistry.registerModEntity(new ResourceLocation("testenvironmentmod:frog"), mcreator_frog.Entityfrog.class, "frog", entityID, instance, 64, 1, true, (0 << 16) + (51 << 8) + 0, (0 << 16) + (102 << 8) + 0); EntityRegistry.addSpawn(mcreator_frog.Entityfrog.class, 8, 2, 10, EnumCreatureType.CREATURE, clean(Biome.REGISTRY));   }   public static Biome[] clean(net.minecraft.util.registry.RegistryNamespaced<ResourceLocation, Biome> in) { Iterator<Biome> itr = in.iterator(); ArrayList<Biome> ls = new ArrayList<Biome>(); while (itr.hasNext()) { ls.add(itr.next()); } return ls.toArray(new Biome[ls.size()]); }   public static class Entityfrog extends EntityCreature { World world = null;   public Entityfrog(World var1) { super(var1); world = var1; experienceValue = 5; this.isImmuneToFire = false; addRandomArmor(); setNoAI(!true); this.tasks.addTask(0, new EntityAISwimming(this)); this.tasks.addTask(6, new EntityAIWander(this, 1.0D)); this.tasks.addTask(8, new EntityAILookIdle(this)); this.tasks.addTask(2, new EntityAIPanic(this, 1.2D)); this.tasks.addTask(8, new EntityAISwimming(this));   }   protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.44999999999999996D); this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(7D); if (this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE) != null) this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(3D); }   protected void addRandomArmor() {   }   protected void dropRareDrop(int par1) { this.dropItem(new ItemStack(Blocks.WATERLILY).getItem(), 1); }   @Override protected Item getDropItem() { return new ItemStack(mcreator_frogLeg.block).getItem(); }   @Override protected net.minecraft.util.SoundEvent getAmbientSound() { return (net.minecraft.util.SoundEvent) net.minecraft.util.SoundEvent.REGISTRY.getObject(new ResourceLocation("item.bucket.fill")); }   @Override protected net.minecraft.util.SoundEvent getHurtSound() { return (net.minecraft.util.SoundEvent) net.minecraft.util.SoundEvent.REGISTRY.getObject(new ResourceLocation("game.neutral.hurt")); }   @Override protected net.minecraft.util.SoundEvent getDeathSound() { return (net.minecraft.util.SoundEvent) net.minecraft.util.SoundEvent.REGISTRY.getObject(new ResourceLocation("game.neutral.die")); }   @Override public void onStruckByLightning(EntityLightningBolt entityLightningBolt) { super.onStruckByLightning(entityLightningBolt); int i = (int) this.posX; int j = (int) this.posY; int k = (int) this.posZ; Entity entity = this;   }   @Override public void fall(float l, float d) { super.fall(l, d); int i = (int) this.posX; int j = (int) this.posY; int k = (int) this.posZ; super.fall(l, d); Entity entity = this;   }   @Override public void onDeath(DamageSource source) { super.onDeath(source); int i = (int) this.posX; int j = (int) this.posY; int k = (int) this.posZ; Entity entity = this;   }   @Override public boolean processInteract(EntityPlayer entity, EnumHand hand) { super.processInteract(entity, hand); int i = (int) this.posX; int j = (int) this.posY; int k = (int) this.posZ;   return true; }   @Override protected float getSoundVolume() { return 1.0F; }   }   // Date: 2017-09-07 17:57:40 // Template version 1.1 // Java generated by Techne // Keep in mind that you still need to fill in some blanks // - ZeuX   public static class ModelFrog extends ModelBase { // fields ModelRenderer Leg2; ModelRenderer Leg1; ModelRenderer Body; ModelRenderer Head;   public ModelFrog() { textureWidth = 18; textureHeight = 7;   Leg2 = new ModelRenderer(this, 0, 0); Leg2.addBox(0F, 0F, 0F, 1, 1, 6); Leg2.setRotationPoint(-3F, 23F, -2F); Leg2.setTextureSize(18, 7); Leg2.mirror = true; setRotation(Leg2, 0F, 0F, 0F); Leg1.mirror = true; Leg1 = new ModelRenderer(this, 0, 0); Leg1.addBox(0F, 0F, 0F, 1, 1, 6); Leg1.setRotationPoint(2F, 23F, -2F); Leg1.setTextureSize(18, 7); Leg1.mirror = true; setRotation(Leg1, 0F, 0F, 0F); Leg1.mirror = false; Body = new ModelRenderer(this, 1, 0); Body.addBox(0F, 0F, 0F, 4, 2, 5); Body.setRotationPoint(-2F, 21F, -1F); Body.setTextureSize(18, 7); Body.mirror = true; setRotation(Body, 0F, 0F, 0F); Head = new ModelRenderer(this, 0, 0); Head.addBox(0F, 0F, 0F, 2, 2, 3); Head.setRotationPoint(-1F, 19F, -3F); Head.setTextureSize(18, 7); Head.mirror = true; setRotation(Head, 0F, 0F, 0F); }   public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); setRotationAngles(f, f1, f2, f3, f4, f5, entity); Leg2.render(f5); Leg1.render(f5); Body.render(f5); Head.render(f5); }   private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z; }   public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);   this.Leg1.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1; this.Leg2.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1; }   }   } [/spoiler]   Please help!
Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Whoops! The spoiler didn't
Thu, 09/07/2017 - 17:27

Whoops! The spoiler didn't work.

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Rainbows!
Sat, 09/09/2017 - 07:25

Rainbows!

Last seen on 00:54, 25. Feb 2018
Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
​Ellivers please do not post
Sat, 09/09/2017 - 19:57

​Ellivers please do not post random images!!11!!1

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:​Ellivers please do not post
Sun, 09/10/2017 - 10:02

@#8 Sorry.