mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-23 04:47:34 +01:00
Shaped and shapeless recipes rework ready
This commit is contained in:
parent
c4266fb61d
commit
9108b9fd81
@ -103,7 +103,6 @@ public class ItemStats {
|
||||
MAX_DURABILITY = new MaximumDurability(),
|
||||
DURABILITY_BAR = new DurabilityBar(),
|
||||
WILL_BREAK = new LostWhenBroken(),
|
||||
DURABILITY_BAR = new DurabilityBar(),
|
||||
NAME = new DisplayName(),
|
||||
LORE = new Lore(),
|
||||
NBT_TAGS = new NBTTags(),
|
||||
|
@ -222,7 +222,7 @@ public class CustomRecipe implements Comparable<CustomRecipe> {
|
||||
String recipeName = type + "." + id + "." + recipeCount++;
|
||||
|
||||
// Build Main
|
||||
ShapedRecipe shapedRecipe = ShapedRecipe.single(recipeName, new ProvidedUIFilter(MMOItemUIFilter.get(), type.getId(), id, template.getCraftedAmount()));
|
||||
ShapedRecipe shapedRecipe = ShapedRecipe.single(recipeName, new ProvidedUIFilter(MMOItemUIFilter.get(), type.getId(), id, Math.max(template.getCraftedAmount(), 1)));
|
||||
|
||||
// Make ingredients
|
||||
ShapelessRecipe inputRecipe = new ShapelessRecipe(recipeName, poofs);
|
||||
@ -326,7 +326,7 @@ public class CustomRecipe implements Comparable<CustomRecipe> {
|
||||
String recipeName = type + "." + id + "." + recipeCount++;
|
||||
|
||||
// Build Main
|
||||
ShapedRecipe shapedRecipe = ShapedRecipe.single(recipeName, new ProvidedUIFilter(MMOItemUIFilter.get(), type.getId(), id, template.getCraftedAmount()));
|
||||
ShapedRecipe shapedRecipe = ShapedRecipe.single(recipeName, new ProvidedUIFilter(MMOItemUIFilter.get(), type.getId(), id, Math.max(template.getCraftedAmount(), 1)));
|
||||
|
||||
// Make ingredients
|
||||
ShapedRecipe inputRecipe = ShapedRecipe.unsharpen((new ShapedRecipe(recipeName, poofs)));
|
||||
|
Loading…
Reference in New Issue
Block a user