Removing Vanilla GUI's

Started by DerdiedasJan on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Removing Vanilla GUI's

I would like to Overhaul the Potion Brewing system from Vanilla But id like to Keep the Brewing stand in the Game, so my Solution was just Removing the Brewing Stand GUI or the Ability to Open the GUI however im Fairly new to MCreator and ive never Removed or Replaced a Vanilla Feature. 

Can someone Help me with this?

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can show instead your…
Fri, 09/15/2023 - 20:18

You can show instead your custom GUI.

You can cancel the GUI Open Event with Global Triggers and show instead your custom GUI.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@SparkleArts how? I'm trying…
Sun, 02/04/2024 - 23:21

@SparkleArts how? I'm trying to do the same thing with an enchanting table. I made a blank GUI called "Test" just to try and see if I can open that instead upon opening the enchanting table, and nothing I do works. I don't see a "GUI Open Event" global trigger, and when I do "Player right clicks block" followed by if [Is Block [Get block at x: (x) y: (y) z: (z)] the same block as (enchanting_table)]] do (open the GUI) nothing happens there either.

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to use the "Player…
Mon, 02/05/2024 - 19:25

You need to use the "Player right clicks block" Event then check if the Player right clicks a specific Block (for example Enchantment Table or Brewing Stand).

After that cancel the Event with the "Cancel event that triggered global trigger" found in the Category "Advanced". After that you can open your gui.

Here is the Preview Demonstration in simple text:

[Player right clicks block global trigger]
[if [is (provided blockstate) the same block as [SpecificBlockYouChoose]]
do:
[cancel event that triggererd global trigger]
[Open GUI (YourGUI) for (event/target entity) pass location x: (x) y: (y) z: (z)]
]
 

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This did not work for me. I…
Wed, 02/07/2024 - 01:52

This did not work for me. I even tested the GUI by just removing the if statement so the GUI opens upon right clicking any block... and no dice for the Enchanting Table, or any other block with GUI. Are we perhaps using different versions of MCreator or something?