Class RegistryContext<TValue>
java.lang.Object
net.modgarden.barricade.registry.RegistryContext<TValue>
From More Than A Foxbox.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRegistryContext(net.minecraft.core.Registry<TValue> registry, String namespace) -
Method Summary
-
Field Details
-
registry
-
namespace
-
-
Constructor Details
-
RegistryContext
-
-
Method Details
-
defer
public <T extends TValue> RegistryContext.Value<T> defer(String path, Function<net.minecraft.resources.ResourceKey<T>, T> createCallback) -
register
public void register()
-