Hello!
I have big problems with the duplicate element option which I use a lot. When I duplicate an element and change a little the new one, and then refresh the workspace (rebuild), the duplicated element goes back to where it was duplicated (the same as the element copied).
I use a lot the duplicate feature because when we create a new element, when we insert a _ in the name, it's removed automatically in the registery name. But when we duplicate an element, the _ doesn't disapear and stays in the registery name.
Issue comments
Yes I know that I can change the registery name with the option but I have to wait everytime to rebuild the mod. So my suggestion is to keep the _ in the name when we create a new element instead of removing it.
For the duplication yes I do that but for me it always return to the copied thing. It tested one more time and it looks like it works only when I duplicate a duplicated element.
I created a video of a fresh new workspace : we can see that when we duplicate a duplicated element, the first duplicated element return to the state where it was the same as the first element.
Sorry for the bad quality of the video:
I created a video of a fresh new workspace : we can see that when we duplicate a duplicated element, the first duplicated element return to the state where it was the same as the first element.
Sorry for the bad quality of the video:
Big thanks for the video, this helped me locate the bug. I will fix this bug in 2020.3.
Yes I know that I can change the registery name with the option but I have to wait everytime to rebuild the mod. So my suggestion is to keep the _ in the name when we create a new element instead of removing it.
I will make that MCreator 2020.3 upwards will generate snake-cased registry names from camel-cased mod element names for new mod elements.
Using _ in Java file names is against conventions.
I did this:
Am I missing any steps?
For this, I recommend you do the following: