Skip to main content
Discovery icon for The NeoForged Project Discord server

The NeoForged Project

10,610 Online
37,955 Members
modder-1․21․1-support4 people

fixing external dependency item registration

Resolving mod loading and compilation errors when importing external mod classes and registering custom items like spears.

  • A compilation error occurred because ResourceLocation was improperly passed where Item Properties was expected in the constructor
  • Dependency version formatting in the mod configuration required updating from an unclosed range to a proper range syntax
  • Specifying a single version number acts as a recommendation, whereas bracket notation like [1.0,) defines a strict lower bound
  • Missing constructor errors occur when the arguments passed during item registration do not match the target imported class definition
Summarized from recent messages, might be inaccurate

More conversations

modder-26․3-support

block entities vs block states

user-support

troubleshooting modded Minecraft crash logs

modder-26․3-support

data maps versus data components

user-support

stablefps crash and spark profiling

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App