How do I delete/unset the references that are still present?

Started by TheArchVillager on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 17:00, 20. Feb 2024
Joined Oct 2023

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I delete/unset the references that are still present?

My mod has a compilation error. This is what the console says:


Executing Gradle task: build
Build info: MCreator 2023.3.36712, forge-1.20.1, 64-bit, 16075 MB, Windows 11, JVM 17.0.7, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-10-21-10:38:10

Task completed in 5 minutes and 12 seconds

> Task :compileJava FAILED
C:\Users\redacted\MCreatorWorkspaces\weaponfull_mod\src\main\java\net\mcreator\weaponfullmod\init\ error: cannot find symbol .add(new BasicItemListing(new ItemStack(WeaponfullModModItems.SILVER_COIN.get(), 3), new ItemStack(WeaponfullModModItems.BRONZE_COIN.get(), 6), new ItemStack(WeaponfullModModItems.DELETED_MOD_ELEMENT.get()), 3, 5, 0f));
symbol: variable DELETED_MOD_ELEMENT
location: class WeaponfullModModItems
1 error
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
1 actionable task: 1 executed

Task completed in 4 seconds


Somone told me to delete/unset the references that are still present. How do I do that?

Check your villager trade…
Sat, 10/28/2023 - 10:59

Check your villager trade mod elements, one of them is referencing a deleted mod element. Delete this broken reference and select some other block or delete this trading entry.

Advice regarding this forum: splitting topic into new topic instead of continuing the discussion severely reduces chances you will get answer as it splits knowledge and users to two pages