mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
1 parent
a1119cd77a
commit
74ca88b7be
1 file changed
+6
@@ -136,6 +136,12 @@ public class CompoundIngredient extends Ingredient
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasNoMatchingItems()
|
||||
{
|
||||
return getMatchingStacks().length == 0;
|
||||
}
|
||||
|
||||
public static class Serializer implements IIngredientSerializer<CompoundIngredient>
|
||||
{
|
||||
public static final Serializer INSTANCE = new Serializer();
|
||||
|
||||
Reference in new issue
Block a user