I was making a mod and my mod isnt starting

Started by swippyBG on

Topic category: Help with modding (Java Edition)

Last seen on 14:59, 6. Sep 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was making a mod and my mod isnt starting

If I try it says this

Executing Gradle task: runClient
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 23916 MB, Windows 10, JVM 11.0.11, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Task :compileJava
C:\Users\user\Desktop\second\src\main\java\net\mcreator\second\procedures\ARightClickedOnBlockProcedure.java:11: error: cannot find symbol import net.mcreator.second.potion.SpideyAbilityPotionEffect;
^
symbol: class SpideyAbilityPotionEffect
location: package net.mcreator.second.potion
C:\Users\user\Desktop\second\src\main\java\net\mcreator\second\procedures\ErvftbygftnytnghnjmhjkmiukmtfdxzfgumProcedure.java:13: error: cannot find symbol import net.mcreator.second.potion.SpideyAbilityPotionEffect;
^
symbol: class SpideyAbilityPotionEffect
location: package net.mcreator.second.potion
C:\Users\user\Desktop\second\src\main\java\net\mcreator\second\procedures\ARightClickedOnBlockProcedure.java:48: error: cannot find symbol if (effect.getPotion() == SpideyAbilityPotionEffect.potion)
^
symbol: variable SpideyAbilityPotionEffect
C:\Users\user\Desktop\second\src\main\java\net\mcreator\second\procedures\ErvftbygftnytnghnjmhjkmiukmtfdxzfgumProcedure.java:62: error: cannot find symbol ((LivingEntity) entity).addPotionEffect(new EffectInstance(SpideyAbilityPotionEffect.potion, (int) 10000, (int) 1, (false), (false)));
^
symbol: variable SpideyAbilityPotionEffect
location: class net.mcreator.second.procedures.ErvftbygftnytnghnjmhjkmiukmtfdxzfgumProcedure
4 errors
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec…
BUILD FAILED in 3s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 3 seconds

Please help tank you

Last seen on 14:59, 6. Sep 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tank you so much  
Wed, 11/24/2021 - 19:17

Tank you so much