Jump to content

Recommended Posts

Posted

On 1.11 when subscribing to a RegistryEvent#Registry<Block> and registering a block with name minecraft:ice, it throws an exception to the console saying that two objects have been registered with the same name while on 1.12 it just overwrites the already existing entry. How can I overwrite a registry entry on 1.11?

Posted
Just now, diesieben07 said:

Update to 1.12.2.

I have, but since quite some users still use 1.11, I can only imagine because they use abandoned mods, I am downgrading my mod from 1.12 to 1.11.

I am currently trying it with reflection, but it's starting to look real ugly.

Posted
2 hours ago, diesieben07 said:

It does not work properly on 1.11 as far as I know. Don't encourage people to stay on outdated versions... 

i tried overwriting the farmland block in 1.13.2 with the result of an runtime exception - illegal vanilla overwrite or smth like that, changed my code since then don't remember exactly

Posted
35 minutes ago, Yamahari said:

i tried overwriting the farmland block in 1.13.2 with the result of an runtime exception - illegal vanilla overwrite or smth like that, changed my code since then don't remember exactly

On 1.12, and I suppose higher as well, it works by just registering a block or item with an already existing name. On 1.11 however, that is not the case.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.