Jump to content

Forge is corrupted?


Recommended Posts

I've had trouble downloading the installer of Forge 1.13.2 onto my Windows 10 PC. I downloaded it from chrome, but it said it was corrupted and I couldn't click "I'll take the risk" or whatever the button was. I changed to Firefox, and that downloaded it... but when I clicked the file it wouldn't open the normal launch thing. Instead, it just had an error message. Help?

Link to comment
Share on other sites

Just now, diesieben07 said:

In Chrome you have to actually go to the downloads list (Ctrl-J), where you can choose to keep the file.

That's the thing, it doesn't give me the option to save it. It only says to discard. Is there a way to get past this?

Link to comment
Share on other sites

On 5/12/2019 at 3:38 PM, diesieben07 said:

What launcher are you using? Post logs.

Here's what I did:

 

Installed "installer"  for 1.13.2 and the latest version.

 

I then clicked the jar file and let it install the program. 

 

I went to Minecraft's launcher when you normally select it and chose to play the 1.13.2-forge-25.0204 game.

 

Then I get the picture I uploaded.

 

These are the logs, I don't know what any of it means:

 

[13May2019 20:59:42.861] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_51
[13May2019 20:59:45.486] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[13May2019 20:59:48.173] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.13.2-forge-25.0.204, --gameDir, C:\Users\amber\AppData\Roaming\.minecraft, --assetsDir, C:\Users\amber\AppData\Roaming\.minecraft\assets, --username, IrishArtist, --assetIndex, 1.13.1, --uuid, cefb1a5c21a543acbcf1b8ff7d72daa4, --accessToken, ????????, --userType, mojang, --versionType, release]
[13May2019 20:59:51.300] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: IrishArtist
[13May2019 21:00:01.144] [Client thread/INFO] [net.minecraft.client.Minecraft/]: LWJGL Version: 3.1.6 build 14
[13May2019 21:00:09.885] [Client thread/INFO] [net.minecraftforge.fml.ModLoader/CORE]: Loading Network data for FML net version: FML2
[13May2019 21:00:10.064] [modloading-worker-1/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: forge, class net.minecraftforge.common.ForgeMod
java.lang.ExceptionInInitializerError: null
    at net.minecraftforge.common.ForgeMod.<init>(ForgeMod.java:89) ~[?:?]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51]
    at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_51]
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:130) [?:?]
    at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$1300/294436333.accept(Unknown Source) [?:?]
    at java.util.function.Consumer.lambda$andThen$14(Consumer.java:65) [?:1.8.0_51]
    at java.util.function.Consumer$$Lambda$1299/695980401.accept(Unknown Source) [?:1.8.0_51]
    at java.util.function.Consumer.lambda$andThen$14(Consumer.java:65) [?:1.8.0_51]
    at java.util.function.Consumer$$Lambda$1299/695980401.accept(Unknown Source) [?:1.8.0_51]
    at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:111) [?:?]
    at net.minecraftforge.fml.ModList.lambda$null$9(ModList.java:120) [?:?]
    at net.minecraftforge.fml.ModList$$Lambda$1344/1436292329.accept(Unknown Source) [?:?]
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:1.8.0_51]
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) [?:1.8.0_51]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) [?:1.8.0_51]
    at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) [?:1.8.0_51]
    at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734) [?:1.8.0_51]
    at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160) [?:1.8.0_51]
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174) [?:1.8.0_51]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) [?:1.8.0_51]
    at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:1.8.0_51]
    at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:583) [?:1.8.0_51]
    at net.minecraftforge.fml.ModList.lambda$dispatchParallelEvent$10(ModList.java:120) [?:?]
    at net.minecraftforge.fml.ModList$$Lambda$1343/100782741.run(Unknown Source) [?:?]
    at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1386) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_51]
Caused by: java.lang.NullPointerException
    at net.minecraftforge.fml.loading.JarVersionLookupHandler.getImplementationVersion(JarVersionLookupHandler.java:42) ~[forge-1.13.2-25.0.204.jar:25.0]
    at net.minecraftforge.versions.forge.ForgeVersion.<clinit>(ForgeVersion.java:44) ~[?:?]
    ... 35 more
