aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/plugin
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-06-06 18:36:51 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-06-06 18:36:51 +0800
commit98c2c0f1af8b264cfce5c005f4694318cce001b2 (patch)
tree5a7aaa389ddbf86ae2e4fed06fa40e8d427c8bae /src/main/java/me/shedaniel/rei/plugin
parent36609262e4014e976523130bf26879eac2e90e19 (diff)
downloadRoughlyEnoughItems-98c2c0f1af8b264cfce5c005f4694318cce001b2.tar.gz
RoughlyEnoughItems-98c2c0f1af8b264cfce5c005f4694318cce001b2.tar.bz2
RoughlyEnoughItems-98c2c0f1af8b264cfce5c005f4694318cce001b2.zip
alterative solution to the working stations
Diffstat (limited to 'src/main/java/me/shedaniel/rei/plugin')
-rw-r--r--src/main/java/me/shedaniel/rei/plugin/DefaultPlugin.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/me/shedaniel/rei/plugin/DefaultPlugin.java b/src/main/java/me/shedaniel/rei/plugin/DefaultPlugin.java
index ce60a55a9..3815b35b9 100644
--- a/src/main/java/me/shedaniel/rei/plugin/DefaultPlugin.java
+++ b/src/main/java/me/shedaniel/rei/plugin/DefaultPlugin.java
@@ -235,13 +235,13 @@ public class DefaultPlugin implements REIPluginEntry {
@Override
public void registerOthers(RecipeHelper recipeHelper) {
- recipeHelper.registerWorkingStations(CRAFTING, Items.CRAFTING_TABLE.getDefaultStack(), Items.CAKE.getDefaultStack());
- recipeHelper.registerWorkingStations(SMELTING, Items.FURNACE.getDefaultStack());
- recipeHelper.registerWorkingStations(SMOKING, Items.SMOKER.getDefaultStack());
- recipeHelper.registerWorkingStations(BLASTING, Items.BLAST_FURNACE.getDefaultStack());
- recipeHelper.registerWorkingStations(CAMPFIRE, Items.CAMPFIRE.getDefaultStack());
- recipeHelper.registerWorkingStations(BREWING, Items.BREWING_STAND.getDefaultStack());
- recipeHelper.registerWorkingStations(STONE_CUTTING, Items.STONECUTTER.getDefaultStack());
+ recipeHelper.registerWorkingStations(CRAFTING, new ItemStack(Items.CRAFTING_TABLE));
+ recipeHelper.registerWorkingStations(SMELTING, new ItemStack(Items.FURNACE));
+ recipeHelper.registerWorkingStations(SMOKING, new ItemStack(Items.SMOKER));
+ recipeHelper.registerWorkingStations(BLASTING, new ItemStack(Items.BLAST_FURNACE));
+ recipeHelper.registerWorkingStations(CAMPFIRE, new ItemStack(Items.CAMPFIRE));
+ recipeHelper.registerWorkingStations(BREWING, new ItemStack(Items.BREWING_STAND));
+ recipeHelper.registerWorkingStations(STONE_CUTTING, new ItemStack(Items.STONECUTTER));
recipeHelper.registerRecipeVisibilityHandler(new DisplayVisibilityHandler() {
@Override
public DisplayVisibility handleDisplay(RecipeCategory category, RecipeDisplay display) {