Change registry name [solved]

Started by CCC_Studio on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change registry name [solved]
Mon, 12/09/2024 - 16:50 (edited)

How to change the registry name of a mod element (the thing that displays as “mod_name:registry_name”)

Edited by CCC_Studio on Mon, 12/09/2024 - 16:50
Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Right-click the modelement…
Wed, 12/04/2024 - 12:06

Right-click the modelement and choose "Edit registry names..."

 

But this is really NOT recommended, a safe way is to duplicate the element and give it the new name (and registry name).

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes, but I'd like it to have…
Wed, 12/04/2024 - 17:28

yes, but I'd like it to have underscores, when I create a modelement “old_gate” (example), the registry name is “oldgate”.

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Like he said before,…
Sun, 12/08/2024 - 22:23

Like he said before, duplicate the Element instead of changing its registry name, because this will give it a new Registry name. You will have to replace any reference to that element though within procedures and what not. Also to get the underscores, when naming your element just use Capitals to identify where a Underscore or space between words should be. So for example if i named my element "OldGate" then its registry name would come out as "old_gate"

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, thanks i going to do this
Mon, 12/09/2024 - 16:49

Ok, thanks i going to do this