Class AndCondition
- java.lang.Object
-
- net.minecraftforge.common.crafting.conditions.AndCondition
-
- All Implemented Interfaces:
ICondition
public class AndCondition extends java.lang.Object implements ICondition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AndCondition.Serializer
-
Field Summary
Fields Modifier and Type Field Description private ICondition[]
children
private static ResourceLocation
NAME
-
Constructor Summary
Constructors Constructor Description AndCondition(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
-
AndCondition
public AndCondition(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
-
-