Move recipe gui from world to items

This commit is contained in:
Marcel Konrad
2018-07-01 13:30:24 +02:00
parent 8e9609c039
commit d8d63ed959
5 changed files with 1511 additions and 1511 deletions

View File

@@ -62,9 +62,9 @@ public class Category
{ {
registerCategory(0, "main", new Category(Contents.MAIN, Contents.CONTAINERS, Contents.MULTIPLAYER)); registerCategory(0, "main", new Category(Contents.MAIN, Contents.CONTAINERS, Contents.MULTIPLAYER));
registerCategory(1, "entities", new Category(Contents.SUMMON)); registerCategory(1, "entities", new Category(Contents.SUMMON));
registerCategory(2, "items", new Category(Contents.CUSTOM_ITEM, Contents.ENCHANTMENT)); registerCategory(2, "items", new Category(Contents.CUSTOM_ITEM, Contents.ENCHANTMENT, Contents.RECIPES));
registerCategory(3, "blocks", new Category(Contents.EDIT_BLOCKS, Contents.SIGN_EDITOR, Contents.NOTE_EDITOR)); registerCategory(3, "blocks", new Category(Contents.EDIT_BLOCKS, Contents.SIGN_EDITOR, Contents.NOTE_EDITOR));
registerCategory(4, "world", new Category(Contents.WORLD_INFO, Contents.GAMERULES, Contents.RECIPES)); registerCategory(4, "world", new Category(Contents.WORLD_INFO, Contents.GAMERULES));
registerCategory(5, "player", new Category(Contents.PLAYER, Contents.EXPERIENCE, Contents.ADVANCEMENTS)); registerCategory(5, "player", new Category(Contents.PLAYER, Contents.EXPERIENCE, Contents.ADVANCEMENTS));
registerCategory(6, "scoreboard", new Category(Contents.SCOREBOARD_OBJECTIVES, Contents.SCOREBOARD_TEAMS, Contents.SCOREBOARD_PLAYERS)); registerCategory(6, "scoreboard", new Category(Contents.SCOREBOARD_OBJECTIVES, Contents.SCOREBOARD_TEAMS, Contents.SCOREBOARD_PLAYERS));
} }

View File

@@ -129,19 +129,19 @@ public class ContentRecipes extends Content
@Override @Override
public Category getCategory() public Category getCategory()
{ {
return Categories.WORLD; return Categories.ITEMS;
} }
@Override @Override
public String getTitle() public String getTitle()
{ {
return I18n.format("gui.worldhandler.title.world.recipes"); return I18n.format("gui.worldhandler.title.items.recipes");
} }
@Override @Override
public String getTabTitle() public String getTabTitle()
{ {
return I18n.format("gui.worldhandler.tab.world.recipes"); return I18n.format("gui.worldhandler.tab.items.recipes");
} }
@Override @Override

View File

@@ -101,7 +101,6 @@ gui.worldhandler.tab.entities.summon=Beschwören
gui.worldhandler.tab.world.world=Welt gui.worldhandler.tab.world.world=Welt
gui.worldhandler.tab.world.gamerules=Spielregeln gui.worldhandler.tab.world.gamerules=Spielregeln
gui.worldhandler.tab.world.recipes=Rezepte
gui.worldhandler.tab.blocks.edit_blocks=Blöcke Ändern gui.worldhandler.tab.blocks.edit_blocks=Blöcke Ändern
gui.worldhandler.tab.blocks.sign_editor=Schilder Ändern gui.worldhandler.tab.blocks.sign_editor=Schilder Ändern
@@ -109,6 +108,7 @@ gui.worldhandler.tab.blocks.note_block_editor=Noten Ändern
gui.worldhandler.tab.items.custom_item=Item Erstellen gui.worldhandler.tab.items.custom_item=Item Erstellen
gui.worldhandler.tab.items.enchantment=Verzaubern gui.worldhandler.tab.items.enchantment=Verzaubern
gui.worldhandler.tab.items.recipes=Rezepte
gui.worldhandler.tab.containers=Container gui.worldhandler.tab.containers=Container
gui.worldhandler.tab.multiplayer=Mehrspieler gui.worldhandler.tab.multiplayer=Mehrspieler
@@ -117,6 +117,7 @@ gui.worldhandler.title.entities.summon=Beschwören
gui.worldhandler.title.items.custom_item=Item Erstellen gui.worldhandler.title.items.custom_item=Item Erstellen
gui.worldhandler.title.items.enchantment=Verzaubern gui.worldhandler.title.items.enchantment=Verzaubern
gui.worldhandler.title.items.recipes=Rezepte
gui.worldhandler.title.blocks.edit_blocks=Blöcke Ändern gui.worldhandler.title.blocks.edit_blocks=Blöcke Ändern
gui.worldhandler.title.blocks.sign_editor=Schilder Ändern gui.worldhandler.title.blocks.sign_editor=Schilder Ändern
@@ -126,7 +127,6 @@ gui.worldhandler.title.scoreboard=Anzeigetafel
gui.worldhandler.title.world.world=Welt gui.worldhandler.title.world.world=Welt
gui.worldhandler.title.world.gamerules=Gamerules gui.worldhandler.title.world.gamerules=Gamerules
gui.worldhandler.title.world.recipes=Rezepte
gui.worldhandler.title.player.player=Spieler gui.worldhandler.title.player.player=Spieler
gui.worldhandler.title.player.experience=Erfahrung gui.worldhandler.title.player.experience=Erfahrung

