Skip to content

Conversation

@LitleProgrammer
Copy link
Owner

Made base functionality of this API.

You are now able to create a simpleGUI with up to 3 buttons and some text.
Checkout the single merges to learn more on what changed exactly.

- Added a button component
- Made button fixed in front of the player
- Made difference between 1.20.1 and 1.20.2 in the method used to move the display
- Changed the way the API will work later
- Is now not a plugin anymore but just a gradle project
- Added a class for GuiEvents
- Moved some code around
- Actually tried to do OOP
- Added stuff to the GUI class to make it a gui
- Added method for opening, closing gui
- Added support for multiple buttons
- Got stuck on a math problem where I have to calculate the position of 2 buttons in 3d space depending on the players position
- Made the gui buttons align on a circle around the player, so they are always in front of the player
- Changed it back to a plugin, to make testing easier
- Made the click check work (Might want to change the event to something where I can get the left and th right click)
- Clicking on a button is working now
- Made moving the gui only if the user laves a specified angle
- Added an hover and unhover event to let the user customize stuff when hovering over the buttons
- Made the button text change if the user hovers it
- Fixed a bug, where the click event could return null if it wasn't specified
- Added functionality to texts
- Added option to change size to button and text
- Added some pages to the wiki
- Changed the code for the command to mirror the code in the wiki
- Changed from plugin to API
- Fixed some minor problems
- Text is working fine
@LitleProgrammer LitleProgrammer merged commit e065dbb into master May 12, 2024
@LitleProgrammer LitleProgrammer deleted the dev/base-functions branch May 17, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants