Class SparkweaveDynamicRegistryEntryProvider.Context<T>

java.lang.Object
dev.upcraft.sparkweave.api.datagen.provider.SparkweaveDynamicRegistryEntryProvider.Context<T>
Direct Known Subclasses:
SparkweaveBiomeProvider.Context, SparkweaveEnchantmentProvider.Context, SparkweavePlacedFeatureProvider.Context
Enclosing class:
SparkweaveDynamicRegistryEntryProvider

protected abstract static class SparkweaveDynamicRegistryEntryProvider.Context<T> extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.data.worldgen.BootstrapContext<T>
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Context(net.minecraft.data.worldgen.BootstrapContext<T> bootstrapContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <S> net.minecraft.core.HolderGetter<S>
    lookup(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<? extends S>> registryKey)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • bootstrapContext

      protected final net.minecraft.data.worldgen.BootstrapContext<T> bootstrapContext
  • Constructor Details

    • Context

      protected Context(net.minecraft.data.worldgen.BootstrapContext<T> bootstrapContext)
  • Method Details

    • lookup

      public <S> net.minecraft.core.HolderGetter<S> lookup(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<? extends S>> registryKey)