mirror of
https://github.com/BlazingGames/blazing-games-plugin.git
synced 2025-02-03 21:26:41 -05:00
the function isn't even participating in the creation of the ItemStack but alright @sbot50
This commit is contained in:
parent
4ffcf63689
commit
e726e5fbd5
1 changed files with 4 additions and 4 deletions
|
@ -128,10 +128,6 @@ public abstract class CustomItem<T extends ItemContext> implements RecipeProvide
|
|||
return repairPredicate.matchItem(stack);
|
||||
}
|
||||
|
||||
protected ItemPredicate repairPredicate() {
|
||||
return null;
|
||||
}
|
||||
|
||||
// DO NOT CALL THIS METHOD, instead call create() on the item's instance
|
||||
// also there's no need to set the "custom_item" item tag because
|
||||
// the create() method does it anyway
|
||||
|
@ -150,5 +146,9 @@ public abstract class CustomItem<T extends ItemContext> implements RecipeProvide
|
|||
return List.of();
|
||||
}
|
||||
|
||||
protected ItemPredicate repairPredicate() {
|
||||
return null;
|
||||
}
|
||||
|
||||
protected abstract T parseRawContext(Player player, String raw) throws ParseException;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue