Class RegistryContext.Value<TValue>

java.lang.Object
net.modgarden.barricade.registry.RegistryContext.Value<TValue>
All Implemented Interfaces:
Supplier<TValue>
Enclosing class:
RegistryContext<TValue>

public static class RegistryContext.Value<TValue> extends Object implements Supplier<TValue>
  • Field Details

    • registry

      public final net.minecraft.core.Registry<TValue> registry
    • location

      public final net.minecraft.resources.Identifier location
    • createCallback

      public final Function<net.minecraft.resources.ResourceKey<TValue>, TValue> createCallback
  • Constructor Details

    • Value

      public Value(net.minecraft.core.Registry<TValue> registry, net.minecraft.resources.Identifier location, Function<net.minecraft.resources.ResourceKey<TValue>, TValue> createCallback)
  • Method Details