Gun's Skyblock Mod
- 8 Devlogs
- 41 Total hours
I'm creating a mod for hypixel skyblock
I'm creating a mod for hypixel skyblock
Managed to get the enderchest UI to actually display the amount of items in the stack. Click handling is so much cleaner now….
I’ve improved my enderchest UI (still have to add backpack UI) but its a bit buggy right now. Working on improving it by not being stupid and just using the functions mojang provided. Idk why I didn’t before lol
I found that the storage gui felt old and boring and so I made my own. If you click on Ender Chest it runs the /ec 1 command to open the first ender chest page. You can use the buttons that are built into it to go to over pages. The numbers correspond to backpacks. Clicking 1 does /bp 1. (Took a long time because it was supposed to look like firmaments where it is all the pages shown at once but I couldn’t do that)
I realised a crucial error! Slot locking wasn’t permanent. After an hour and a half of hard work I’ve managed to make slot locking permanent. Now whenever a slot is locked the slot number is written into a file that lives in the config file of minecraft folder. When the slot is unlocked it is deleted from the file. I had to spend a while making sure that it only locks slots when on Hypixel Skyblock but now when you join, it reads all the slots in the file and locks those slots.
Custom scoreboard. I thought that the default scoreboard looked pretty dull. It had a lack of colours, boring font, no pop so I added my own custom scoreboard. I used ‘§’ quite a lot to change how the text looked. Overall, I am quite pleased with how it turned out. (I had to change to a random ironman coop profile I’m part of so that I could show that it shows objectives). It works by having a file which reads data from tab (which has the bank and other details) and another file which reads from the default tab (We can’t see the default tab but it’s data still exists)
Slot locking. I’ve always had a problem of dropping items when changing tabs as alt is my drop key (as i said last time) so i added slot locking. Pressing L whilst hovering over an item in your inventory locks the slot. When a slot is locked the item inside it can’t be picked up or dropped (this includes when inventory is closed). Trying to drop an item which is slot locked will result in a message which only you can see that tells you the slot is locked. The slot can be unlocked by pressing L while hovering over it again. When your inventory is open a translucent lock icon is over whichever items / slots are locked.
How it works:
When i go to drop and item, it checks whether the slot the item is in is locked. If it is then it cancels the drop. Same logic applies when trying to move it around in my inventory with mouse
Items now show prices when hovering over them. Insta sell and insta buy for bazaar items and lbin for ah items. (removed things from inventory because alt is my drop key and was scared to drop item when alt tabbing)
Managed to set up the base stuff so now I can open minecraft from VS Code and be logged into my account and join hypixel. This will be ESSENTIAL in helping me develop the mod