public static class FunctionObject.CacheableFunction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static FunctionObject.CacheableFunction |
EMPTY |
private java.util.Optional<FunctionObject> |
function |
private ResourceLocation |
id |
private boolean |
isValid |
Constructor and Description |
---|
CacheableFunction(FunctionObject functionIn) |
CacheableFunction(ResourceLocation idIn) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<FunctionObject> |
func_218039_a(FunctionManager p_218039_1_) |
ResourceLocation |
getId() |
public static final FunctionObject.CacheableFunction EMPTY
@Nullable private final ResourceLocation id
private boolean isValid
private java.util.Optional<FunctionObject> function
public CacheableFunction(@Nullable ResourceLocation idIn)
public CacheableFunction(FunctionObject functionIn)
public java.util.Optional<FunctionObject> func_218039_a(FunctionManager p_218039_1_)
@Nullable public ResourceLocation getId()