How to make multi slot buttons using Oraxen/Nexo
and probably something like command panels idk yet
61 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by yournotluis#0
Realistically youβd have a certain group of buttons all execute one command
I dont want to slice the texture tho :sad:
Youβd have to figure out which button is for which
so much work :waaa:
Those are not done with different textures
Well, haven't used Nexo, but in oraxen i think custom menus were not possible (correct me if I'm wrong)
That was done via manually editing a character in the rp
im planning on using another plugin for the menu, mainly the texture part rn
Like, adding one character in the title that will hold the full texture with the size to cover the inventory
Giving the impression of being a custom menu
hm
I learned how to do that in a tutorial before doing it with plugins, let me look for that
ive done custom guis before
but for example this right
it looks like they actually have multi slot buttons
What they usually do (at least the way I know) is to give the items in those slots an invisible texture
And the same command for those that are on the same "button"
mh would make sense
let me join a test server with something like that rq and see how they do it lol
I think origin realms had those custom menus
okay yea its just invisible items
Yup
That saves you the time from cropping each invidiual texture
sad I thought there would be some cooooool way to do it
You can animate it, I haven't seen a server doing that yet
this is the farthest I can get with pixel art, animation would NOT make it better π
Not that cool, but original at the very least
yh...
still animating is a lot of work regardless
Yeaaa pixel art definetly
If I were to animate that, I'll probably just make the flag move a little
yea
Still, that will depend on finding a plugin that changes the title while it's being used, which I haven't seen yet
-# Haven't even look for one tbh
I mean you can just animate the texture
This wont win a beauty contest either way lol
Animation doesn't work on glyphs afaik
was wondering if you could help me, this is some code i copied from the oraxen docs but the item does not turn invisible, would you know why?
Do you have an empty particle.png in that location?
yup
Not sure then
Howβs the item being displayed?
would you have to tho?
just make them stained glass with &r
and only have one with texture
that is aligned correctly
Just regular paper
I found a solution already now just need to make my paper invisible lol
oh so basically the same just a different item fair enough
Yea it just refuses to turn invisible:catfire:
What command are you using to get the item?
And what version are you using?
Oraxen kind of broke down completely after boy left, and to add up, custom_model_data changed in 1.21.4
Im using whatever ends on 6 and im using /o give
Also im on version 1.21.1
Try with this one
/minecraft:give @s minecraft:paper[minecraft:custom_model_data=1000]
I did also try that and it still used the default model
The issue is on the resourcepack then
Im not home rn but when i am ill try to make a texture with alpha Being at 1 instead of 0 maybe it fixes it
The item is being created, so maybe they changed were custom_model_data should be placed on the yml?
I have it on auto generate model data
Not sure then tbh
This is my item code, idk maybe you see something wrong with it, the model data part was added by oraxen
Haven't used oraxen in like a year, I'm not sure :duckfast:
Everything looks in order from what I remember
I'd check if the resourcepack is being properly generated
Allright ill go through everything we said in here again when im home
uh ive gotten SOMEWHERE at least
RAAHHHH
This was definitely possible with oraxen
Not all that intuitive
Nor well documented
But possible nonetheless
With possible I meant that it has an in-built system to do it
Well yeah oraxen doesnβt provide custom menus, thatβs well outside the scope of any resource pack plugin
What it does provide is glyphs
Which can be used quite literally anywhere
From back when I used it, making a custom gui required knowing how those work internally, like manually getting the measurements and so
ehhh with oraxen itβs pretty simple
Just make a deluxemenu, change the shifts until it looks right, call it a day
Yh, basically this
Ftr I didnβt read the whole thread lol
Just read that one comment and was like βbut wait I did thisβ
Same as doing it in vanilla, but using oraxen language
Yh, dw
It was a long thread
Doing it in vanilla is painful
In my opinion
Though others would argue itβs βso simpleβ
Definitely more painful
I used to do that before learning that plugins can handle all that hassle