mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
Fixed Stone Chunk -> Cobblestone Recipe not working
This commit is contained in:
parent
431892abb2
commit
db0b6dfa90
@ -17,7 +17,7 @@ import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.RecipeDisplayIt
|
||||
public class SlimefunMachine extends SlimefunItem implements RecipeDisplayItem {
|
||||
|
||||
protected List<ItemStack[]> recipes;
|
||||
protected List<ItemStack> shownRecipes;
|
||||
protected List<ItemStack> shownRecipes;
|
||||
private BlockFace trigger;
|
||||
|
||||
@Deprecated
|
||||
|
@ -28,13 +28,7 @@ public class Compressor extends MultiBlockMachine {
|
||||
SlimefunItems.COMPRESSOR,
|
||||
"COMPRESSOR",
|
||||
new ItemStack[] {null, null, null, null, new ItemStack(Material.NETHER_BRICK_FENCE), null, new ItemStack(Material.PISTON), new CustomItem(Material.DISPENSER, "Dispenser (Facing up)"), new ItemStack(Material.PISTON)},
|
||||
new ItemStack[] {
|
||||
new ItemStack(Material.COAL, 8), SlimefunItems.CARBON,
|
||||
new CustomItem(SlimefunItems.STEEL_INGOT, 8), SlimefunItems.STEEL_PLATE,
|
||||
new CustomItem(SlimefunItems.CARBON, 4), SlimefunItems.COMPRESSED_CARBON,
|
||||
new CustomItem(SlimefunItems.STONE_CHUNK, 4), new ItemStack(Material.COBBLESTONE),
|
||||
new CustomItem(SlimefunItems.REINFORCED_ALLOY_INGOT, 8), SlimefunItems.REINFORCED_PLATE
|
||||
},
|
||||
new ItemStack[] {new CustomItem(SlimefunItems.STONE_CHUNK, 4), new ItemStack(Material.COBBLESTONE)},
|
||||
BlockFace.SELF
|
||||
);
|
||||
}
|
||||
@ -44,11 +38,6 @@ public class Compressor extends MultiBlockMachine {
|
||||
return recipes.stream().map(items -> items[0]).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void install() {
|
||||
// Do nothing to prevent double-registration of recipes
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onInteract(Player p, Block b) {
|
||||
Block dispBlock = b.getRelative(BlockFace.DOWN);
|
||||
|
Loading…
Reference in New Issue
Block a user