Can you make "Coremods"?

Started by woodcraft on

Topic category: Help with modding (Java Edition)

Last seen on 01:35, 18. Apr 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you make "Coremods"?

Hey, i was wondering how or if you could make extensions to a mod. Let's say I am using variables to selectively unlock sections and i want to transfer these over to another mod. So in-short can you make variables interact with other mods or are tags the only thing?

Last seen on 01:35, 18. Apr 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bump
Sun, 06/13/2021 - 22:55

bump

Last seen on 08:14, 28. Nov 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
uh, your usage of the term …
Sun, 06/13/2021 - 23:17

uh, your usage of the term "coremods" might be inaccurate; the words you could be looking for instead might be: library mod (most commonly) or core mod (notice how there's a space there).

here's why: "coremod" is a term used for a special tool, or a part within a mod, that can be utilized to change virtually any part of the game, but they're not necessarily the "core" for other mods plus they come in JSON file format iirc, which mods don't use coz all mods are JAR files.

here's an explanation from the Minecraft Forge forums:

diesieben07

Coremods are an incredibly powerful tool allowing you to modify the bytecode of every class loaded by the game. However, like any powerful tool, it needs to be used responsibly or things will go haywire, even if at first sight everything works fine.

mods that contain shared data between mods depending on it are usually referred to as "library mods" by devs. but in making a library/core mod within MCreator, I'm not sure how it's done without code. correct me if I'm wrong, anyone, but tags are the only things that allow you to have "shared properties" between mods that depend on a core and made with MCreator, for now. so if you want more advanced support, you could try coding one yourself if you're up to that challenge!