Posted September 11, 20205 yr The crafting table wont open when after left clicking it by mod and mod file code. https://filebin.net/p72kibn0lp585amj
September 11, 20205 yr Its not really helpful to copy paste code from youtube tutorials, as you won't understand what the code does... in your ModClientEvents class there is an event listener set up to prevent the crafting table GUI from showing up, this one: @SubscribeEvent (priority = EventPriority.HIGHEST) public static void onCraftingTableOpen(GuiOpenEvent event) { if (event.isCancelable()) { if (event.getGui() instanceof CraftingScreen) { event.setCanceled(true); Tutorial.LOGGER.info("Player tried to open a crafting table!"); } } } Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
March 4, 20214 yr Author ok thanks.... sry i didnt reply earlier but ya know, i didnt get a notification which now i understand why. This is super useful thx.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.