View File

@@ -101,7 +101,6 @@ gui.worldhandler.tab.entities.summon=Summon
gui.worldhandler.tab.world.world=World gui.worldhandler.tab.world.world=World
gui.worldhandler.tab.world.gamerules=Gamerules gui.worldhandler.tab.world.gamerules=Gamerules
gui.worldhandler.tab.world.recipes=Recipes
gui.worldhandler.tab.blocks.edit_blocks=Edit Blocks gui.worldhandler.tab.blocks.edit_blocks=Edit Blocks
gui.worldhandler.tab.blocks.sign_editor=Sign Editor gui.worldhandler.tab.blocks.sign_editor=Sign Editor
@@ -109,6 +108,7 @@ gui.worldhandler.tab.blocks.note_block_editor=Note Editor
gui.worldhandler.tab.items.custom_item=Custom Item gui.worldhandler.tab.items.custom_item=Custom Item
gui.worldhandler.tab.items.enchantment=Enchantment gui.worldhandler.tab.items.enchantment=Enchantment
gui.worldhandler.tab.items.recipes=Recipes
gui.worldhandler.tab.containers=Containers gui.worldhandler.tab.containers=Containers
gui.worldhandler.tab.multiplayer=Multiplayer gui.worldhandler.tab.multiplayer=Multiplayer
@@ -117,6 +117,7 @@ gui.worldhandler.title.entities.summon=Summon
gui.worldhandler.title.items.custom_item=Custom Item gui.worldhandler.title.items.custom_item=Custom Item
gui.worldhandler.title.items.enchantment=Enchantment gui.worldhandler.title.items.enchantment=Enchantment
gui.worldhandler.title.items.recipes=Recipes
gui.worldhandler.title.blocks.edit_blocks=Edit Blocks gui.worldhandler.title.blocks.edit_blocks=Edit Blocks
gui.worldhandler.title.blocks.sign_editor=Sign Editor gui.worldhandler.title.blocks.sign_editor=Sign Editor
@@ -126,7 +127,6 @@ gui.worldhandler.title.scoreboard=Scoreboard
gui.worldhandler.title.world.world=World gui.worldhandler.title.world.world=World
gui.worldhandler.title.world.gamerules=Gamerules gui.worldhandler.title.world.gamerules=Gamerules
gui.worldhandler.title.world.recipes=Recipes
gui.worldhandler.title.player.player=Player gui.worldhandler.title.player.player=Player
gui.worldhandler.title.player.experience=Experience gui.worldhandler.title.player.experience=Experience

View File

@@ -101,7 +101,6 @@ gui.worldhandler.tab.entities.summon=召唤
gui.worldhandler.tab.world.world=世界 gui.worldhandler.tab.world.world=世界
gui.worldhandler.tab.world.gamerules=游戏规则 gui.worldhandler.tab.world.gamerules=游戏规则
gui.worldhandler.tab.world.recipes=配方
gui.worldhandler.tab.blocks.edit_blocks=编辑方块 gui.worldhandler.tab.blocks.edit_blocks=编辑方块
gui.worldhandler.tab.blocks.sign_editor=告示牌编辑器 gui.worldhandler.tab.blocks.sign_editor=告示牌编辑器
@@ -109,6 +108,7 @@ gui.worldhandler.tab.blocks.note_block_editor=音符编辑器
gui.worldhandler.tab.items.custom_item=给予自定义物品 gui.worldhandler.tab.items.custom_item=给予自定义物品
gui.worldhandler.tab.items.enchantment=附魔 gui.worldhandler.tab.items.enchantment=附魔
gui.worldhandler.tab.items.recipes=配方
gui.worldhandler.tab.containers=容器 gui.worldhandler.tab.containers=容器
gui.worldhandler.tab.multiplayer=多人 gui.worldhandler.tab.multiplayer=多人
@@ -117,6 +117,7 @@ gui.worldhandler.title.entities.summon=召唤
gui.worldhandler.title.items.custom_item=给予自定义物品 gui.worldhandler.title.items.custom_item=给予自定义物品
gui.worldhandler.title.items.enchantment=附魔 gui.worldhandler.title.items.enchantment=附魔
gui.worldhandler.title.items.recipes=配方
gui.worldhandler.title.blocks.edit_blocks=编辑方块 gui.worldhandler.title.blocks.edit_blocks=编辑方块
gui.worldhandler.title.blocks.sign_editor=告示牌编辑器 gui.worldhandler.title.blocks.sign_editor=告示牌编辑器
@@ -126,7 +127,6 @@ gui.worldhandler.title.scoreboard=记分板
gui.worldhandler.title.world.world=世界 gui.worldhandler.title.world.world=世界
gui.worldhandler.title.world.gamerules=游戏规则 gui.worldhandler.title.world.gamerules=游戏规则
gui.worldhandler.title.world.recipes=配方
gui.worldhandler.title.player.player=玩家 gui.worldhandler.title.player.player=玩家
gui.worldhandler.title.player.experience=经验等级 gui.worldhandler.title.player.experience=经验等级