Class WorldGenRegistries


  • public class WorldGenRegistries
    extends java.lang.Object
    • Constructor Detail

      • WorldGenRegistries

        public WorldGenRegistries()
    • Method Detail

      • registerSimple

        private static <T> Registry<T> registerSimple​(RegistryKey<? extends Registry<T>> p_243667_0_,
                                                      java.util.function.Supplier<T> p_243667_1_)
      • registerSimple

        private static <T> Registry<T> registerSimple​(RegistryKey<? extends Registry<T>> p_243665_0_,
                                                      com.mojang.serialization.Lifecycle p_243665_1_,
                                                      java.util.function.Supplier<T> p_243665_2_)
      • internalRegister

        private static <T,​R extends MutableRegistry<T>> R internalRegister​(RegistryKey<? extends Registry<T>> p_243666_0_,
                                                                                 R p_243666_1_,
                                                                                 java.util.function.Supplier<T> p_243666_2_,
                                                                                 com.mojang.serialization.Lifecycle p_243666_3_)
      • register

        public static <T> T register​(Registry<? super T> p_243663_0_,
                                     java.lang.String p_243663_1_,
                                     T p_243663_2_)
      • register

        public static <V,​T extends V> T register​(Registry<V> p_243664_0_,
                                                       ResourceLocation p_243664_1_,
                                                       T p_243664_2_)
      • registerMapping

        public static <V,​T extends V> T registerMapping​(Registry<V> p_243662_0_,
                                                              int p_243662_1_,
                                                              RegistryKey<V> p_243662_2_,
                                                              T p_243662_3_)
      • bootstrap

        public static void bootstrap()