Started by
smmmadden
on
Topic category: Help with modding (Java Edition)
In 2024.1 a new edition to insert User Code Blocks was introduced and a screen shot showing the code, but no screenshot or information was provided on how to get to that screen. Can someone please provide the first step in getting there? The question has been asked a few times but no one has provided the answer. Thanks!
User code blocks are pre-inserted into regions of the code (into base mod files) where they are needed the most.
You can find a demo I prepared yesterday at this URL: https://twitter.com/i/status/1780317122477871431
FAQ of some questions people asked so far:
Why not do it in other class files?
Isn't it possible to let users choose where to put them?
Not sure why you posted it on Twitter. But the video goes so fast, I still cannot see what you clicked on to get the code to show up so that user code block could actually be inserted.
We do a lot of announcements on our social channels so I recommend keeping an eye on our socials ;)
I have clicked on the file name in the project file browser. Double-clicking files there opens them
okay - I don't use twitter or have an account there. I see now how you go there. Your first step was clicking on "Window" menu option, then "Show workspace file browser". That then shows all the files in the left pane. That's what I've been asking how did you get the list of files. Not an option I ever needed to use. :-)
Yes, it is more meant for users who heavily utilize custom code :)
Most unofficial MCreator discords relay posts from X/twitter. Alternatively, you can also find announcements on our YT channel or subreddit, but more important stuff is also announced on the website, of course