Skip to content

Commit

Permalink
Remove useless stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Intybyte committed Sep 4, 2024
1 parent 38e54cb commit 0d05dba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ public CrystalGrower(ItemGroup itemGroup, SlimefunItemStack item, RecipeType rec
@Override
protected void registerDefaultRecipes() {
addRecipe(20, new ItemStack(Material.AMETHYST_SHARD), new ItemStack(Material.AMETHYST_SHARD));
//add these for testing
addRecipe(20, new ItemStack(Material.GLASS), new ItemStack(Material.GLASS));
addRecipe(20, new ItemStack(Material.GUNPOWDER), new ItemStack(Material.GUNPOWDER));
addRecipe(20, new ItemStack(Material.DIRT), new ItemStack(Material.DIRT));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ protected AItemGenerator(ItemGroup itemGroup, SlimefunItemStack item, RecipeType

processor.setProgressBar(getProgressBar());

//createPreset(this, getInventoryTitle(), this::constructMenu);
new BlockMenuPreset(this.getId(), getInventoryTitle()) {

@Override
Expand All @@ -89,7 +88,7 @@ public void newInstance(BlockMenu menu, Block block) {
if (SlimefunUtils.isItemSimilar(recipes.get(i).getInput()[0], item, true, false)) {
found = (i + 1) % recipes.size();
menu.replaceExistingItem(slot, recipes.get(found).getInput()[0]);
break;
return false;
}
}

Expand Down

0 comments on commit 0d05dba

Please sign in to comment.