Started by
DerdiedasJan
on
Topic category: Help with Minecraft modding (Java Edition)
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?
You can show instead your custom GUI.
You can cancel the GUI Open Event with Global Triggers and show instead your custom GUI.
@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.
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)]
]
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?