[Bleeding] Recipe API improvements and fixes. Addresses BUKKIT-738 and BUKKIT-624
Add a recipe iterator to make it possible to retrieve and remove recipes (BUKKIT-738), and updated the recipe classes to not clip the data to 127 (BUKKIT-624)
This commit is contained in:
committed by
EvilSeph
parent
84ecdb5439
commit
326091c130
@@ -1,5 +1,7 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import org.bukkit.inventory.Recipe; // CraftBukkit
|
||||
|
||||
public interface CraftingRecipe {
|
||||
|
||||
boolean a(InventoryCrafting inventorycrafting);
|
||||
@@ -9,4 +11,6 @@ public interface CraftingRecipe {
|
||||
int a();
|
||||
|
||||
ItemStack b();
|
||||
|
||||
Recipe toBukkitRecipe(); // CraftBukkit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user