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