Class OrCondition
- java.lang.Object
-
- net.minecraftforge.common.crafting.conditions.OrCondition
-
- All Implemented Interfaces:
ICondition
public class OrCondition extends java.lang.Object implements ICondition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrCondition.Serializer
-
Field Summary
Fields Modifier and Type Field Description private ICondition[]
children
private static ResourceLocation
NAME
-
Constructor Summary
Constructors Constructor Description OrCondition(ICondition... values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getID()
boolean
test()
java.lang.String
toString()
-
-
-
Field Detail
-
NAME
private static final ResourceLocation NAME
-
children
private final ICondition[] children
-
-
Constructor Detail
-
OrCondition
public OrCondition(ICondition... values)
-
-
Method Detail
-
getID
public ResourceLocation getID()
- Specified by:
getID
in interfaceICondition
-
test
public boolean test()
- Specified by:
test
in interfaceICondition
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-