public class ResetableLazy<T>
extends java.lang.Object
implements java.util.function.Supplier<T>
| Constructor and Description |
|---|
ResetableLazy(net.minecraftforge.common.util.NonNullSupplier<T> supplier) |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
static <T> ResetableLazy<T> |
of(net.minecraftforge.common.util.NonNullSupplier<T> supplier) |
void |
reset() |
public ResetableLazy(net.minecraftforge.common.util.NonNullSupplier<T> supplier)
public void reset()
public static <T> ResetableLazy<T> of(net.minecraftforge.common.util.NonNullSupplier<T> supplier)