Registries.java

net.minecraft.core.registries.Registries

信息

  • 全限定名:net.minecraft.core.registries.Registries
  • 类型:public class
  • 包:net.minecraft.core.registries
  • 源码路径:src/main/java/net/minecraft/core/registries/Registries.java
  • 起始行号:L145
  • 职责:

    TODO

字段/常量

  • ROOT_REGISTRY_NAME

    • 类型: Identifier
    • 修饰符: public static final
    • 源码定位: L146
    • 说明:

      TODO

  • ACTIVITY

    • 类型: ResourceKey<Registry<Activity>>
    • 修饰符: public static final
    • 源码定位: L147
    • 说明:

      TODO

  • ATTRIBUTE

    • 类型: ResourceKey<Registry<Attribute>>
    • 修饰符: public static final
    • 源码定位: L148
    • 说明:

      TODO

  • BIOME_SOURCE

    • 类型: ResourceKey<Registry<MapCodec<?extends BiomeSource>>>
    • 修饰符: public static final
    • 源码定位: L149
    • 说明:

      TODO

  • BLOCK_ENTITY_TYPE

    • 类型: ResourceKey<Registry<BlockEntityType<?>>>
    • 修饰符: public static final
    • 源码定位: L150
    • 说明:

      TODO

  • BLOCK_PREDICATE_TYPE

    • 类型: ResourceKey<Registry<BlockPredicateType<?>>>
    • 修饰符: public static final
    • 源码定位: L151
    • 说明:

      TODO

  • BLOCK_STATE_PROVIDER_TYPE

    • 类型: ResourceKey<Registry<BlockStateProviderType<?>>>
    • 修饰符: public static final
    • 源码定位: L152
    • 说明:

      TODO

  • BLOCK_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends Block>>>
    • 修饰符: public static final
    • 源码定位: L153
    • 说明:

      TODO

  • BLOCK

    • 类型: ResourceKey<Registry<Block>>
    • 修饰符: public static final
    • 源码定位: L154
    • 说明:

      TODO

  • CARVER

    • 类型: ResourceKey<Registry<WorldCarver<?>>>
    • 修饰符: public static final
    • 源码定位: L155
    • 说明:

      TODO

  • CHUNK_GENERATOR

    • 类型: ResourceKey<Registry<MapCodec<?extends ChunkGenerator>>>
    • 修饰符: public static final
    • 源码定位: L156
    • 说明:

      TODO

  • CHUNK_STATUS

    • 类型: ResourceKey<Registry<ChunkStatus>>
    • 修饰符: public static final
    • 源码定位: L157
    • 说明:

      TODO

  • COMMAND_ARGUMENT_TYPE

    • 类型: ResourceKey<Registry<ArgumentTypeInfo<?,?>>>
    • 修饰符: public static final
    • 源码定位: L158
    • 说明:

      TODO

  • CONSUME_EFFECT_TYPE

    • 类型: ResourceKey<Registry<ConsumeEffect.Type<?>>>
    • 修饰符: public static final
    • 源码定位: L159
    • 说明:

      TODO

  • CREATIVE_MODE_TAB

    • 类型: ResourceKey<Registry<CreativeModeTab>>
    • 修饰符: public static final
    • 源码定位: L160
    • 说明:

      TODO

  • CUSTOM_STAT

    • 类型: ResourceKey<Registry<Identifier>>
    • 修饰符: public static final
    • 源码定位: L161
    • 说明:

      TODO

  • DATA_COMPONENT_PREDICATE_TYPE

    • 类型: ResourceKey<Registry<DataComponentPredicate.Type<?>>>
    • 修饰符: public static final
    • 源码定位: L162
    • 说明:

      TODO

  • DATA_COMPONENT_TYPE

    • 类型: ResourceKey<Registry<DataComponentType<?>>>
    • 修饰符: public static final
    • 源码定位: L163
    • 说明:

      TODO

  • GAME_RULE

    • 类型: ResourceKey<Registry<GameRule<?>>>
    • 修饰符: public static final
    • 源码定位: L164
    • 说明:

      TODO

  • DEBUG_SUBSCRIPTION

    • 类型: ResourceKey<Registry<DebugSubscription<?>>>
    • 修饰符: public static final
    • 源码定位: L165
    • 说明:

      TODO

  • DECORATED_POT_PATTERN

    • 类型: ResourceKey<Registry<DecoratedPotPattern>>
    • 修饰符: public static final
    • 源码定位: L166
    • 说明:

      TODO

  • DENSITY_FUNCTION_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends DensityFunction>>>
    • 修饰符: public static final
    • 源码定位: L167
    • 说明:

      TODO

  • DIALOG_BODY_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends DialogBody>>>
    • 修饰符: public static final
    • 源码定位: L168
    • 说明:

      TODO

  • DIALOG_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends Dialog>>>
    • 修饰符: public static final
    • 源码定位: L169
    • 说明:

      TODO

  • ENCHANTMENT_EFFECT_COMPONENT_TYPE

    • 类型: ResourceKey<Registry<DataComponentType<?>>>
    • 修饰符: public static final
    • 源码定位: L170
    • 说明:

      TODO

  • ENCHANTMENT_ENTITY_EFFECT_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends EnchantmentEntityEffect>>>
    • 修饰符: public static final
    • 源码定位: L171
    • 说明:

      TODO

  • ENCHANTMENT_LEVEL_BASED_VALUE_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends LevelBasedValue>>>
    • 修饰符: public static final
    • 源码定位: L174
    • 说明:

      TODO

  • ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends EnchantmentLocationBasedEffect>>>
    • 修饰符: public static final
    • 源码定位: L177
    • 说明:

      TODO

  • ENCHANTMENT_PROVIDER_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends EnchantmentProvider>>>
    • 修饰符: public static final
    • 源码定位: L180
    • 说明:

      TODO

  • ENCHANTMENT_VALUE_EFFECT_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends EnchantmentValueEffect>>>
    • 修饰符: public static final
    • 源码定位: L183
    • 说明:

      TODO

  • ENTITY_SUB_PREDICATE_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends EntitySubPredicate>>>
    • 修饰符: public static final
    • 源码定位: L186
    • 说明:

      TODO

  • ENTITY_TYPE

    • 类型: ResourceKey<Registry<EntityType<?>>>
    • 修饰符: public static final
    • 源码定位: L187
    • 说明:

      TODO

  • ENVIRONMENT_ATTRIBUTE

    • 类型: ResourceKey<Registry<EnvironmentAttribute<?>>>
    • 修饰符: public static final
    • 源码定位: L188
    • 说明:

      TODO

  • ATTRIBUTE_TYPE

    • 类型: ResourceKey<Registry<AttributeType<?>>>
    • 修饰符: public static final
    • 源码定位: L189
    • 说明:

      TODO

  • FEATURE_SIZE_TYPE

    • 类型: ResourceKey<Registry<FeatureSizeType<?>>>
    • 修饰符: public static final
    • 源码定位: L190
    • 说明:

      TODO

  • FEATURE

    • 类型: ResourceKey<Registry<Feature<?>>>
    • 修饰符: public static final
    • 源码定位: L191
    • 说明:

      TODO

  • FLOAT_PROVIDER_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends FloatProvider>>>
    • 修饰符: public static final
    • 源码定位: L192
    • 说明:

      TODO

  • FLUID

    • 类型: ResourceKey<Registry<Fluid>>
    • 修饰符: public static final
    • 源码定位: L193
    • 说明:

      TODO

  • FOLIAGE_PLACER_TYPE

    • 类型: ResourceKey<Registry<FoliagePlacerType<?>>>
    • 修饰符: public static final
    • 源码定位: L194
    • 说明:

      TODO

  • GAME_EVENT

    • 类型: ResourceKey<Registry<GameEvent>>
    • 修饰符: public static final
    • 源码定位: L195
    • 说明:

      TODO

  • HEIGHT_PROVIDER_TYPE

    • 类型: ResourceKey<Registry<HeightProviderType<?>>>
    • 修饰符: public static final
    • 源码定位: L196
    • 说明:

      TODO

  • INPUT_CONTROL_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends InputControl>>>
    • 修饰符: public static final
    • 源码定位: L197
    • 说明:

      TODO

  • INT_PROVIDER_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends IntProvider>>>
    • 修饰符: public static final
    • 源码定位: L198
    • 说明:

      TODO

  • ITEM

    • 类型: ResourceKey<Registry<Item>>
    • 修饰符: public static final
    • 源码定位: L199
    • 说明:

      TODO

  • SLOT_SOURCE_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends SlotSource>>>
    • 修饰符: public static final
    • 源码定位: L200
    • 说明:

      TODO

  • LOOT_CONDITION_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends LootItemCondition>>>
    • 修饰符: public static final
    • 源码定位: L201
    • 说明:

      TODO

  • LOOT_FUNCTION_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends LootItemFunction>>>
    • 修饰符: public static final
    • 源码定位: L202
    • 说明:

      TODO

  • LOOT_NBT_PROVIDER_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends NbtProvider>>>
    • 修饰符: public static final
    • 源码定位: L203
    • 说明:

      TODO

  • LOOT_NUMBER_PROVIDER_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends NumberProvider>>>
    • 修饰符: public static final
    • 源码定位: L204
    • 说明:

      TODO

  • LOOT_POOL_ENTRY_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends LootPoolEntryContainer>>>
    • 修饰符: public static final
    • 源码定位: L205
    • 说明:

      TODO

  • LOOT_SCORE_PROVIDER_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends ScoreboardNameProvider>>>
    • 修饰符: public static final
    • 源码定位: L206
    • 说明:

      TODO

  • MAP_DECORATION_TYPE

    • 类型: ResourceKey<Registry<MapDecorationType>>
    • 修饰符: public static final
    • 源码定位: L209
    • 说明:

      TODO

  • MATERIAL_CONDITION

    • 类型: ResourceKey<Registry<MapCodec<?extends SurfaceRules.ConditionSource>>>
    • 修饰符: public static final
    • 源码定位: L210
    • 说明:

      TODO

  • MATERIAL_RULE

    • 类型: ResourceKey<Registry<MapCodec<?extends SurfaceRules.RuleSource>>>
    • 修饰符: public static final
    • 源码定位: L213
    • 说明:

      TODO

  • MEMORY_MODULE_TYPE

    • 类型: ResourceKey<Registry<MemoryModuleType<?>>>
    • 修饰符: public static final
    • 源码定位: L214
    • 说明:

      TODO

  • MENU

    • 类型: ResourceKey<Registry<MenuType<?>>>
    • 修饰符: public static final
    • 源码定位: L215
    • 说明:

      TODO

  • MOB_EFFECT

    • 类型: ResourceKey<Registry<MobEffect>>
    • 修饰符: public static final
    • 源码定位: L216
    • 说明:

      TODO

  • NUMBER_FORMAT_TYPE

    • 类型: ResourceKey<Registry<NumberFormatType<?>>>
    • 修饰符: public static final
    • 源码定位: L217
    • 说明:

      TODO

  • PARTICLE_TYPE

    • 类型: ResourceKey<Registry<ParticleType<?>>>
    • 修饰符: public static final
    • 源码定位: L218
    • 说明:

      TODO

  • PLACEMENT_MODIFIER_TYPE

    • 类型: ResourceKey<Registry<PlacementModifierType<?>>>
    • 修饰符: public static final
    • 源码定位: L219
    • 说明:

      TODO

  • POINT_OF_INTEREST_TYPE

    • 类型: ResourceKey<Registry<PoiType>>
    • 修饰符: public static final
    • 源码定位: L220
    • 说明:

      TODO

  • POOL_ALIAS_BINDING

    • 类型: ResourceKey<Registry<MapCodec<?extends PoolAliasBinding>>>
    • 修饰符: public static final
    • 源码定位: L221
    • 说明:

      TODO

  • POSITION_SOURCE_TYPE

    • 类型: ResourceKey<Registry<PositionSourceType<?>>>
    • 修饰符: public static final
    • 源码定位: L222
    • 说明:

      TODO

  • POS_RULE_TEST

    • 类型: ResourceKey<Registry<PosRuleTestType<?>>>
    • 修饰符: public static final
    • 源码定位: L223
    • 说明:

      TODO

  • POTION

    • 类型: ResourceKey<Registry<Potion>>
    • 修饰符: public static final
    • 源码定位: L224
    • 说明:

      TODO

  • RECIPE_BOOK_CATEGORY

    • 类型: ResourceKey<Registry<RecipeBookCategory>>
    • 修饰符: public static final
    • 源码定位: L225
    • 说明:

      TODO

  • RECIPE_DISPLAY

    • 类型: ResourceKey<Registry<RecipeDisplay.Type<?>>>
    • 修饰符: public static final
    • 源码定位: L226
    • 说明:

      TODO

  • RECIPE_SERIALIZER

    • 类型: ResourceKey<Registry<RecipeSerializer<?>>>
    • 修饰符: public static final
    • 源码定位: L227
    • 说明:

      TODO

  • RECIPE_TYPE

    • 类型: ResourceKey<Registry<RecipeType<?>>>
    • 修饰符: public static final
    • 源码定位: L228
    • 说明:

      TODO

  • ROOT_PLACER_TYPE

    • 类型: ResourceKey<Registry<RootPlacerType<?>>>
    • 修饰符: public static final
    • 源码定位: L229
    • 说明:

      TODO

  • RULE_BLOCK_ENTITY_MODIFIER

    • 类型: ResourceKey<Registry<RuleBlockEntityModifierType<?>>>
    • 修饰符: public static final
    • 源码定位: L230
    • 说明:

      TODO

  • RULE_TEST

    • 类型: ResourceKey<Registry<RuleTestType<?>>>
    • 修饰符: public static final
    • 源码定位: L231
    • 说明:

      TODO

  • SENSOR_TYPE

    • 类型: ResourceKey<Registry<SensorType<?>>>
    • 修饰符: public static final
    • 源码定位: L232
    • 说明:

      TODO

  • SLOT_DISPLAY

    • 类型: ResourceKey<Registry<SlotDisplay.Type<?>>>
    • 修饰符: public static final
    • 源码定位: L233
    • 说明:

      TODO

  • SOUND_EVENT

    • 类型: ResourceKey<Registry<SoundEvent>>
    • 修饰符: public static final
    • 源码定位: L234
    • 说明:

      TODO

  • SPAWN_CONDITION_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends SpawnCondition>>>
    • 修饰符: public static final
    • 源码定位: L235
    • 说明:

      TODO

  • STAT_TYPE

    • 类型: ResourceKey<Registry<StatType<?>>>
    • 修饰符: public static final
    • 源码定位: L236
    • 说明:

      TODO

  • STRUCTURE_PIECE

    • 类型: ResourceKey<Registry<StructurePieceType>>
    • 修饰符: public static final
    • 源码定位: L237
    • 说明:

      TODO

  • STRUCTURE_PLACEMENT

    • 类型: ResourceKey<Registry<StructurePlacementType<?>>>
    • 修饰符: public static final
    • 源码定位: L238
    • 说明:

      TODO

  • STRUCTURE_POOL_ELEMENT

    • 类型: ResourceKey<Registry<StructurePoolElementType<?>>>
    • 修饰符: public static final
    • 源码定位: L239
    • 说明:

      TODO

  • STRUCTURE_PROCESSOR

    • 类型: ResourceKey<Registry<StructureProcessorType<?>>>
    • 修饰符: public static final
    • 源码定位: L240
    • 说明:

      TODO

  • STRUCTURE_TYPE

    • 类型: ResourceKey<Registry<StructureType<?>>>
    • 修饰符: public static final
    • 源码定位: L241
    • 说明:

      TODO

  • DIALOG_ACTION_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends Action>>>
    • 修饰符: public static final
    • 源码定位: L242
    • 说明:

      TODO

  • TEST_ENVIRONMENT_DEFINITION_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends TestEnvironmentDefinition<?>>>>
    • 修饰符: public static final
    • 源码定位: L243
    • 说明:

      TODO

  • TEST_FUNCTION

    • 类型: ResourceKey<Registry<Consumer<GameTestHelper>>>
    • 修饰符: public static final
    • 源码定位: L246
    • 说明:

      TODO

  • TEST_INSTANCE_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends GameTestInstance>>>
    • 修饰符: public static final
    • 源码定位: L247
    • 说明:

      TODO

  • TICKET_TYPE

    • 类型: ResourceKey<Registry<TicketType>>
    • 修饰符: public static final
    • 源码定位: L248
    • 说明:

      TODO

  • TREE_DECORATOR_TYPE

    • 类型: ResourceKey<Registry<TreeDecoratorType<?>>>
    • 修饰符: public static final
    • 源码定位: L249
    • 说明:

      TODO

  • TRUNK_PLACER_TYPE

    • 类型: ResourceKey<Registry<TrunkPlacerType<?>>>
    • 修饰符: public static final
    • 源码定位: L250
    • 说明:

      TODO

  • VILLAGER_PROFESSION

    • 类型: ResourceKey<Registry<VillagerProfession>>
    • 修饰符: public static final
    • 源码定位: L251
    • 说明:

      TODO

  • VILLAGER_TYPE

    • 类型: ResourceKey<Registry<VillagerType>>
    • 修饰符: public static final
    • 源码定位: L252
    • 说明:

      TODO

  • INCOMING_RPC_METHOD

    • 类型: ResourceKey<Registry<IncomingRpcMethod<?,?>>>
    • 修饰符: public static final
    • 源码定位: L253
    • 说明:

      TODO

  • OUTGOING_RPC_METHOD

    • 类型: ResourceKey<Registry<OutgoingRpcMethod<?,?>>>
    • 修饰符: public static final
    • 源码定位: L254
    • 说明:

      TODO

  • PERMISSION_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends Permission>>>
    • 修饰符: public static final
    • 源码定位: L255
    • 说明:

      TODO

  • PERMISSION_CHECK_TYPE

    • 类型: ResourceKey<Registry<MapCodec<?extends PermissionCheck>>>
    • 修饰符: public static final
    • 源码定位: L256
    • 说明:

      TODO

  • BANNER_PATTERN

    • 类型: ResourceKey<Registry<BannerPattern>>
    • 修饰符: public static final
    • 源码定位: L257
    • 说明:

      TODO

  • BIOME

    • 类型: ResourceKey<Registry<Biome>>
    • 修饰符: public static final
    • 源码定位: L258
    • 说明:

      TODO

  • CAT_SOUND_VARIANT

    • 类型: ResourceKey<Registry<CatSoundVariant>>
    • 修饰符: public static final
    • 源码定位: L259
    • 说明:

      TODO

  • CAT_VARIANT

    • 类型: ResourceKey<Registry<CatVariant>>
    • 修饰符: public static final
    • 源码定位: L260
    • 说明:

      TODO

  • CHAT_TYPE

    • 类型: ResourceKey<Registry<ChatType>>
    • 修饰符: public static final
    • 源码定位: L261
    • 说明:

      TODO

  • CHICKEN_SOUND_VARIANT

    • 类型: ResourceKey<Registry<ChickenSoundVariant>>
    • 修饰符: public static final
    • 源码定位: L262
    • 说明:

      TODO

  • CHICKEN_VARIANT

    • 类型: ResourceKey<Registry<ChickenVariant>>
    • 修饰符: public static final
    • 源码定位: L263
    • 说明:

      TODO

  • ZOMBIE_NAUTILUS_VARIANT

    • 类型: ResourceKey<Registry<ZombieNautilusVariant>>
    • 修饰符: public static final
    • 源码定位: L264
    • 说明:

      TODO

  • CONFIGURED_CARVER

    • 类型: ResourceKey<Registry<ConfiguredWorldCarver<?>>>
    • 修饰符: public static final
    • 源码定位: L265
    • 说明:

      TODO

  • CONFIGURED_FEATURE

    • 类型: ResourceKey<Registry<ConfiguredFeature<?,?>>>
    • 修饰符: public static final
    • 源码定位: L266
    • 说明:

      TODO

  • COW_SOUND_VARIANT

    • 类型: ResourceKey<Registry<CowSoundVariant>>
    • 修饰符: public static final
    • 源码定位: L267
    • 说明:

      TODO

  • COW_VARIANT

    • 类型: ResourceKey<Registry<CowVariant>>
    • 修饰符: public static final
    • 源码定位: L268
    • 说明:

      TODO

  • DAMAGE_TYPE

    • 类型: ResourceKey<Registry<DamageType>>
    • 修饰符: public static final
    • 源码定位: L269
    • 说明:

      TODO

  • DENSITY_FUNCTION

    • 类型: ResourceKey<Registry<DensityFunction>>
    • 修饰符: public static final
    • 源码定位: L270
    • 说明:

      TODO

  • DIALOG

    • 类型: ResourceKey<Registry<Dialog>>
    • 修饰符: public static final
    • 源码定位: L271
    • 说明:

      TODO

  • DIMENSION_TYPE

    • 类型: ResourceKey<Registry<DimensionType>>
    • 修饰符: public static final
    • 源码定位: L272
    • 说明:

      TODO

  • ENCHANTMENT_PROVIDER

    • 类型: ResourceKey<Registry<EnchantmentProvider>>
    • 修饰符: public static final
    • 源码定位: L273
    • 说明:

      TODO

  • ENCHANTMENT

    • 类型: ResourceKey<Registry<Enchantment>>
    • 修饰符: public static final
    • 源码定位: L274
    • 说明:

      TODO

  • FLAT_LEVEL_GENERATOR_PRESET

    • 类型: ResourceKey<Registry<FlatLevelGeneratorPreset>>
    • 修饰符: public static final
    • 源码定位: L275
    • 说明:

      TODO

  • FROG_VARIANT

    • 类型: ResourceKey<Registry<FrogVariant>>
    • 修饰符: public static final
    • 源码定位: L276
    • 说明:

      TODO

  • INSTRUMENT

    • 类型: ResourceKey<Registry<Instrument>>
    • 修饰符: public static final
    • 源码定位: L277
    • 说明:

      TODO

  • JUKEBOX_SONG

    • 类型: ResourceKey<Registry<JukeboxSong>>
    • 修饰符: public static final
    • 源码定位: L278
    • 说明:

      TODO

  • MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST

    • 类型: ResourceKey<Registry<MultiNoiseBiomeSourceParameterList>>
    • 修饰符: public static final
    • 源码定位: L279
    • 说明:

      TODO

  • NOISE_SETTINGS

    • 类型: ResourceKey<Registry<NoiseGeneratorSettings>>
    • 修饰符: public static final
    • 源码定位: L282
    • 说明:

      TODO

  • NOISE

    • 类型: ResourceKey<Registry<NormalNoise.NoiseParameters>>
    • 修饰符: public static final
    • 源码定位: L283
    • 说明:

      TODO

  • PAINTING_VARIANT

    • 类型: ResourceKey<Registry<PaintingVariant>>
    • 修饰符: public static final
    • 源码定位: L284
    • 说明:

      TODO

  • PIG_SOUND_VARIANT

    • 类型: ResourceKey<Registry<PigSoundVariant>>
    • 修饰符: public static final
    • 源码定位: L285
    • 说明:

      TODO

  • PIG_VARIANT

    • 类型: ResourceKey<Registry<PigVariant>>
    • 修饰符: public static final
    • 源码定位: L286
    • 说明:

      TODO

  • PLACED_FEATURE

    • 类型: ResourceKey<Registry<PlacedFeature>>
    • 修饰符: public static final
    • 源码定位: L287
    • 说明:

      TODO

  • PROCESSOR_LIST

    • 类型: ResourceKey<Registry<StructureProcessorList>>
    • 修饰符: public static final
    • 源码定位: L288
    • 说明:

      TODO

  • STRUCTURE_SET

    • 类型: ResourceKey<Registry<StructureSet>>
    • 修饰符: public static final
    • 源码定位: L289
    • 说明:

      TODO

  • STRUCTURE

    • 类型: ResourceKey<Registry<Structure>>
    • 修饰符: public static final
    • 源码定位: L290
    • 说明:

      TODO

  • TEMPLATE_POOL

    • 类型: ResourceKey<Registry<StructureTemplatePool>>
    • 修饰符: public static final
    • 源码定位: L291
    • 说明:

      TODO

  • TEST_ENVIRONMENT

    • 类型: ResourceKey<Registry<TestEnvironmentDefinition<?>>>
    • 修饰符: public static final
    • 源码定位: L292
    • 说明:

      TODO

  • TEST_INSTANCE

    • 类型: ResourceKey<Registry<GameTestInstance>>
    • 修饰符: public static final
    • 源码定位: L293
    • 说明:

      TODO

  • TIMELINE

    • 类型: ResourceKey<Registry<Timeline>>
    • 修饰符: public static final
    • 源码定位: L294
    • 说明:

      TODO

  • TRADE_SET

    • 类型: ResourceKey<Registry<TradeSet>>
    • 修饰符: public static final
    • 源码定位: L295
    • 说明:

      TODO

  • TRIAL_SPAWNER_CONFIG

    • 类型: ResourceKey<Registry<TrialSpawnerConfig>>
    • 修饰符: public static final
    • 源码定位: L296
    • 说明:

      TODO

  • TRIGGER_TYPE

    • 类型: ResourceKey<Registry<CriterionTrigger<?>>>
    • 修饰符: public static final
    • 源码定位: L297
    • 说明:

      TODO

  • TRIM_MATERIAL

    • 类型: ResourceKey<Registry<TrimMaterial>>
    • 修饰符: public static final
    • 源码定位: L298
    • 说明:

      TODO

  • TRIM_PATTERN

    • 类型: ResourceKey<Registry<TrimPattern>>
    • 修饰符: public static final
    • 源码定位: L299
    • 说明:

      TODO

  • VILLAGER_TRADE

    • 类型: ResourceKey<Registry<VillagerTrade>>
    • 修饰符: public static final
    • 源码定位: L300
    • 说明:

      TODO

  • WOLF_VARIANT

    • 类型: ResourceKey<Registry<WolfVariant>>
    • 修饰符: public static final
    • 源码定位: L301
    • 说明:

      TODO

  • WOLF_SOUND_VARIANT

    • 类型: ResourceKey<Registry<WolfSoundVariant>>
    • 修饰符: public static final
    • 源码定位: L302
    • 说明:

      TODO

  • WORLD_CLOCK

    • 类型: ResourceKey<Registry<WorldClock>>
    • 修饰符: public static final
    • 源码定位: L303
    • 说明:

      TODO

  • WORLD_PRESET

    • 类型: ResourceKey<Registry<WorldPreset>>
    • 修饰符: public static final
    • 源码定位: L304
    • 说明:

      TODO

  • DIMENSION

    • 类型: ResourceKey<Registry<Level>>
    • 修饰符: public static final
    • 源码定位: L305
    • 说明:

      TODO

  • LEVEL_STEM

    • 类型: ResourceKey<Registry<LevelStem>>
    • 修饰符: public static final
    • 源码定位: L306
    • 说明:

      TODO

  • LOOT_TABLE

    • 类型: ResourceKey<Registry<LootTable>>
    • 修饰符: public static final
    • 源码定位: L307
    • 说明:

      TODO

  • ITEM_MODIFIER

    • 类型: ResourceKey<Registry<LootItemFunction>>
    • 修饰符: public static final
    • 源码定位: L308
    • 说明:

      TODO

  • PREDICATE

    • 类型: ResourceKey<Registry<LootItemCondition>>
    • 修饰符: public static final
    • 源码定位: L309
    • 说明:

      TODO

  • ADVANCEMENT

    • 类型: ResourceKey<Registry<Advancement>>
    • 修饰符: public static final
    • 源码定位: L310
    • 说明:

      TODO

  • RECIPE

    • 类型: ResourceKey<Registry<Recipe<?>>>
    • 修饰符: public static final
    • 源码定位: L311
    • 说明:

      TODO

