Started by
ZommerYoutube
on
Topic category: Advanced modding
I want to now if it´s possible to add a function to a block... for example I have an item that is dirty so I want to clean it in a machine called "Cleaner" and I need that this block has an interface like the furnance. So I put the dirty item with coal and the Cleaner cleans it.
I dont now if I need to programate this or if there is an option to do this in Mcreator
You need to create a GUI and hook it up to your block. It depends what version you have because some of the versions have a messed up/buggy GUI
The mod is going to be for Minecraft 1.10.2....do you think I'll have problems?
I have other question....How do I create a gui in Mcreator and if a I can personalize the shapes like Industrial Craft that has different shapes for each machine.
I already know how to create a GUI but I dont know how can I put the function of "Clean" that I want...
Just make the block so that when you right click and gui pops up then hook the function to the gui
The only recent version of MCreator that has clean and working GUI is the 2020.2.
This version is not compatible with Minecraft 1.10.2 (oldest compatible version is 1.12.2) so sorry but you need to move to 1.12.2 if you want a compatible GUI. I personnaly don't provide support for oldest versions of MCreator...
Make two versions of the item: a clean and a dirty one. Then make a crafting recipe for your new gui that takes in the dirty item and outputs a clean one