Package net.minecraft.data.worldgen
Interface BootstapContext<T>
public interface BootstapContext<T>
-
Method Summary
Modifier and TypeMethodDescription<S> HolderGetter<S>
lookup
(ResourceKey<? extends Registry<? extends S>> p_256410_) default Holder.Reference<T>
register
(ResourceKey<T> p_255743_, T p_256121_) register
(ResourceKey<T> p_256008_, T p_256454_, com.mojang.serialization.Lifecycle p_255725_) default <S> Optional<HolderLookup.RegistryLookup<S>>
registryLookup
(ResourceKey<? extends Registry<? extends S>> registry)
-
Method Details
-
register
Holder.Reference<T> register(ResourceKey<T> p_256008_, T p_256454_, com.mojang.serialization.Lifecycle p_255725_) -
register
-
lookup
-
registryLookup
default <S> Optional<HolderLookup.RegistryLookup<S>> registryLookup(ResourceKey<? extends Registry<? extends S>> registry)
-