[13May2019 21:00:10.179] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event CONSTRUCT, 1 errors found
[13May2019 21:00:10.179] [Client thread/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.
java.lang.Exception: stacktrace
    at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:274) [eventbus-0.9.2-service.jar:?]
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:65) [?:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:412) [?:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:345) [?:?]
    at net.minecraft.client.main.Main.main(SourceFile:144) [?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.13.2-25.0.204.jar:25.0]
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$291/2017797638.call(Unknown Source) [forge-1.13.2-25.0.204.jar:25.0]
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-1.1.1.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) [modlauncher-1.1.1.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-1.1.1.jar:?]
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:57) [modlauncher-1.1.1.jar:?]
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:43) [modlauncher-1.1.1.jar:?]
[13May2019 21:00:10.212] [Client thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: forge-1.13.2-25.0.204-universal.jar, Default, NaturalRealism Resource Pack1.13.zip
[13May2019 21:00:12.280] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/]: Starting up SoundSystem version 201809301515...
[13May2019 21:00:12.579] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager/]: Initializing No Sound
[13May2019 21:00:12.579] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager/]: (Silent Mode)
[13May2019 21:00:12.657] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager/]: OpenAL initialized.
[13May2019 21:00:12.883] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Preloading sound minecraft:sounds/ambient/underwater/underwater_ambience.ogg
[13May2019 21:00:12.884] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Sound engine started
[13May2019 21:00:14.451] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/cobblestone.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:14.493] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/gravel.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:14.498] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/iron_ore.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:14.501] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/coal_ore.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:14.574] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/lapis_ore.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:14.583] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/sandstone.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:14.585] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/chiseled_sandstone.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:14.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/mossy_cobblestone.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:14.902] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/diamond_ore.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:14.997] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/redstone_ore.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:15.299] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/end_stone.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:15.315] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/emerald_ore.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:15.722] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/red_sandstone.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:15.724] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/chiseled_red_sandstone.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:15.775] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/smooth_sandstone.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:15.778] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/smooth_red_sandstone.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:15.867] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'minecraft:blockstates/grass_path.json' in resourcepack: 'NaturalRealism Resource Pack1.13.zip' for variant: 'normal': Unknown blockstate property: 'normal'
[13May2019 21:00:17.061] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384
[13May2019 21:00:18.268] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas
[13May2019 21:00:19.566] [Client thread/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event ENQUEUE_IMC, 1 errors found.
[13May2019 21:00:19.566] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event ENQUEUE_IMC, 1 errors found
[13May2019 21:00:19.566] [Client thread/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted.
java.lang.Exception: stacktrace
    at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:274) [eventbus-0.9.2-service.jar:?]
    at net.minecraftforge.fml.client.ClientModLoader.end(ClientModLoader.java:76) [?:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:479) [?:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:345) [?:?]
    at net.minecraft.client.main.Main.main(SourceFile:144) [?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.13.2-25.0.204.jar:25.0]
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$291/2017797638.call(Unknown Source) [forge-1.13.2-25.0.204.jar:25.0]
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-1.1.1.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) [modlauncher-1.1.1.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-1.1.1.jar:?]
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:57) [modlauncher-1.1.1.jar:?]
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:43) [modlauncher-1.1.1.jar:?]
[13May2019 21:00:19.638] [Client thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded
 

 

error1.JPG

Link to comment
Share on other sites

On 5/14/2019 at 12:13 AM, LexManos said:

Download the new versions of Forge from our download page: https://files.minecraftforge.net/

I downloaded the 1.13.2 just over the weekend so I could have my shaders working normally (I was using Optifine), and I was the latest version according to the site. But it hasn't been working at all. I've finally been able to actually open the game with Forge launch, but now it's just showing errors and I removed all my mods to see if that was the problem but it wasn't.

 

I already have 1.12 versions installed and I've used them in the past and they've worked fine. I don't know why 1.13.2 isn't working.

Link to comment
Share on other sites

When you say "latest version" understand that that number changes as versions are released. When people ask about it, specify what EXACT version number you're using.

The errors you have been experiancing have been fixed in 205+ So..

Update

 

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

21 hours ago, LexManos said:

When you say "latest version" understand that that number changes as versions are released. When people ask about it, specify what EXACT version number you're using.

The errors you have been experiancing have been fixed in 205+ So..

Update

 

Hey, I'm having the same error here, I've ran the installer for the latest 1.13.2 forge version, but when i run runClient, it starts forge with version 204.

--fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 25.0.204,

 

how can I tell the directory where my mod files are to use the latest version i installed

Edited by rgen
Link to comment
Share on other sites

On 5/15/2019 at 6:15 PM, LexManos said:

When you say "latest version" understand that that number changes as versions are released. When people ask about it, specify what EXACT version number you're using.

The errors you have been experiancing have been fixed in 205+ So..

Update

 

Oh! Thank you! I didn't know that.

 

Everything is working now ^-^

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I have a problem, I am trying to put two different effects to two different armors but when I run it only the emerald armor effect works. This is the code public class ModArmorItem extends ArmorItem{ private static final Map<ArmorMaterial, MobEffectInstance> MATERIAL_TO_EFFECT_MAP = (new ImmutableMap.Builder<ArmorMaterial, MobEffectInstance>()) .put(ModArmorMaterials.EMERALD, new MobEffectInstance(MobEffects.HERO_OF_THE_VILLAGE,200, 1,false,false, true)) .put(ModArmorMaterials.OBSIDIAN, new MobEffectInstance(MobEffects.FIRE_RESISTANCE,200, 1,false,false, true)).build(); public ModArmorItem(ArmorMaterial pMaterial, Type pType, Properties pProperties) { super(pMaterial, pType, pProperties); } @Override public void onArmorTick(ItemStack stack, Level world, Player player){ if (!world.isClientSide()) { if (hasFullSuitOfArmorOn(player)) { evaluateArmorEffects(player); } } } private void evaluateArmorEffects(Player player) { for (Map.Entry<ArmorMaterial,MobEffectInstance> entry : MATERIAL_TO_EFFECT_MAP.entrySet()){ ArmorMaterial mapArmorMaterial = entry.getKey(); MobEffectInstance mapStatusEffect = entry.getValue(); if (hasCorrectArmorOn(mapArmorMaterial, player)) { addStatusEffectForMaterial(player, mapArmorMaterial, mapStatusEffect); } } } private void addStatusEffectForMaterial(Player player, ArmorMaterial mapArmorMaterial, MobEffectInstance mapStatusEffect) { boolean hasPlayerEffect = player.hasEffect(mapStatusEffect.getEffect()); if (hasCorrectArmorOn(mapArmorMaterial, player) && !hasPlayerEffect) { player.addEffect(new MobEffectInstance(mapStatusEffect)); } } private boolean hasCorrectArmorOn(ArmorMaterial material, Player player) { for (ItemStack armorStack : player.getInventory().armor){ if (!(armorStack.getItem() instanceof ArmorItem)) { return false; } } ArmorItem helmet = ((ArmorItem)player.getInventory().getArmor(3).getItem()); ArmorItem breastplace = ((ArmorItem)player.getInventory().getArmor(2).getItem()); ArmorItem leggins = ((ArmorItem)player.getInventory().getArmor(1).getItem()); ArmorItem boots = ((ArmorItem)player.getInventory().getArmor(0).getItem()); return helmet.getMaterial() == material && breastplace.getMaterial() == material && leggins.getMaterial() == material && boots.getMaterial() == material; } private boolean hasFullSuitOfArmorOn(Player player){ ItemStack helmet = player.getInventory().getArmor(3); ItemStack breastplace = player.getInventory().getArmor(2); ItemStack leggins = player.getInventory().getArmor(1); ItemStack boots = player.getInventory().getArmor(0); return !helmet.isEmpty() && !breastplace.isEmpty() && !leggins.isEmpty() && !boots.isEmpty(); } } Also when I place two effects on the same armor, the game crashes. Here is the crash file. The code is the same, only this part is different   private static final Map<ArmorMaterial, MobEffectInstance> MATERIAL_TO_EFFECT_MAP = (new ImmutableMap.Builder<ArmorMaterial, MobEffectInstance>()) .put(ModArmorMaterials.EMERALD, new MobEffectInstance(MobEffects.HERO_OF_THE_VILLAGE,200, 1,false,false, true)) .put(ModArmorMaterials.EMERALD, new MobEffectInstance(MobEffects.FIRE_RESISTANCE,200, 1,false,false, true)).build(); I hope you guys can help me. Thanks.
    • I removed all related embeddium and oculus mods, i just tested it by disconnecting and the error happened again. heres the report https://pastebin.com/1kcR5wAt   EDIT: i tried removing xaeros and also smoothboot thinking there may be an issue there, nothing, heres that report too. https://pastebin.com/zQS7i9rM
    • Hi, I need suggestions. I am a beginner in Minecraft Modding. I would like to apply custom effects to some armors, something like: more chance to drop seeds, change zombie awareness, drop more pieces of wood when chopping logs, and things like that. How would you recommend me to do it, is there any library that has something similar and which ones would you recommend me?.
    • "downloading minecraft server failed, invalid Checksum. try again, or manually place server.jar to skip download"    
    • You have to create an Entity class called PlayerPart and use multiple of them to make the different parts of the player. See EnderDragonPart.java source code. The green hitboxes of the dragon are all EnderDragonParts
  • Topics

×
×
  • Create New...

Important Information

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