Jump to content

NovaViper

Forge Modder
  • Posts

    1061
  • Joined

  • Last visited

Everything posted by NovaViper

  1. Hey, I'm trying to make a new attribute that makes an entity that has it more resistant to explosions from creepers and TNT. This is my first time attempting this and I have no idea where to start off with it. I already created the attribute itself but I don't know how to create the events to activate it/utilize it. My code is on Github and here is attribute: public static final IAttribute blastResist = (new RangedAttribute((IAttribute)null, "generic.blastResist", 30.0D, 0.0D, Double.MAX_VALUE)).setDescription("Explosion Resistance").setShouldWatch(true);
  2. Ok, It works on the 11.14.1.1325 build. Thanks!
  3. How? I'm using the latest build for 1.8
  4. Hey, I'm getting an error when running the client on eclipse with the 11.14.1.1324 build for 1.8 [21:30:55] [Client thread/ERROR] [FML]: Unable to construct net.minecraftforge.fml.common.Mod container java.lang.NullPointerException at net.minecraftforge.fml.common.FMLModContainer.shouldLoadInEnvironment(FMLModContainer.java:619) ~[FMLModContainer.class:?] at net.minecraftforge.fml.common.ModContainerFactory.build(ModContainerFactory.java:80) [ModContainerFactory.class:?] at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:116) [DirectoryDiscoverer.class:?] at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) [DirectoryDiscoverer.class:?] at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?] at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?] at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?] at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:348) [Loader.class:?] at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:469) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:446) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] The client completely opens up but my mod doesn't get loaded. Why is it doing that? My code is on Github
  5. Nvm, I fixed it and thanks everyone for your help!
  6. Hey now I have another problem releating to the client loading on the server side with a projectile entity. Here is it's class public class EntityIceball extends EntityThrowable { private static final String __OBFID = "CL_00001722"; public EntityIceball(World p_i1773_1_) { super(p_i1773_1_); } public EntityIceball(World p_i1774_1_, EntityLivingBase p_i1774_2_) { super(p_i1774_1_, p_i1774_2_); } public EntityIceball(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) { super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); } @Override public void onUpdate() { EntityIceDustFX var20 = new EntityIceDustFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D); FMLClientHandler.instance().getClient().effectRenderer.addEffect(var20); super.onUpdate(); } /** * Called when this EntityThrowable hits a block or entity. */ protected void onImpact(MovingObjectPosition movingObject) { if (movingObject.entityHit != null) { byte b0 = 0; if (movingObject.entityHit instanceof EntityBlaze) { b0 = 3; } movingObject.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), (float)b0); }else{ BlockPos blockpos = movingObject.getBlockPos().offset(movingObject.sideHit); if (this.worldObj.isAirBlock(blockpos)) { this.worldObj.setBlockState(blockpos, Blocks.ice.getDefaultState()); } } for (int i = 0; i < 8; ++i) { this.worldObj.spawnParticle(EnumParticleTypes.SNOWBALL, this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D, new int[0]); } for (int i = 0; i < 8; ++i) { this.worldObj.spawnParticle(EnumParticleTypes.SNOWBALL, this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D); } if (!this.worldObj.isRemote) { this.setDead(); } } }
  7. When I move it over, it says the random is not public. Also it asks for to be static but with the random variables, it says it can't be static
  8. None of these methods are working. Is it even possible to make custom particles spawn constantly as long as the entity lives?
  9. I tried your method but it still doesn't work
  10. For some reason.. I'm getting all kinds of errors from the servers, saying this [22:53:21] [server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking entity at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:709) ~[MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:364) ~[DedicatedServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:598) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_25] Caused by: java.lang.NoSuchMethodError: common.zeroquest.entity.EntityForisZertum.spawnParticle()V at common.zeroquest.entity.EntityForisZertum.onLivingUpdate(EntityForisZertum.java:295) ~[EntityForisZertum.class:?] at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1627) ~[EntityLivingBase.class:?] at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:229) ~[EntityLiving.class:?] at common.zeroquest.entity.EntityForisZertum.onUpdate(EntityForisZertum.java:365) ~[EntityForisZertum.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:1865) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:732) ~[WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:1835) ~[World.class:?] at net.minecraft.world.World.updateEntities(World.java:1664) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:571) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) ~[MinecraftServer.class:?] ... 4 more [22:53:21] [server thread/ERROR]: This crash report has been saved to: C:\Users\NovaPC\Desktop\ModStuff\Code1.8\eclipse\.\crash-reports\crash-2015-01-24_22.53.21-server.txt And yes, I have made my methods switch from server to client but it still doesn't work. Here is part of the entity file of where the problems occurs: /** * Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons * use this to react to sunlight and start to burn. */ @Override public void onLivingUpdate() { super.onLivingUpdate(); spawnParticle(); for(int l = 0; l <= 4; ++l) //TODO { if(worldObj.rand.nextFloat() < footprint_chance) { continue; } if(Constants.DEF_GRASSSTEP == true){ int x = MathHelper.floor_double(this.posX + (l % 2 * 2 - 1) * 0.25F); int y = MathHelper.floor_double(this.posY) - 1 ; int z = MathHelper.floor_double(this.posZ + (l / 2 % 2 * 2 - 1) * 0.25F); BlockPos pos = new BlockPos(x, y, z); IBlockState state = this.worldObj.getBlockState(pos); boolean isAnyDirt = state.getBlock() == Blocks.dirt; boolean isRegularDirt = isAnyDirt && state.getValue(BlockDirt.VARIANT) == BlockDirt.DirtType.DIRT; if (isAnyDirt && isRegularDirt){ //TODO this.worldObj.setBlockState(pos, footprint.getDefaultState()); } } } if (isServer() && this.isWet && !this.isShaking && !this.hasPath() && this.onGround) { this.isShaking = true; this.timeWolfIsShaking = 0.0F; this.prevTimeWolfIsShaking = 0.0F; this.worldObj.setEntityState(this, (byte); } if (isServer() && this.getAttackTarget() == null && this.isAngry()) { this.setAngry(false); } if(Constants.DEF_HEALING == true && !this.isChild() && this.getHealth() <=10 && this.isTamed()) { this.addPotionEffect(new PotionEffect(10, 200)); } if (this.getAttackTarget() == null && isTamed() && 15 > 0) { List list1 = worldObj.getEntitiesWithinAABB(EntityCreeper.class, AxisAlignedBB.fromBounds(posX, posY, posZ, posX + 1.0D, posY + 1.0D, posZ + 1.0D).expand(sniffRange(), 4D, sniffRange())); if (!list1.isEmpty() && !isSitting() && this.getHealth() > 1 && !this.isChild()) { canSeeCreeper = true; } else { canSeeCreeper = false; } } } @SideOnly(Side.CLIENT) public void spawnParticle(){ double d0 = this.rand.nextGaussian() * 0.04D; //TODO double d1 = this.rand.nextGaussian() * 0.04D; double d2 = this.rand.nextGaussian() * 0.04D; if(isClient()){ EntityForisDustFX var20 = new EntityForisDustFX(this.worldObj, this.posX + (double)(this.rand.nextFloat() * this.width * 2.0F) - (double)this.width, this.posY + 0.5D + (double)(this.rand.nextFloat() * this.height), this.posZ + (double)(this.rand.nextFloat() * this.width * 2.0F) - (double)this.width, d0, d1, d2); for (int i = 0; i < 7; ++i) { FMLClientHandler.instance().getClient().effectRenderer.addEffect(var20); } } }
  11. I fixed it, I accidentally loaded the renderers before the items
  12. Now I'm crashing on the client: [20:15:34] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue [20:15:34] [Client thread/ERROR] [FML]: mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{8.0.20.1290} [Forge Mod Loader] (forgeSrc-1.8-11.14.0.1290-1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized Forge{11.14.0.1290} [Minecraft Forge] (forgeSrc-1.8-11.14.0.1290-1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized zero_quest{v1.3.0} [Zero Quest] (bin) Unloaded->Constructed->Pre-initialized->Errored [20:15:34] [Client thread/ERROR] [FML]: The following problems were captured during this phase [20:15:34] [Client thread/ERROR] [FML]: Caught exception from zero_quest java.lang.NullPointerException at net.minecraft.client.resources.model.ModelBakery.addVariantName(ModelBakery.java:824) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at common.zeroquest.ModItems.addVariant(ModItems.java:210) ~[bin/:?] at common.zeroquest.ModItems.loadRenderers(ModItems.java:166) ~[bin/:?] at common.zeroquest.ZeroQuest.load(ZeroQuest.java:98) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:692) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:291) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:484) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:325) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [20:15:34] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:568]: ---- Minecraft Crash Report ---- // There are four lights! Time: 1/24/15 8:15 PM Description: Initializing game java.lang.NullPointerException: Initializing game at net.minecraft.client.resources.model.ModelBakery.addVariantName(ModelBakery.java:824) at common.zeroquest.ModItems.addVariant(ModItems.java:210) at common.zeroquest.ModItems.loadRenderers(ModItems.java:166) at common.zeroquest.ZeroQuest.load(ZeroQuest.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:208) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:118) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:692) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:291) at net.minecraft.client.Minecraft.startGame(Minecraft.java:484) at net.minecraft.client.Minecraft.run(Minecraft.java:325) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.client.resources.model.ModelBakery.addVariantName(ModelBakery.java:824) at common.zeroquest.ModItems.addVariant(ModItems.java:210) at common.zeroquest.ModItems.loadRenderers(ModItems.java:166) at common.zeroquest.ZeroQuest.load(ZeroQuest.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:208) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:118) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:692) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:291) at net.minecraft.client.Minecraft.startGame(Minecraft.java:484) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:325) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) Here are my classes Main Class @EventHandler public void load(FMLInitializationEvent event) { Log.info("-----CONTENT LOAD INITATING-----"); nileEssence = EnumHelper.addToolMaterial("NileEssence", 4, 4000, 20.0F, 4.0F, 30); Log.info("Loading Block, Recipes and Items..."); ModBlocks.load(); MinecraftForge.EVENT_BUS.register(new FOVEvent()); if(event.getSide().isClient()){ ModBlocks.loadRenderers(); ModItems.loadRenderers(); } ModItems.load(); ZeroQuestCrafting.loadRecipes(); Log.info("Blocks, Recipes and Items Loaded Successfully!"); Log.info("Loading Entities and Ore Dictionary..."); ModEntities.loadCreatures(); ModEntities.loadOthers(); OreDic.load(); Log.info("Entities and Ore Dictionary Loaded Successfully!"); Log.info("Loading Achievements and Biomes..."); ModAchievements.load(); FMLCommonHandler.instance().bus().register(new AchievementEvents()); ModBiomes.loadBiomes(); Log.info("Achievements and Biomes Loaded Successfully!"); if(Constants.DEF_DARKLOAD == true){ Log.warn("Dark Elemental Load is ENABLED!"); Log.info("Initating Dark Elemental Load!"); darkEssence = EnumHelper.addToolMaterial("DarkEssence", 4, 5000, 21.0F, 5.0F, 40); ModItems.loadDarkItems(); ModBlocks.loadDarkBlocks(); ZeroQuestCrafting.loadDarkRecipes(); ModEntities.loadDarkCreatures(); ModBiomes.loadDarkBiomes(); ModAchievements.loadDark(); OreDic.loadDarkOre(); registerProviderType(DarkaxID, WorldProviderDarkax.class, false); registerDimension(DarkaxID, DarkaxID); Log.info("Dark Elements Loaded Successfully!"); }else{ Log.warn("Dark Elemental Load is not ENABLED! Change configurations to enable!"); Log.info("Skipping Dark Elemental Load"); } Log.info("Loading Crucial Stuff..."); proxy.registerRenderThings(); proxy.registerChestItems(); GameRegistry.registerFuelHandler(new FuelHandler()); GameRegistry.registerWorldGenerator(new WorldGenZQuest(), 0); Log.info("The Crucial Stuff Loaded Successfully!"); Log.info("Loading Dimensions..."); registerProviderType(NillaxID, WorldProviderNillax.class, false); registerDimension(NillaxID, NillaxID); Log.info("Dimensions Loaded Successfully!"); Log.info("-----CONTENT LOAD FINSHED-----"); } ModItems public class ModItems { public static Item nileSword; public static Item nileAxe; public static Item nilePickaxe; public static Item nileSpade; public static Item nileHoe; public static Item nileBow; public static Item nileGrenade; public static Item zertumMeatRaw; public static Item zertumMeatCooked; public static Item jakanMeatRaw; public static Item jakanMeatCooked; public static Item vitoidSeed; public static Item vitoidFruit; public static Item dogTreat; public static Item nileEssence; public static Item nileDust; public static Item nileGrain; public static Item nileCoal; public static Item nileSpark; public static Item nileBone; public static Item FPoisonball; //DARK ELEMENT// public static Item darkSword; public static Item darkAxe; public static Item darkPickaxe; public static Item darkShovel; public static Item darkHoe; public static Item darkBow; public static Item darkEssence; public static Item darkDust; public static Item darkGrain; public static Item darkBone; public static Item kurrSeeds; public static Item darkSpark; public static void load() { //Tools/Weapons// nileSword = new ItemNileSword(ZeroQuest.nileEssence).setUnlocalizedName("nileSword").setCreativeTab(ZeroQuest.ZeroTab); register(nileSword, "nile_sword"); nileAxe = new ItemNileAxe(ZeroQuest.nileEssence).setUnlocalizedName("nileAxe").setCreativeTab(ZeroQuest.ZeroTab); register(nileAxe, "nile_axe"); nilePickaxe = new ItemNilePickaxe(ZeroQuest.nileEssence).setUnlocalizedName("nilePickaxe").setCreativeTab(ZeroQuest.ZeroTab); register(nilePickaxe, "nile_pickaxe"); nileSpade = new ItemNileSpade(ZeroQuest.nileEssence).setUnlocalizedName("nileShovel").setCreativeTab(ZeroQuest.ZeroTab); register(nileSpade, "nile_shovel"); nileHoe = new ItemNileHoe(ZeroQuest.nileEssence).setUnlocalizedName("nileHoe").setCreativeTab(ZeroQuest.ZeroTab); register(nileHoe, "nile_hoe"); nileBow = new ItemNileBow("nile", 484).setUnlocalizedName("nileBow").setCreativeTab(ZeroQuest.ZeroTab); register(nileBow, "nile_bow"); nileGrenade = new ItemNileGrenade().setUnlocalizedName("nileGrenade"); register(nileGrenade, "nile_grenade"); //Basics// nileEssence = new ItemEssence().setUnlocalizedName("nileEssence").setCreativeTab(ZeroQuest.ZeroTab); register(nileEssence, "nile_essence"); nileDust = new ItemDust().setUnlocalizedName("nileDust").setCreativeTab(ZeroQuest.ZeroTab); register(nileDust, "nile_dust"); nileGrain = new ItemGrain().setUnlocalizedName("nileGrain").setCreativeTab(ZeroQuest.ZeroTab); register(nileGrain, "nile_grain"); nileCoal = new ItemNileCoal().setUnlocalizedName("nileCoal").setCreativeTab(ZeroQuest.ZeroTab); register(nileCoal, "nile_coal"); dogTreat = new ItemDogTreat().setUnlocalizedName("dogTreat").setCreativeTab(ZeroQuest.ZeroTab); register(dogTreat, "dog_treat"); nileBone = new ItemNileBone().setUnlocalizedName("nileBone").setCreativeTab(ZeroQuest.ZeroTab); register(nileBone, "nile_bone"); //Portal Sparks// nileSpark = new ItemNileSpark().setUnlocalizedName("nileSpark"); register(nileSpark, "nile_spark"); //Projectiles// FPoisonball = new ItemFPoisonball().setUnlocalizedName("FPoisonball"); register(FPoisonball, "flaming_poisonball"); //Food/Crops// zertumMeatRaw = new ZQFood(3, 1.5F, true, ZeroQuest.ZeroTab).setUnlocalizedName("zertumMeatRaw"); register(zertumMeatRaw, "zertum_meat_raw"); zertumMeatCooked = new ZQFood(5, 2.5F, true, ZeroQuest.ZeroTab).setUnlocalizedName("zertumMeatCooked"); register(zertumMeatCooked, "zertum_meat_cooked"); vitoidSeed = new ItemNileSeed(ModBlocks.vitoidPlant, Blocks.farmland).setUnlocalizedName("vitoidSeed"); register(vitoidSeed, "vitoid_seed"); vitoidFruit = new VitoidFruit(2, 0.5F, false).setUnlocalizedName("vitoidFruit"); register(vitoidFruit, "vitoid_fruit"); jakanMeatRaw = new ZQFood(4, 1.7F, true, ZeroQuest.ZeroTab).setUnlocalizedName("jakanMeatRaw"); register(jakanMeatRaw, "jakan_meat_raw"); jakanMeatCooked = new ZQFood(5, 2.7F, true, ZeroQuest.ZeroTab).setUnlocalizedName("jakanMeatCooked"); register(jakanMeatCooked, "jakan_meat_cooked"); } public static void loadDarkItems(){ darkSword = new ItemNileSword(ZeroQuest.darkEssence).setUnlocalizedName("darkSword").setCreativeTab(ZeroQuest.DarkTab); register(darkSword, "dark_sword"); darkAxe = new ItemNileAxe(ZeroQuest.darkEssence).setUnlocalizedName("darkAxe").setCreativeTab(ZeroQuest.DarkTab); register(darkAxe, "dark_axe"); darkPickaxe = new ItemNilePickaxe(ZeroQuest.darkEssence).setUnlocalizedName("darkPickaxe").setCreativeTab(ZeroQuest.DarkTab); register(darkPickaxe, "dark_pickaxe"); darkShovel = new ItemNileSpade(ZeroQuest.darkEssence).setUnlocalizedName("darkShovel").setCreativeTab(ZeroQuest.DarkTab); register(darkShovel, "dark_shovel"); darkHoe = new ItemNileHoe(ZeroQuest.darkEssence).setUnlocalizedName("darkHoe").setCreativeTab(ZeroQuest.DarkTab); register(darkHoe, "dark_hoe"); darkBow = new ItemNileBow("dark", 584).setUnlocalizedName("darkBow").setCreativeTab(ZeroQuest.DarkTab); register(darkBow, "dark_bow"); darkSpark = new ItemDarkSpark().setUnlocalizedName("darkSpark"); register(darkSpark, "dark_spark"); darkEssence = new ItemEssence().setUnlocalizedName("darkEssence").setCreativeTab(ZeroQuest.DarkTab); register(darkEssence, "dark_essence"); darkDust = new ItemDust().setUnlocalizedName("darkDust").setCreativeTab(ZeroQuest.DarkTab); register(darkDust, "dark_dust"); darkGrain = new ItemGrain().setUnlocalizedName("darkGrain").setCreativeTab(ZeroQuest.DarkTab); register(darkGrain, "dark_grain"); darkBone = new ItemNileBone().setUnlocalizedName("darkBone").setCreativeTab(ZeroQuest.DarkTab); register(darkBone, "dark_bone"); kurrSeeds = new KurrSeed(4, 1.2F, false).setUnlocalizedName("kurrSeeds"); register(kurrSeeds, "kurr_seeds"); } public static void loadRenderers(){ registerRender(nileSword, 0, Constants.modid + ":" + "nile_sword", "inventory"); registerRender(nileAxe, 0, Constants.modid + ":" + "nile_axe", "inventory"); registerRender(nilePickaxe, 0, Constants.modid + ":" + "nile_pickaxe", "inventory"); registerRender(nileSpade, 0, Constants.modid + ":" + "nile_shovel", "inventory"); registerRender(nileHoe, 0, Constants.modid + ":" + "nile_hoe", "inventory"); addVariant(nileBow, new String[] {Constants.modid + ":nile_bow", Constants.modid + ":nile_bow_pulling_0", Constants.modid + ":nile_bow_pulling_1", Constants.modid + ":nile_bow_pulling_2"}); registerRender(nileBow, 0, Constants.modid + ":nile_bow", "inventory"); registerRender(nileGrenade, 0, Constants.modid + ":" + "nile_grenade", "inventory"); registerRender(nileEssence, 0, Constants.modid + ":" + "nile_essence", "inventory"); registerRender(nileDust, 0, Constants.modid + ":" + "nile_dust", "inventory"); registerRender(nileGrain, 0, Constants.modid + ":" + "nile_grain", "inventory"); registerRender(nileCoal, 0, Constants.modid + ":" + "nile_coal", "inventory"); registerRender(dogTreat, 0, Constants.modid + ":" + "dog_treat", "inventory"); registerRender(nileBone, 0, Constants.modid + ":" + "nile_bone", "inventory"); registerRender(nileSpark, 0, Constants.modid + ":" + "nile_spark", "inventory"); registerRender(FPoisonball, 0, Constants.modid + ":" + "flaming_poisonball", "inventory"); registerRender(zertumMeatRaw, 0, Constants.modid + ":" + "zertum_meat_raw", "inventory"); registerRender(zertumMeatCooked, 0, Constants.modid + ":" + "zertum_meat_cooked", "inventory"); registerRender(vitoidSeed, 0, Constants.modid + ":" + "vitoid_seed", "inventory"); registerRender(vitoidFruit, 0, Constants.modid + ":" + "vitoid_fruit", "inventory"); registerRender(jakanMeatRaw, 0, Constants.modid + ":" + "jakan_meat_raw", "inventory"); registerRender(jakanMeatCooked, 0, Constants.modid + ":" + "jakan_meat_cooked", "inventory"); if(Constants.DEF_DARKLOAD == true){ registerRender(darkSword, 0, Constants.modid + ":" + "dark_sword", "inventory"); registerRender(darkAxe, 0, Constants.modid + ":" + "dark_axe", "inventory"); registerRender(darkPickaxe, 0, Constants.modid + ":" + "dark_pickaxe", "inventory"); registerRender(darkShovel, 0, Constants.modid + ":" + "dark_shovel", "inventory"); registerRender(darkHoe, 0, Constants.modid + ":" + "dark_hoe", "inventory"); addVariant(darkBow, new String[] {Constants.modid + ":dark_bow", Constants.modid + ":dark_bow_pulling_0", Constants.modid + ":dark_bow_pulling_1", Constants.modid + ":dark_bow_pulling_2"}); registerRender(darkBow, 0, Constants.modid + ":" + "dark_bow", "inventory"); registerRender(darkSpark, 0, Constants.modid + ":" + "dark_spark", "inventory"); registerRender(darkEssence, 0, Constants.modid + ":" + "dark_essence", "inventory"); registerRender(darkDust, 0, Constants.modid + ":" + "dark_dust", "inventory"); registerRender(darkGrain, 0, Constants.modid + ":" + "dark_grain", "inventory"); registerRender(darkBone, 0, Constants.modid + ":" + "dark_bone", "inventory"); registerRender(kurrSeeds, 0, Constants.modid + ":" + "kurr_seeds", "inventory"); } } public static void register(Item item, String name){ GameRegistry.registerItem(item, name); } public static void registerRender(Item item, int metadata, String itemString, String location){ Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, metadata, new ModelResourceLocation(itemString, location)); } public static void addVariant(Item item, String... names){ ModelBakery.addVariantName(item, names); } }
  13. Yep, that was the problem, i loaded all my renderers on the server instead of the client side
  14. Here, look on my github
  15. So that means I register my renderers on the client side right?
  16. When I run my server on eclipse with my mod in it, this is the error I get: [19:46:10] [server thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue [19:46:10] [server thread/ERROR] [FML]: mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{8.0.20.1290} [Forge Mod Loader] (forgeSrc-1.8-11.14.0.1290-1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized Forge{11.14.0.1290} [Minecraft Forge] (forgeSrc-1.8-11.14.0.1290-1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized zero_quest{v1.3.0} [Zero Quest] (bin) Unloaded->Constructed->Pre-initialized->Errored [19:46:10] [server thread/ERROR] [FML]: The following problems were captured during this phase [19:46:10] [server thread/ERROR] [FML]: Caught exception from zero_quest java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft at common.zeroquest.ModBlocks.registerRender(ModBlocks.java:128) ~[ModBlocks.class:?] at common.zeroquest.ModBlocks.load(ModBlocks.java:54) ~[ModBlocks.class:?] at common.zeroquest.ZeroQuest.load(ZeroQuest.java:94) ~[ZeroQuest.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:692) [Loader.class:?] at net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97) [FMLServerHandler.class:?] at net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:327) [FMLCommonHandler.class:?] at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:210) [DedicatedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_25] Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] ... 35 more Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid side SERVER at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:49) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] ... 35 more [19:46:10] [server thread/ERROR]: Encountered an unexpected exception net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162) ~[LoadController.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:693) ~[Loader.class:?] at net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97) ~[FMLServerHandler.class:?] at net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:327) ~[FMLCommonHandler.class:?] at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:210) ~[DedicatedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_25] Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft at common.zeroquest.ModBlocks.registerRender(ModBlocks.java:128) ~[ModBlocks.class:?] at common.zeroquest.ModBlocks.load(ModBlocks.java:54) ~[ModBlocks.class:?] at common.zeroquest.ZeroQuest.load(ZeroQuest.java:94) ~[ZeroQuest.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:692) ~[Loader.class:?] ... 5 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at common.zeroquest.ModBlocks.registerRender(ModBlocks.java:128) ~[ModBlocks.class:?] at common.zeroquest.ModBlocks.load(ModBlocks.java:54) ~[ModBlocks.class:?] at common.zeroquest.ZeroQuest.load(ZeroQuest.java:94) ~[ZeroQuest.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:692) ~[Loader.class:?] ... 5 more Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid side SERVER at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:49) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at common.zeroquest.ModBlocks.registerRender(ModBlocks.java:128) ~[ModBlocks.class:?] at common.zeroquest.ModBlocks.load(ModBlocks.java:54) ~[ModBlocks.class:?] at common.zeroquest.ZeroQuest.load(ZeroQuest.java:94) ~[ZeroQuest.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:692) ~[Loader.class:?] ... 5 more [19:46:10] [server thread/ERROR]: This crash report has been saved to: C:\Users\NovaPC\Desktop\ModStuff\Code1.8\eclipse\.\crash-reports\crash-2015-01-24_19.46.10-server.txt Anyone know why I'm getting this error?
  17. Ok, I didn't see that it was inside the class and thanks! That works perfectly!
  18. Ok, I fixed the arrows dropping by reversing the FOV, but how I do I make it gradually move? Here is what I did @SubscribeEvent public void FOVUpdate(FOVUpdateEvent event){ if(event.entity.getItemInUse() != null){ if(event.entity.getItemInUse().getItem() instanceof ItemNileBow){ event.newfov--; } } }
  19. the Constants.DEF_DARKLOAD line is a configuration piece that toggles the dark elements (like the dark bow), and now it works but here are the issues now: 1. The zoom is way too fast 2. The arrows just drop infront of me despite I pull the bow at full power. What I have so far: Event public class FOVEvent { @SubscribeEvent public void FOVUpdate(FOVUpdateEvent event){ if(event.entity.getItemInUse() != null){ if(event.entity.getItemInUse().getItem() == ModItems.nileBow){ event.newfov = 2.0f; } if(Constants.DEF_DARKLOAD == true){ if(event.entity.getItemInUse().getItem() == ModItems.darkBow){ event.newfov = 2.0f; } } } } } Bow Class public class ItemNileBow extends ItemBow { public String elementType; public ItemNileBow(String type, int damage) { elementType = type; this.setMaxDamage(damage); } @Override public ModelResourceLocation getModel(ItemStack stack, EntityPlayer player, int useRemaining) { ModelResourceLocation modelresourcelocation = new ModelResourceLocation(Constants.modid + ":" + elementType + "_bow", "inventory"); //System.out.println(player.getItemInUse() +":" + useRemaining); USE FOR DEBUGGING ONLY if(stack.getItem() == this && player.getItemInUse() != null) { if(useRemaining >= 71987) { modelresourcelocation = new ModelResourceLocation(Constants.modid + ":" + elementType + "_bow_pulling_0", "inventory"); } else if(useRemaining > 71980) { modelresourcelocation = new ModelResourceLocation(Constants.modid + ":" + elementType + "_bow_pulling_1", "inventory"); } else if(useRemaining <= 71976 || useRemaining >= 71976) { modelresourcelocation = new ModelResourceLocation(Constants.modid + ":" + elementType + "_bow_pulling_2", "inventory"); } } return modelresourcelocation; } }
  20. It seems to be called now but it crashes when I enter a world: Crash Log [16:23:10] [Client thread/FATAL]: Unreported exception thrown! java.lang.NullPointerException at common.zeroquest.events.FOVEvent.FOVUpdate(FOVEvent.java:14) ~[FOVEvent.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_8_FOVEvent_FOVUpdate_FOVUpdateEvent.invoke(.dynamic) ~[?:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55) ~[ASMEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:138) ~[EventBus.class:?] at net.minecraftforge.client.ForgeHooksClient.getOffsetFOV(ForgeHooksClient.java:318) ~[ForgeHooksClient.class:?] at net.minecraft.client.entity.AbstractClientPlayer.getFovModifier(AbstractClientPlayer.java:132) ~[AbstractClientPlayer.class:?] at net.minecraft.client.renderer.EntityRenderer.updateFovModifierHand(EntityRenderer.java:447) ~[EntityRenderer.class:?] at net.minecraft.client.renderer.EntityRenderer.updateRenderer(EntityRenderer.java:264) ~[EntityRenderer.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:2067) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1021) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:345) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [16:23:10] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:568]: ---- Minecraft Crash Report ---- // I blame Dinnerbone. Time: 1/24/15 4:23 PM Description: Unexpected error java.lang.NullPointerException: Unexpected error at common.zeroquest.events.FOVEvent.FOVUpdate(FOVEvent.java:14) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_8_FOVEvent_FOVUpdate_FOVUpdateEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:138) at net.minecraftforge.client.ForgeHooksClient.getOffsetFOV(ForgeHooksClient.java:318) at net.minecraft.client.entity.AbstractClientPlayer.getFovModifier(AbstractClientPlayer.java:132) at net.minecraft.client.renderer.EntityRenderer.updateFovModifierHand(EntityRenderer.java:447) at net.minecraft.client.renderer.EntityRenderer.updateRenderer(EntityRenderer.java:264) at net.minecraft.client.Minecraft.runTick(Minecraft.java:2067) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1021) at net.minecraft.client.Minecraft.run(Minecraft.java:345) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at common.zeroquest.events.FOVEvent.FOVUpdate(FOVEvent.java:14) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_8_FOVEvent_FOVUpdate_FOVUpdateEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:138) at net.minecraftforge.client.ForgeHooksClient.getOffsetFOV(ForgeHooksClient.java:318) at net.minecraft.client.entity.AbstractClientPlayer.getFovModifier(AbstractClientPlayer.java:132) at net.minecraft.client.renderer.EntityRenderer.updateFovModifierHand(EntityRenderer.java:447) at net.minecraft.client.renderer.EntityRenderer.updateRenderer(EntityRenderer.java:264) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityPlayerSP['Player718'/287, l='MpServer', x=262.02, y=65.00, z=105.70]] Chunk stats: MultiplayerChunkCache: 0, 0 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: 256.00,64.00,108.00 - World: (256,64,108), Chunk: (at 0,4,12 in 16,6; contains blocks 256,0,96 to 271,255,111), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 11662 game time, 11662 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 1 total; [EntityPlayerSP['Player718'/287, l='MpServer', x=262.02, y=65.00, z=105.70]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:350) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2488) at net.minecraft.client.Minecraft.run(Minecraft.java:374) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) Here is my event file: public class FOVEvent { @SubscribeEvent public void FOVUpdate(FOVUpdateEvent event){ if(event.entity.getItemInUse().getItem() == ModItems.nileBow){ event.newfov = 2.0f; } if(Constants.DEF_DARKLOAD == true){ if(event.entity.getItemInUse().getItem() == ModItems.darkBow){ event.newfov = 2.0f; } } } }
  21. I think so, but here is the main class: @EventHandler public void load(FMLInitializationEvent event) { Log.info("-----CONTENT LOAD INITATING-----"); nileEssence = EnumHelper.addToolMaterial("NileEssence", 4, 4000, 20.0F, 4.0F, 30); Log.info("Loading Block, Recipes and Items..."); ModBlocks.load(); FMLCommonHandler.instance().bus().register(new FOVEvent()); ModItems.load(); ZeroQuestCrafting.loadRecipes(); Log.info("Blocks, Recipes and Items Loaded Successfully!"); Log.info("Loading Entities and Ore Dictionary..."); ModEntities.loadCreatures(); ModEntities.loadOthers(); .... Which bus should I register it to if this one is incorrect?
  22. How is not an event? Thats how most of my events on my mod are. Config Event public class ConfigEvent { @SubscribeEvent public void onConfigurationChangedEvent(ConfigChangedEvent.OnConfigChangedEvent event){ if(event.modID.equalsIgnoreCase(Constants.modid)) { ConfigHandler.loadConfig(); } } } My main class @EventHandler public void preInit(FMLPreInitializationEvent event){ ConfigHandler.init(new File(event.getModConfigurationDirectory().getAbsolutePath() + File.separator + channel + File.separator + Constants.modid.toLowerCase() + ".cfg")); FMLCommonHandler.instance().bus().register(new ConfigEvent()); FMLCommonHandler.instance().bus().register(new PlayerEvents(Constants.version, "ZeroQuest", false)); Log.info("-----PRE-CONTENT LOAD INITATING-----"); Log.info("Loading Main Stuff..."); this.ZeroTab = new ZeroQuestTab(CreativeTabs.getNextID()); if(Constants.DEF_DARKLOAD == true){ this.DarkTab = new DarkQuestTab(CreativeTabs.getNextID()); } NetworkRegistry.INSTANCE.registerGuiHandler(Constants.modid, proxy); Log.info("Load Stuff Loaded Successfully!"); Log.info("-----PRE-CONTENT LOAD FINISHED-----"); }
  23. Oops, my mistake, here's it is now: public class FOVEvent { @SubscribeEvent public void FOVUpdate(FOVUpdateEvent event){ if(event.entity.getItemInUse().getItem() == ModItems.nileBow){ event.newfov = 2f; } } And it still doesn't work }
  24. I did something like this: public class FOVEvent { @SubscribeEvent public void FOVUpdateEvent(EntityPlayer entity, float fov) { if(entity.getItemInUse().getItem() == ModItems.nileBow){ fov = 2f; } } } But the client crashes and gives this out: [15:36:08] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [15:36:08] [Client thread/ERROR] [FML]: mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{8.0.20.1290} [Forge Mod Loader] (forgeSrc-1.8-11.14.0.1290-1.8.jar) Unloaded->Constructed->Pre-initialized Forge{11.14.0.1290} [Minecraft Forge] (forgeSrc-1.8-11.14.0.1290-1.8.jar) Unloaded->Constructed->Pre-initialized zero_quest{v1.3.0} [Zero Quest] (bin) Unloaded->Constructed->Errored [15:36:08] [Client thread/ERROR] [FML]: The following problems were captured during this phase [15:36:08] [Client thread/ERROR] [FML]: Caught exception from zero_quest java.lang.IllegalArgumentException: Method public void common.zeroquest.events.FOVEvent.FOVUpdateEvent(net.minecraft.entity.player.EntityPlayer,float) has @SubscribeEvent annotation, but requires 2 arguments. Event handler methods must require a single argument. at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:72) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at common.zeroquest.ZeroQuest.preInit(ZeroQuest.java:78) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:412) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:325) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] [15:36:08] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:568]: ---- Minecraft Crash Report ---- // Who set us up the TNT? Time: 1/24/15 3:36 PM Description: Initializing game java.lang.IllegalArgumentException: Method public void common.zeroquest.events.FOVEvent.FOVUpdateEvent(net.minecraft.entity.player.EntityPlayer,float) has @SubscribeEvent annotation, but requires 2 arguments. Event handler methods must require a single argument. at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:72) at common.zeroquest.ZeroQuest.preInit(ZeroQuest.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:208) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:118) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.startGame(Minecraft.java:412) at net.minecraft.client.Minecraft.run(Minecraft.java:325) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:72) at common.zeroquest.ZeroQuest.preInit(ZeroQuest.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:208) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:118) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.startGame(Minecraft.java:412) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:325) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) What am I doing wrong?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.