public static class FunctionObject.CacheableFunction
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static FunctionObject.CacheableFunction |
EMPTY |
private FunctionObject |
function |
private ResourceLocation |
id |
private boolean |
isValid |
| Constructor and Description |
|---|
CacheableFunction(FunctionObject functionIn) |
CacheableFunction(ResourceLocation idIn) |
| Modifier and Type | Method and Description |
|---|---|
FunctionObject |
get(FunctionManager functionManagerIn) |
java.lang.String |
toString() |
public static final FunctionObject.CacheableFunction EMPTY
@Nullable private final ResourceLocation id
private boolean isValid
private FunctionObject function
public CacheableFunction(@Nullable
ResourceLocation idIn)
public CacheableFunction(FunctionObject functionIn)
@Nullable public FunctionObject get(FunctionManager functionManagerIn)
public java.lang.String toString()
toString in class java.lang.Object