improve cheat gui scrollbar
This commit is contained in:
parent
bf54705350
commit
1e104d5db8
5 changed files with 33 additions and 89 deletions
|
@ -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;
|
||||
|
|
|
@ -24,7 +24,7 @@ public class ItemBoat extends Item
|
|||
public ItemBoat()
|
||||
{
|
||||
this.setMaxAmount(1);
|
||||
this.setTab(CheatTab.SPAWNERS);
|
||||
this.setTab(CheatTab.VEHICLES);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue