Minecraft Data Packs / Tool

Custom GUI Framework

  • check_circle Functions
  • 4,763 views, 2 today
  • 276 downloads, 0 today
  • 17
  • 12
  • 4
Cloud_Wolf's Avatar Cloud_Wolf
Level 49 : Master Engineer
118

How it Works 💡


This repo provides example datapacks for coding GUIs using barrels, minecart chests, and ender chests! There are tons and tons of comments provided to help explain what each line of code does, and you can watch the youtube video to get a better idea of what each module / key component is meant to do.
The resource pack provides you with assets for building your own GUIs to use with the datapacks.


How to Use 📝


The main modifications I suggest is to add / remove pages under functions/ui/refresh in the lines that check for the ui.page score. Those lines simply redirect to the page it is on. Then I suggest adding / removing the folders in the pages folder and forming commands similar to the provided examples, supplying it with logic for what items to return, what items are input / output and what slots are meant to be buttons. The youtube video covers how to do this quite extensively.


Contributors 🧱

width=100px;
🔨 Cloud Wolf
width=100px;
💡 Misode

CreditMisode
CompatibilityMinecraft 1.18
Tags

Create an account or sign in to comment.

2
02/10/2022 8:40 pm
Level 3 : Apprentice Explorer
_snowy_creeper_
_snowy_creeper_'s Avatar
Really cool, but I hope it gets more user friendly!
2
02/11/2022 10:04 am
Level 49 : Master Engineer
Cloud_Wolf
Cloud_Wolf's Avatar
It is currently quite easy to use especially considering just how ridiculously versatile it is. It accounts for almost everything u could ever need in a UI. I do have a minor side project of building a website generator for it but its not easy to get the HTML/JS interface looking nice
1
02/10/2022 5:13 pmhistory
Level 47 : Master Carrot
Z0rillac
Z0rillac's Avatar
Noice I know you from youtube and the next post is mine and there is code from you into lol
2
02/10/2022 6:56 pm
Level 49 : Master Engineer
Cloud_Wolf
Cloud_Wolf's Avatar
Thanks, I sometimes post content from my yt that I think would be alright on PMC. Not tutorials but library stuff like this.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome