#Unregister vanilla creative inventory tab (1.21)

71 messages · Page 1 of 1 (latest)

alpine holly
#

Is there a way to remove a vanilla creative inventory tab? I can only seem to figure out how to add tabs, not remove tabs.

hollow vessel
#

Why would you even want to remove a vanilla creative tab

alpine holly
hollow vessel
#

But why

#

So you don't want to remove the tab entirely, just reorder the entries

alpine holly
hollow vessel
#

And what would the difference be

alpine holly
#

removing 1.20 items from the tab

#

and also every item added after 1.8

hollow vessel
#

Why

alpine holly
#

hard to explain

hollow vessel
#

I don't even think regedit can do this lol

alpine holly
#

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

hollow vessel
#

And what did you add in your tabs

alpine holly
hollow vessel
#

You do realize that they will still be obtainable with /give

alpine holly
#

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

hollow vessel
#

What

#

You do realize that there are a lot of problems with trying to write a mod for 1.8 in 1.20, right?

alpine holly
#

The reason doesn't matter, I just want to remove vanilla creative tabs

hollow vessel
#

Yes it does
You're assuming something which is fundamentally wrong

alpine holly
#

How does the reason of removing creative tabs matter?

hollow vessel
#

You pretty much cannot write a mod for 1.8 in 1.20

alpine holly
#

The mod is client only

hollow vessel
#

What does the mod do

alpine holly
#

Rewrite the creative inventory to remove items added after 1.8

hollow vessel
alpine holly
hollow vessel
alpine holly
#

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

hollow vessel
#

Then just play on 1.8

#

Sorry, I really don't understand what the problem is

alpine holly
#

and thats it

hollow vessel
#

Write a mixin into creativeInventory, I guess

#

And WrapWithCondition and return false if you don't need the ItemGroup

alpine holly
hollow vessel
#

Yes, but you have to use regedit

#

Again, ItemGroups are both client and server

#

So for the purposes of this mod, you cannot

alpine holly
hollow vessel
#

Uh, I think they do

alpine holly
#

That's part of fabric

hollow vessel
#

My bad

#

Then you can just install the client-side mod that removes that

alpine holly
#

ye

alpine holly
hollow vessel
#

!!mr regedit

vernal heronBOT
alpine holly
#

oh a mod

hollow vessel
#

I probably spelled it wrong lmao

#

No wait I did it correctly

alpine holly
hollow vessel
#

No idea then ¯_(ツ)_/¯

#

I'm not even sure if regedit supports ItemGroups

alpine holly
hollow vessel
#

Then just make a mixin into CreativeInventoryScreen and stop the ItemGroups from rendering

#

Or something