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