improve cheat gui scrollbar

This commit is contained in:
Sen 2025-06-26 23:46:39 +02:00
parent bf54705350
commit 1e104d5db8
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
5 changed files with 33 additions and 89 deletions

View file

@ -41,11 +41,21 @@ public enum CheatTab {
return Items.diamond_block;
}
},
SPAWNERS("Mob & Itemspawner") {
VEHICLES("Fahrzeuge und Fortbewegung") {
protected Item getIconItem() {
return Items.minecart;
}
},
SPAWNERS("Mob & Itemspawner") {
protected Item getIconItem() {
return Items.wheat;
}
},
NPCS("NPC- und Charakterspawner") {
protected Item getIconItem() {
return Items.book;
}
},
TOOLS("Werkzeug") {
protected Item getIconItem() {
return Items.flint_and_steel;

View file

@ -24,7 +24,7 @@ public class ItemBoat extends Item
public ItemBoat()
{
this.setMaxAmount(1);
this.setTab(CheatTab.SPAWNERS);
this.setTab(CheatTab.VEHICLES);
}
/**

View file

@ -22,7 +22,7 @@ public class ItemMinecart extends Item
{
this.setMaxAmount(1);
this.minecartType = type;
this.setTab(CheatTab.SPAWNERS);
this.setTab(CheatTab.VEHICLES);
// if(type != EntityMinecart.EnumMinecartType.COMMAND_BLOCK)
}

View file

@ -35,7 +35,7 @@ public class ItemNpcSpawner extends Item
public ItemNpcSpawner(CharacterInfo spawned)
{
// this.setHasSubtypes(true);
this.setTab(CheatTab.SPAWNERS);
this.setTab(CheatTab.NPCS);
this.spawned = spawned;
}