内部类/嵌套类型

构造器

方法

下面的方法块按源码顺序生成。

public static ResourceKey<Level> levelStemToLevel(ResourceKey<LevelStem> levelStem) @ L313

  • 方法名:levelStemToLevel
  • 源码定位:L313
  • 返回类型:ResourceKey
  • 修饰符:public static

参数:

  • levelStem: ResourceKey

说明:

TODO

public static ResourceKey<LevelStem> levelToLevelStem(ResourceKey<Level> level) @ L317

  • 方法名:levelToLevelStem
  • 源码定位:L317
  • 返回类型:ResourceKey
  • 修饰符:public static

参数:

  • level: ResourceKey

说明:

TODO

private static <T> ResourceKey<Registry<T>> createRegistryKey(String name) @ L321

  • 方法名:createRegistryKey
  • 源码定位:L321
  • 返回类型: ResourceKey<Registry>
  • 修饰符:private static

参数:

  • name: String

说明:

TODO

private static String registryDirPath(ResourceKey<?extends Registry<?>> registryKey) @ L325

  • 方法名:registryDirPath
  • 源码定位:L325
  • 返回类型:String
  • 修饰符:private static

参数:

  • registryKey: ResourceKey>

说明:

TODO

public static String elementsDirPath(ResourceKey<?extends Registry<?>> registryKey) @ L329

  • 方法名:elementsDirPath
  • 源码定位:L329
  • 返回类型:String
  • 修饰符:public static

