Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
Also minimized all the nms diffs and generic cleanups all around.
This commit is contained in:
@@ -29,6 +29,6 @@ public class CraftFurnaceRecipe extends FurnaceRecipe implements CraftRecipe {
|
||||
int id = result.getTypeId();
|
||||
int amount = result.getAmount();
|
||||
int dmg = result.getDurability();
|
||||
FurnaceRecipes.a().a(input.getItemTypeId(), new net.minecraft.server.ItemStack(id, amount, dmg));
|
||||
FurnaceRecipes.getInstance().registerRecipe(input.getItemTypeId(), new net.minecraft.server.ItemStack(id, amount, dmg));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,6 +49,6 @@ public class CraftShapedRecipe extends ShapedRecipe implements CraftRecipe {
|
||||
int id = this.getResult().getTypeId();
|
||||
int amount = this.getResult().getAmount();
|
||||
short durability = this.getResult().getDurability();
|
||||
CraftingManager.a().a(new net.minecraft.server.ItemStack(id, amount, durability), data);
|
||||
CraftingManager.getInstance().registerShapedRecipe(new net.minecraft.server.ItemStack(id, amount, durability), data);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,6 @@ public class CraftShapelessRecipe extends ShapelessRecipe implements CraftRecipe
|
||||
int id = this.getResult().getTypeId();
|
||||
int amount = this.getResult().getAmount();
|
||||
short durability = this.getResult().getDurability();
|
||||
CraftingManager.a().b(new net.minecraft.server.ItemStack(id, amount, durability), data);
|
||||
CraftingManager.getInstance().registerShapelessRecipe(new net.minecraft.server.ItemStack(id, amount, durability), data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user