public class ItemExistsCondition extends java.lang.Object implements ICondition
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ItemExistsCondition.Serializer | 
| Modifier and Type | Field and Description | 
|---|---|
| private ResourceLocation | item | 
| private static ResourceLocation | NAME | 
| Constructor and Description | 
|---|
| ItemExistsCondition(ResourceLocation item) | 
| ItemExistsCondition(java.lang.String location) | 
| ItemExistsCondition(java.lang.String namespace,
                   java.lang.String path) | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceLocation | getID() | 
| boolean | test() | 
| java.lang.String | toString() | 
private static final ResourceLocation NAME
private final ResourceLocation item
public ItemExistsCondition(java.lang.String location)
public ItemExistsCondition(java.lang.String namespace,
                           java.lang.String path)
public ItemExistsCondition(ResourceLocation item)
public ResourceLocation getID()
getID in interface IConditionpublic boolean test()
test in interface IConditionpublic java.lang.String toString()
toString in class java.lang.Object