#Unregister vanilla creative inventory tab (1.21)
71 messages · Page 1 of 1 (latest)
Why would you even want to remove a vanilla creative tab
rewriting it to pre 1.20 style
No, I want to remove the tab entirely and make a new tab in its place
And what would the difference be
Why
hard to explain
I don't even think regedit can do this lol
i just want to most vanilla creative tab
and add my own tabs
my own tabs are already added
just wanted to remove vanilla so that only my tabs display
since i want less tabs in total
And what did you add in your tabs
less items
You do realize that they will still be obtainable with /give
yes
i know
but
they wont
because the mod is meant to be used on a viaversion server
the server is 1.8 but the mod is 1.20, i want to remove 1.20 items from the creative inventory
What
You do realize that there are a lot of problems with trying to write a mod for 1.8 in 1.20, right?
The reason doesn't matter, I just want to remove vanilla creative tabs
Yes it does
You're assuming something which is fundamentally wrong
How does the reason of removing creative tabs matter?
You pretty much cannot write a mod for 1.8 in 1.20
The mod is client only
What does the mod do
Rewrite the creative inventory to remove items added after 1.8
- ItemGroups are not client-only
- #1251594727799918775 message
Yes, but the creative inventory is client only
This still applies
You should just write the mod for 1.8 instead
It would be very unlikely that the mod would work for 1.8 to 1.20
It's intended to be used on Hypixel's Housing gamemode
which allows you to join on 1.20
but you can only use 1.8 blocks
since it also allows you to use 1.8
I just want to remove vanilla creative tabs
and thats it
Write a mixin into creativeInventory, I guess
And WrapWithCondition and return false if you don't need the ItemGroup
Is there a way to unregister an item in a registry
Yes, but you have to use regedit
Again, ItemGroups are both client and server
So for the purposes of this mod, you cannot
from looking at wiki.vg it doesnt seem the server and client ever communicates that registry
Uh, I think they do
ye
So wait, I'm kinda new to fabric, what is regedit in the context of fabricmc, I only know about Window 10's regedit
!!mr regedit
oh a mod
chief im on 1.21
looking at the source code, doesnt seem like it