mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 08:39:58 +03:00
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
--- ../src-base/minecraft/net/minecraft/item/crafting/RecipesMapCloning.java
|
|
+++ ../src-work/minecraft/net/minecraft/item/crafting/RecipesMapCloning.java
|
|
@@ -1,13 +1,21 @@
|
|
package net.minecraft.item.crafting;
|
|
|
|
+import java.util.List;
|
|
+
|
|
import javax.annotation.Nullable;
|
|
import net.minecraft.init.Items;
|
|
import net.minecraft.inventory.InventoryCrafting;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
+import org.bukkit.inventory.Recipe;
|
|
|
|
-public class RecipesMapCloning implements IRecipe
|
|
+public class RecipesMapCloning /*extends ShapelessRecipes*/ implements IRecipe
|
|
{
|
|
+ //TODO RecipesMAP+BOOK
|
|
+/* public RecipesMapCloning() {
|
|
+ super(new ItemStack(Items.FILLED_MAP, 0, 0), java.util.Arrays.asList(new ItemStack(Items.MAP, 0, 0)));
|
|
+ }*/
|
|
+
|
|
public boolean matches(InventoryCrafting inv, World worldIn)
|
|
{
|
|
int i = 0;
|
|
@@ -116,4 +124,9 @@
|
|
|
|
return aitemstack;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Recipe toBukkitRecipe() {
|
|
+ return null;
|
|
+ }
|
|
}
|