参数:

  • registryKey: ResourceKey>

说明:

TODO

public static String tagsDirPath(ResourceKey<?extends Registry<?>> registryKey) @ L333

  • 方法名:tagsDirPath
  • 源码定位:L333
  • 返回类型:String
  • 修饰符:public static

参数:

  • registryKey: ResourceKey>

说明:

TODO

public static String componentsDirPath(ResourceKey<?extends Registry<?>> registryKey) @ L337

  • 方法名:componentsDirPath
  • 源码定位:L337
  • 返回类型:String
  • 修饰符:public static

参数:

  • registryKey: ResourceKey>

说明:

TODO

代码

public class Registries {
    public static final Identifier ROOT_REGISTRY_NAME = Identifier.withDefaultNamespace("root");
    public static final ResourceKey<Registry<Activity>> ACTIVITY = createRegistryKey("activity");
    public static final ResourceKey<Registry<Attribute>> ATTRIBUTE = createRegistryKey("attribute");
    public static final ResourceKey<Registry<MapCodec<? extends BiomeSource>>> BIOME_SOURCE = createRegistryKey("worldgen/biome_source");
    public static final ResourceKey<Registry<BlockEntityType<?>>> BLOCK_ENTITY_TYPE = createRegistryKey("block_entity_type");
    public static final ResourceKey<Registry<BlockPredicateType<?>>> BLOCK_PREDICATE_TYPE = createRegistryKey("block_predicate_type");
    public static final ResourceKey<Registry<BlockStateProviderType<?>>> BLOCK_STATE_PROVIDER_TYPE = createRegistryKey("worldgen/block_state_provider_type");
    public static final ResourceKey<Registry<MapCodec<? extends Block>>> BLOCK_TYPE = createRegistryKey("block_type");
    public static final ResourceKey<Registry<Block>> BLOCK = createRegistryKey("block");
    public static final ResourceKey<Registry<WorldCarver<?>>> CARVER = createRegistryKey("worldgen/carver");
    public static final ResourceKey<Registry<MapCodec<? extends ChunkGenerator>>> CHUNK_GENERATOR = createRegistryKey("worldgen/chunk_generator");
    public static final ResourceKey<Registry<ChunkStatus>> CHUNK_STATUS = createRegistryKey("chunk_status");
    public static final ResourceKey<Registry<ArgumentTypeInfo<?, ?>>> COMMAND_ARGUMENT_TYPE = createRegistryKey("command_argument_type");
    public static final ResourceKey<Registry<ConsumeEffect.Type<?>>> CONSUME_EFFECT_TYPE = createRegistryKey("consume_effect_type");
    public static final ResourceKey<Registry<CreativeModeTab>> CREATIVE_MODE_TAB = createRegistryKey("creative_mode_tab");
    public static final ResourceKey<Registry<Identifier>> CUSTOM_STAT = createRegistryKey("custom_stat");
    public static final ResourceKey<Registry<DataComponentPredicate.Type<?>>> DATA_COMPONENT_PREDICATE_TYPE = createRegistryKey("data_component_predicate_type");
    public static final ResourceKey<Registry<DataComponentType<?>>> DATA_COMPONENT_TYPE = createRegistryKey("data_component_type");
    public static final ResourceKey<Registry<GameRule<?>>> GAME_RULE = createRegistryKey("game_rule");
    public static final ResourceKey<Registry<DebugSubscription<?>>> DEBUG_SUBSCRIPTION = createRegistryKey("debug_subscription");
    public static final ResourceKey<Registry<DecoratedPotPattern>> DECORATED_POT_PATTERN = createRegistryKey("decorated_pot_pattern");
    public static final ResourceKey<Registry<MapCodec<? extends DensityFunction>>> DENSITY_FUNCTION_TYPE = createRegistryKey("worldgen/density_function_type");
    public static final ResourceKey<Registry<MapCodec<? extends DialogBody>>> DIALOG_BODY_TYPE = createRegistryKey("dialog_body_type");
    public static final ResourceKey<Registry<MapCodec<? extends Dialog>>> DIALOG_TYPE = createRegistryKey("dialog_type");
    public static final ResourceKey<Registry<DataComponentType<?>>> ENCHANTMENT_EFFECT_COMPONENT_TYPE = createRegistryKey("enchantment_effect_component_type");
    public static final ResourceKey<Registry<MapCodec<? extends EnchantmentEntityEffect>>> ENCHANTMENT_ENTITY_EFFECT_TYPE = createRegistryKey(
        "enchantment_entity_effect_type"
    );
    public static final ResourceKey<Registry<MapCodec<? extends LevelBasedValue>>> ENCHANTMENT_LEVEL_BASED_VALUE_TYPE = createRegistryKey(
        "enchantment_level_based_value_type"
    );
    public static final ResourceKey<Registry<MapCodec<? extends EnchantmentLocationBasedEffect>>> ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE = createRegistryKey(
        "enchantment_location_based_effect_type"
    );
    public static final ResourceKey<Registry<MapCodec<? extends EnchantmentProvider>>> ENCHANTMENT_PROVIDER_TYPE = createRegistryKey(
        "enchantment_provider_type"
    );
    public static final ResourceKey<Registry<MapCodec<? extends EnchantmentValueEffect>>> ENCHANTMENT_VALUE_EFFECT_TYPE = createRegistryKey(
        "enchantment_value_effect_type"
    );
    public static final ResourceKey<Registry<MapCodec<? extends EntitySubPredicate>>> ENTITY_SUB_PREDICATE_TYPE = createRegistryKey("entity_sub_predicate_type");
    public static final ResourceKey<Registry<EntityType<?>>> ENTITY_TYPE = createRegistryKey("entity_type");
    public static final ResourceKey<Registry<EnvironmentAttribute<?>>> ENVIRONMENT_ATTRIBUTE = createRegistryKey("environment_attribute");
    public static final ResourceKey<Registry<AttributeType<?>>> ATTRIBUTE_TYPE = createRegistryKey("attribute_type");
    public static final ResourceKey<Registry<FeatureSizeType<?>>> FEATURE_SIZE_TYPE = createRegistryKey("worldgen/feature_size_type");
    public static final ResourceKey<Registry<Feature<?>>> FEATURE = createRegistryKey("worldgen/feature");
    public static final ResourceKey<Registry<MapCodec<? extends FloatProvider>>> FLOAT_PROVIDER_TYPE = createRegistryKey("float_provider_type");
    public static final ResourceKey<Registry<Fluid>> FLUID = createRegistryKey("fluid");
    public static final ResourceKey<Registry<FoliagePlacerType<?>>> FOLIAGE_PLACER_TYPE = createRegistryKey("worldgen/foliage_placer_type");
    public static final ResourceKey<Registry<GameEvent>> GAME_EVENT = createRegistryKey("game_event");
    public static final ResourceKey<Registry<HeightProviderType<?>>> HEIGHT_PROVIDER_TYPE = createRegistryKey("height_provider_type");
    public static final ResourceKey<Registry<MapCodec<? extends InputControl>>> INPUT_CONTROL_TYPE = createRegistryKey("input_control_type");
    public static final ResourceKey<Registry<MapCodec<? extends IntProvider>>> INT_PROVIDER_TYPE = createRegistryKey("int_provider_type");
    public static final ResourceKey<Registry<Item>> ITEM = createRegistryKey("item");
    public static final ResourceKey<Registry<MapCodec<? extends SlotSource>>> SLOT_SOURCE_TYPE = createRegistryKey("slot_source_type");
    public static final ResourceKey<Registry<MapCodec<? extends LootItemCondition>>> LOOT_CONDITION_TYPE = createRegistryKey("loot_condition_type");
    public static final ResourceKey<Registry<MapCodec<? extends LootItemFunction>>> LOOT_FUNCTION_TYPE = createRegistryKey("loot_function_type");
    public static final ResourceKey<Registry<MapCodec<? extends NbtProvider>>> LOOT_NBT_PROVIDER_TYPE = createRegistryKey("loot_nbt_provider_type");
    public static final ResourceKey<Registry<MapCodec<? extends NumberProvider>>> LOOT_NUMBER_PROVIDER_TYPE = createRegistryKey("loot_number_provider_type");
    public static final ResourceKey<Registry<MapCodec<? extends LootPoolEntryContainer>>> LOOT_POOL_ENTRY_TYPE = createRegistryKey("loot_pool_entry_type");
    public static final ResourceKey<Registry<MapCodec<? extends ScoreboardNameProvider>>> LOOT_SCORE_PROVIDER_TYPE = createRegistryKey(
        "loot_score_provider_type"
    );
    public static final ResourceKey<Registry<MapDecorationType>> MAP_DECORATION_TYPE = createRegistryKey("map_decoration_type");
    public static final ResourceKey<Registry<MapCodec<? extends SurfaceRules.ConditionSource>>> MATERIAL_CONDITION = createRegistryKey(
        "worldgen/material_condition"
    );
    public static final ResourceKey<Registry<MapCodec<? extends SurfaceRules.RuleSource>>> MATERIAL_RULE = createRegistryKey("worldgen/material_rule");
    public static final ResourceKey<Registry<MemoryModuleType<?>>> MEMORY_MODULE_TYPE = createRegistryKey("memory_module_type");
    public static final ResourceKey<Registry<MenuType<?>>> MENU = createRegistryKey("menu");
    public static final ResourceKey<Registry<MobEffect>> MOB_EFFECT = createRegistryKey("mob_effect");
    public static final ResourceKey<Registry<NumberFormatType<?>>> NUMBER_FORMAT_TYPE = createRegistryKey("number_format_type");
    public static final ResourceKey<Registry<ParticleType<?>>> PARTICLE_TYPE = createRegistryKey("particle_type");
    public static final ResourceKey<Registry<PlacementModifierType<?>>> PLACEMENT_MODIFIER_TYPE = createRegistryKey("worldgen/placement_modifier_type");
    public static final ResourceKey<Registry<PoiType>> POINT_OF_INTEREST_TYPE = createRegistryKey("point_of_interest_type");
    public static final ResourceKey<Registry<MapCodec<? extends PoolAliasBinding>>> POOL_ALIAS_BINDING = createRegistryKey("worldgen/pool_alias_binding");
    public static final ResourceKey<Registry<PositionSourceType<?>>> POSITION_SOURCE_TYPE = createRegistryKey("position_source_type");
    public static final ResourceKey<Registry<PosRuleTestType<?>>> POS_RULE_TEST = createRegistryKey("pos_rule_test");
    public static final ResourceKey<Registry<Potion>> POTION = createRegistryKey("potion");
    public static final ResourceKey<Registry<RecipeBookCategory>> RECIPE_BOOK_CATEGORY = createRegistryKey("recipe_book_category");
    public static final ResourceKey<Registry<RecipeDisplay.Type<?>>> RECIPE_DISPLAY = createRegistryKey("recipe_display");
    public static final ResourceKey<Registry<RecipeSerializer<?>>> RECIPE_SERIALIZER = createRegistryKey("recipe_serializer");
    public static final ResourceKey<Registry<RecipeType<?>>> RECIPE_TYPE = createRegistryKey("recipe_type");
    public static final ResourceKey<Registry<RootPlacerType<?>>> ROOT_PLACER_TYPE = createRegistryKey("worldgen/root_placer_type");
    public static final ResourceKey<Registry<RuleBlockEntityModifierType<?>>> RULE_BLOCK_ENTITY_MODIFIER = createRegistryKey("rule_block_entity_modifier");
    public static final ResourceKey<Registry<RuleTestType<?>>> RULE_TEST = createRegistryKey("rule_test");
    public static final ResourceKey<Registry<SensorType<?>>> SENSOR_TYPE = createRegistryKey("sensor_type");
    public static final ResourceKey<Registry<SlotDisplay.Type<?>>> SLOT_DISPLAY = createRegistryKey("slot_display");
    public static final ResourceKey<Registry<SoundEvent>> SOUND_EVENT = createRegistryKey("sound_event");
    public static final ResourceKey<Registry<MapCodec<? extends SpawnCondition>>> SPAWN_CONDITION_TYPE = createRegistryKey("spawn_condition_type");
    public static final ResourceKey<Registry<StatType<?>>> STAT_TYPE = createRegistryKey("stat_type");
    public static final ResourceKey<Registry<StructurePieceType>> STRUCTURE_PIECE = createRegistryKey("worldgen/structure_piece");
    public static final ResourceKey<Registry<StructurePlacementType<?>>> STRUCTURE_PLACEMENT = createRegistryKey("worldgen/structure_placement");
    public static final ResourceKey<Registry<StructurePoolElementType<?>>> STRUCTURE_POOL_ELEMENT = createRegistryKey("worldgen/structure_pool_element");
    public static final ResourceKey<Registry<StructureProcessorType<?>>> STRUCTURE_PROCESSOR = createRegistryKey("worldgen/structure_processor");
    public static final ResourceKey<Registry<StructureType<?>>> STRUCTURE_TYPE = createRegistryKey("worldgen/structure_type");
    public static final ResourceKey<Registry<MapCodec<? extends Action>>> DIALOG_ACTION_TYPE = createRegistryKey("dialog_action_type");
    public static final ResourceKey<Registry<MapCodec<? extends TestEnvironmentDefinition<?>>>> TEST_ENVIRONMENT_DEFINITION_TYPE = createRegistryKey(
        "test_environment_definition_type"
    );
    public static final ResourceKey<Registry<Consumer<GameTestHelper>>> TEST_FUNCTION = createRegistryKey("test_function");
    public static final ResourceKey<Registry<MapCodec<? extends GameTestInstance>>> TEST_INSTANCE_TYPE = createRegistryKey("test_instance_type");
    public static final ResourceKey<Registry<TicketType>> TICKET_TYPE = createRegistryKey("ticket_type");
    public static final ResourceKey<Registry<TreeDecoratorType<?>>> TREE_DECORATOR_TYPE = createRegistryKey("worldgen/tree_decorator_type");
    public static final ResourceKey<Registry<TrunkPlacerType<?>>> TRUNK_PLACER_TYPE = createRegistryKey("worldgen/trunk_placer_type");
    public static final ResourceKey<Registry<VillagerProfession>> VILLAGER_PROFESSION = createRegistryKey("villager_profession");
    public static final ResourceKey<Registry<VillagerType>> VILLAGER_TYPE = createRegistryKey("villager_type");
    public static final ResourceKey<Registry<IncomingRpcMethod<?, ?>>> INCOMING_RPC_METHOD = createRegistryKey("incoming_rpc_methods");
    public static final ResourceKey<Registry<OutgoingRpcMethod<?, ?>>> OUTGOING_RPC_METHOD = createRegistryKey("outgoing_rpc_methods");
    public static final ResourceKey<Registry<MapCodec<? extends Permission>>> PERMISSION_TYPE = createRegistryKey("permission_type");
    public static final ResourceKey<Registry<MapCodec<? extends PermissionCheck>>> PERMISSION_CHECK_TYPE = createRegistryKey("permission_check_type");
    public static final ResourceKey<Registry<BannerPattern>> BANNER_PATTERN = createRegistryKey("banner_pattern");
    public static final ResourceKey<Registry<Biome>> BIOME = createRegistryKey("worldgen/biome");
    public static final ResourceKey<Registry<CatSoundVariant>> CAT_SOUND_VARIANT = createRegistryKey("cat_sound_variant");
    public static final ResourceKey<Registry<CatVariant>> CAT_VARIANT = createRegistryKey("cat_variant");
    public static final ResourceKey<Registry<ChatType>> CHAT_TYPE = createRegistryKey("chat_type");
    public static final ResourceKey<Registry<ChickenSoundVariant>> CHICKEN_SOUND_VARIANT = createRegistryKey("chicken_sound_variant");
    public static final ResourceKey<Registry<ChickenVariant>> CHICKEN_VARIANT = createRegistryKey("chicken_variant");
    public static final ResourceKey<Registry<ZombieNautilusVariant>> ZOMBIE_NAUTILUS_VARIANT = createRegistryKey("zombie_nautilus_variant");
    public static final ResourceKey<Registry<ConfiguredWorldCarver<?>>> CONFIGURED_CARVER = createRegistryKey("worldgen/configured_carver");
    public static final ResourceKey<Registry<ConfiguredFeature<?, ?>>> CONFIGURED_FEATURE = createRegistryKey("worldgen/configured_feature");
    public static final ResourceKey<Registry<CowSoundVariant>> COW_SOUND_VARIANT = createRegistryKey("cow_sound_variant");
    public static final ResourceKey<Registry<CowVariant>> COW_VARIANT = createRegistryKey("cow_variant");
    public static final ResourceKey<Registry<DamageType>> DAMAGE_TYPE = createRegistryKey("damage_type");
    public static final ResourceKey<Registry<DensityFunction>> DENSITY_FUNCTION = createRegistryKey("worldgen/density_function");
    public static final ResourceKey<Registry<Dialog>> DIALOG = createRegistryKey("dialog");
    public static final ResourceKey<Registry<DimensionType>> DIMENSION_TYPE = createRegistryKey("dimension_type");
    public static final ResourceKey<Registry<EnchantmentProvider>> ENCHANTMENT_PROVIDER = createRegistryKey("enchantment_provider");
    public static final ResourceKey<Registry<Enchantment>> ENCHANTMENT = createRegistryKey("enchantment");
    public static final ResourceKey<Registry<FlatLevelGeneratorPreset>> FLAT_LEVEL_GENERATOR_PRESET = createRegistryKey("worldgen/flat_level_generator_preset");
    public static final ResourceKey<Registry<FrogVariant>> FROG_VARIANT = createRegistryKey("frog_variant");
    public static final ResourceKey<Registry<Instrument>> INSTRUMENT = createRegistryKey("instrument");
    public static final ResourceKey<Registry<JukeboxSong>> JUKEBOX_SONG = createRegistryKey("jukebox_song");
    public static final ResourceKey<Registry<MultiNoiseBiomeSourceParameterList>> MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST = createRegistryKey(
        "worldgen/multi_noise_biome_source_parameter_list"
    );
    public static final ResourceKey<Registry<NoiseGeneratorSettings>> NOISE_SETTINGS = createRegistryKey("worldgen/noise_settings");
    public static final ResourceKey<Registry<NormalNoise.NoiseParameters>> NOISE = createRegistryKey("worldgen/noise");
    public static final ResourceKey<Registry<PaintingVariant>> PAINTING_VARIANT = createRegistryKey("painting_variant");
    public static final ResourceKey<Registry<PigSoundVariant>> PIG_SOUND_VARIANT = createRegistryKey("pig_sound_variant");
    public static final ResourceKey<Registry<PigVariant>> PIG_VARIANT = createRegistryKey("pig_variant");
    public static final ResourceKey<Registry<PlacedFeature>> PLACED_FEATURE = createRegistryKey("worldgen/placed_feature");
    public static final ResourceKey<Registry<StructureProcessorList>> PROCESSOR_LIST = createRegistryKey("worldgen/processor_list");
    public static final ResourceKey<Registry<StructureSet>> STRUCTURE_SET = createRegistryKey("worldgen/structure_set");
    public static final ResourceKey<Registry<Structure>> STRUCTURE = createRegistryKey("worldgen/structure");
    public static final ResourceKey<Registry<StructureTemplatePool>> TEMPLATE_POOL = createRegistryKey("worldgen/template_pool");
    public static final ResourceKey<Registry<TestEnvironmentDefinition<?>>> TEST_ENVIRONMENT = createRegistryKey("test_environment");
    public static final ResourceKey<Registry<GameTestInstance>> TEST_INSTANCE = createRegistryKey("test_instance");
    public static final ResourceKey<Registry<Timeline>> TIMELINE = createRegistryKey("timeline");
    public static final ResourceKey<Registry<TradeSet>> TRADE_SET = createRegistryKey("trade_set");
    public static final ResourceKey<Registry<TrialSpawnerConfig>> TRIAL_SPAWNER_CONFIG = createRegistryKey("trial_spawner");
    public static final ResourceKey<Registry<CriterionTrigger<?>>> TRIGGER_TYPE = createRegistryKey("trigger_type");
    public static final ResourceKey<Registry<TrimMaterial>> TRIM_MATERIAL = createRegistryKey("trim_material");
    public static final ResourceKey<Registry<TrimPattern>> TRIM_PATTERN = createRegistryKey("trim_pattern");
    public static final ResourceKey<Registry<VillagerTrade>> VILLAGER_TRADE = createRegistryKey("villager_trade");
    public static final ResourceKey<Registry<WolfVariant>> WOLF_VARIANT = createRegistryKey("wolf_variant");
    public static final ResourceKey<Registry<WolfSoundVariant>> WOLF_SOUND_VARIANT = createRegistryKey("wolf_sound_variant");
    public static final ResourceKey<Registry<WorldClock>> WORLD_CLOCK = createRegistryKey("world_clock");
    public static final ResourceKey<Registry<WorldPreset>> WORLD_PRESET = createRegistryKey("worldgen/world_preset");
    public static final ResourceKey<Registry<Level>> DIMENSION = createRegistryKey("dimension");
    public static final ResourceKey<Registry<LevelStem>> LEVEL_STEM = createRegistryKey("dimension");
    public static final ResourceKey<Registry<LootTable>> LOOT_TABLE = createRegistryKey("loot_table");
    public static final ResourceKey<Registry<LootItemFunction>> ITEM_MODIFIER = createRegistryKey("item_modifier");
    public static final ResourceKey<Registry<LootItemCondition>> PREDICATE = createRegistryKey("predicate");
    public static final ResourceKey<Registry<Advancement>> ADVANCEMENT = createRegistryKey("advancement");
    public static final ResourceKey<Registry<Recipe<?>>> RECIPE = createRegistryKey("recipe");
 
    public static ResourceKey<Level> levelStemToLevel(ResourceKey<LevelStem> levelStem) {
        return ResourceKey.create(DIMENSION, levelStem.identifier());
    }
 
    public static ResourceKey<LevelStem> levelToLevelStem(ResourceKey<Level> level) {
        return ResourceKey.create(LEVEL_STEM, level.identifier());
    }
 
    private static <T> ResourceKey<Registry<T>> createRegistryKey(String name) {
        return ResourceKey.createRegistryKey(Identifier.withDefaultNamespace(name));
    }
 
    private static String registryDirPath(ResourceKey<? extends Registry<?>> registryKey) {
        return registryKey.identifier().getPath();
    }
 
    public static String elementsDirPath(ResourceKey<? extends Registry<?>> registryKey) {
        return registryDirPath(registryKey);
    }
 
    public static String tagsDirPath(ResourceKey<? extends Registry<?>> registryKey) {
        return "tags/" + registryDirPath(registryKey);
    }
 
    public static String componentsDirPath(ResourceKey<? extends Registry<?>> registryKey) {
        return "components/" + registryDirPath(registryKey);
    }
}

引用的其他类