Package net.minecraft.data.worldgen
Interface BootstrapContext<T>
public interface BootstrapContext<T>
-
Method Summary
Modifier and TypeMethodDescription<S> HolderGetter
<S> lookup
(ResourceKey<? extends Registry<? extends S>> p_332059_) default Holder.Reference
<T> register
(ResourceKey<T> p_333375_, T p_328645_) register
(ResourceKey<T> p_331313_, T p_328602_, com.mojang.serialization.Lifecycle p_328640_) default <S> Optional
<HolderLookup.RegistryLookup<S>> registryLookup
(ResourceKey<? extends Registry<? extends S>> registry)
-
Method Details
-
register
Holder.Reference<T> register(ResourceKey<T> p_331313_, T p_328602_, com.mojang.serialization.Lifecycle p_328640_) -
register
-
lookup
-
registryLookup
default <S> Optional<HolderLookup.RegistryLookup<S>> registryLookup(ResourceKey<? extends Registry<? extends S>> registry)
-