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_321547_) default Holder.Reference
<T> register
(ResourceKey<T> p_321660_, T p_321479_) register
(ResourceKey<T> p_321720_, T p_321670_, com.mojang.serialization.Lifecycle p_321792_) default <S> Optional
<HolderLookup.RegistryLookup<S>> registryLookup
(ResourceKey<? extends Registry<? extends S>> registry)
-
Method Details
-
register
Holder.Reference<T> register(ResourceKey<T> p_321720_, T p_321670_, com.mojang.serialization.Lifecycle p_321792_) -
register
-
lookup
-
registryLookup
default <S> Optional<HolderLookup.RegistryLookup<S>> registryLookup(ResourceKey<? extends Registry<? extends S>> registry)
-