How do I add a function to a block

Started by ZommerYoutube on Mon, 12/26/2016 - 20:22

Topic category: Advanced modding

Last seen on 21:40, 3. Jan 2017
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I add a function to a block
Mon, 12/26/2016 - 20:22

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

Last seen on 23:21, 14. Apr 2019
Joined Jul 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You need to create a GUI and
Mon, 12/26/2016 - 22:19

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
 

Last seen on 21:40, 3. Jan 2017
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This Mod Is For Minecraft 1.10.2
Thu, 12/29/2016 - 06:40

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.

Last seen on 21:40, 3. Jan 2017
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I already know how to create
Thu, 12/29/2016 - 15:53

I already know how to create a GUI but I dont know how can I put the function of "Clean" that I want...

Last seen on 03:09, 16. Apr 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just make the block so that…
Wed, 04/15/2020 - 20:37

Just make the block so that when you right click and gui pops up then hook the function to the gui

Last seen on 01:01, 4. Dec 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The only recent version of…
Wed, 04/15/2020 - 21:35

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...