Uses of Class
net.minecraft.core.Registry
Package
Description
-
Uses of Registry in net.minecraft.client.gui.screens
Modifier and TypeMethodDescriptionstatic FlatLevelGeneratorSettings
PresetFlatWorldScreen.fromString(Registry<Biome> p_96407_, String p_96408_, FlatLevelGeneratorSettings p_96409_)
(package private) static String
PresetFlatWorldScreen.save(Registry<Biome> p_96440_, FlatLevelGeneratorSettings p_96441_)
ModifierConstructorDescriptionPresetInfo(Item p_96458_, Component p_96459_, Function<Registry<Biome>,FlatLevelGeneratorSettings> p_96460_)
-
Uses of Registry in net.minecraft.client.gui.screens.worldselection
Modifier and TypeMethodDescriptionprotected abstract ChunkGenerator
WorldPreset.generator(Registry<Biome> p_101539_, Registry<NoiseGeneratorSettings> p_101540_, long p_101541_)
-
Uses of Registry in net.minecraft.core
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionRegistry.ACTIVITY
Deprecated.Registry.ATTRIBUTE
Deprecated.static Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
Registry.BIOME_SOURCE
static Registry<BlockEntityType<?>>
Registry.BLOCK_ENTITY_TYPE
Deprecated.static Registry<BlockPlacerType<?>>
Registry.BLOCK_PLACER_TYPES
Deprecated.static Registry<BlockStateProviderType<?>>
Registry.BLOCKSTATE_PROVIDER_TYPES
Deprecated.static Registry<WorldCarver<?>>
Registry.CARVER
Deprecated.static Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
Registry.CHUNK_GENERATOR
static Registry<ResourceLocation>
Registry.CUSTOM_STAT
static Registry<FeatureDecorator<?>>
Registry.DECORATOR
Deprecated.static Registry<Enchantment>
Registry.ENCHANTMENT
Deprecated.Registry.FEATURE
Deprecated.static Registry<FeatureSizeType<?>>
Registry.FEATURE_SIZE_TYPES
static Registry<FloatProviderType<?>>
Registry.FLOAT_PROVIDER_TYPES
static Registry<FoliagePlacerType<?>>
Registry.FOLIAGE_PLACER_TYPES
Deprecated.static Registry<HeightProviderType<?>>
Registry.HEIGHT_PROVIDER_TYPES
static Registry<IntProviderType<?>>
Registry.INT_PROVIDER_TYPES
static Registry<LootItemConditionType>
Registry.LOOT_CONDITION_TYPE
static Registry<LootItemFunctionType>
Registry.LOOT_FUNCTION_TYPE
static Registry<LootNbtProviderType>
Registry.LOOT_NBT_PROVIDER_TYPE
static Registry<LootNumberProviderType>
Registry.LOOT_NUMBER_PROVIDER_TYPE
static Registry<LootPoolEntryType>
Registry.LOOT_POOL_ENTRY_TYPE
static Registry<LootScoreProviderType>
Registry.LOOT_SCORE_PROVIDER_TYPE
Registry.MENU
Deprecated.Registry.MOB_EFFECT
Deprecated.static Registry<ParticleType<?>>
Registry.PARTICLE_TYPE
Deprecated.static Registry<PosRuleTestType<?>>
Registry.POS_RULE_TEST
static Registry<PositionSourceType<?>>
Registry.POSITION_SOURCE_TYPE
static Registry<RecipeSerializer<?>>
Registry.RECIPE_SERIALIZER
Deprecated.static Registry<RecipeType<?>>
Registry.RECIPE_TYPE
Registry.REGISTRY
static Registry<RuleTestType<?>>
Registry.RULE_TEST
Registry.SCHEDULE
Deprecated.static Registry<SoundEvent>
Registry.SOUND_EVENT
Deprecated.Registry.STAT_TYPE
Deprecated.static Registry<StructureFeature<?>>
Registry.STRUCTURE_FEATURE
Deprecated.static Registry<StructurePieceType>
Registry.STRUCTURE_PIECE
static Registry<StructurePoolElementType<?>>
Registry.STRUCTURE_POOL_ELEMENT
static Registry<StructureProcessorType<?>>
Registry.STRUCTURE_PROCESSOR
static Registry<SurfaceBuilder<?>>
Registry.SURFACE_BUILDER
Deprecated.static Registry<TreeDecoratorType<?>>
Registry.TREE_DECORATOR_TYPES
Deprecated.static Registry<TrunkPlacerType<?>>
Registry.TRUNK_PLACER_TYPES
Modifier and TypeFieldDescriptionstatic ResourceKey<Registry<Activity>>
Registry.ACTIVITY_REGISTRY
static ResourceKey<Registry<Attribute>>
Registry.ATTRIBUTE_REGISTRY
static ResourceKey<Registry<Biome>>
Registry.BIOME_REGISTRY
static ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
Registry.BIOME_SOURCE_REGISTRY
static ResourceKey<Registry<BlockEntityType<?>>>
Registry.BLOCK_ENTITY_TYPE_REGISTRY
static ResourceKey<Registry<BlockPlacerType<?>>>
Registry.BLOCK_PLACER_TYPE_REGISTRY
static ResourceKey<Registry<Block>>
Registry.BLOCK_REGISTRY
static ResourceKey<Registry<BlockStateProviderType<?>>>
Registry.BLOCK_STATE_PROVIDER_TYPE_REGISTRY
static ResourceKey<Registry<WorldCarver<?>>>
Registry.CARVER_REGISTRY
static ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
Registry.CHUNK_GENERATOR_REGISTRY
static ResourceKey<Registry<ChunkStatus>>
Registry.CHUNK_STATUS_REGISTRY
static ResourceKey<Registry<ConfiguredWorldCarver<?>>>
Registry.CONFIGURED_CARVER_REGISTRY
static ResourceKey<Registry<ConfiguredFeature<?,?>>>
Registry.CONFIGURED_FEATURE_REGISTRY
static ResourceKey<Registry<ConfiguredStructureFeature<?,?>>>
static ResourceKey<Registry<ConfiguredSurfaceBuilder<?>>>
Registry.CONFIGURED_SURFACE_BUILDER_REGISTRY
static ResourceKey<Registry<ResourceLocation>>
Registry.CUSTOM_STAT_REGISTRY
static ResourceKey<Registry<FeatureDecorator<?>>>
Registry.DECORATOR_REGISTRY
static ResourceKey<Registry<Level>>
Registry.DIMENSION_REGISTRY
static ResourceKey<Registry<DimensionType>>
Registry.DIMENSION_TYPE_REGISTRY
static ResourceKey<Registry<Enchantment>>
Registry.ENCHANTMENT_REGISTRY
static ResourceKey<Registry<EntityType<?>>>
Registry.ENTITY_TYPE_REGISTRY
static ResourceKey<Registry<Feature<?>>>
Registry.FEATURE_REGISTRY
static ResourceKey<Registry<FeatureSizeType<?>>>
Registry.FEATURE_SIZE_TYPE_REGISTRY
static ResourceKey<Registry<FloatProviderType<?>>>
Registry.FLOAT_PROVIDER_TYPE_REGISTRY
static ResourceKey<Registry<Fluid>>
Registry.FLUID_REGISTRY
static ResourceKey<Registry<FoliagePlacerType<?>>>
Registry.FOLIAGE_PLACER_TYPE_REGISTRY
static ResourceKey<Registry<GameEvent>>
Registry.GAME_EVENT_REGISTRY
static ResourceKey<Registry<HeightProviderType<?>>>
Registry.HEIGHT_PROVIDER_TYPE_REGISTRY
static ResourceKey<Registry<IntProviderType<?>>>
Registry.INT_PROVIDER_TYPE_REGISTRY
static ResourceKey<Registry<Item>>
Registry.ITEM_REGISTRY
private ResourceKey<? extends Registry<T>>
Registry.key
private ResourceKey<? extends Registry<E>>
RegistryAccess.RegistryData.key
static ResourceKey<Registry<LevelStem>>
Registry.LEVEL_STEM_REGISTRY
static ResourceKey<Registry<LootPoolEntryType>>
Registry.LOOT_ENTRY_REGISTRY
static ResourceKey<Registry<LootItemFunctionType>>
Registry.LOOT_FUNCTION_REGISTRY
static ResourceKey<Registry<LootItemConditionType>>
Registry.LOOT_ITEM_REGISTRY
static ResourceKey<Registry<LootNbtProviderType>>
Registry.LOOT_NBT_PROVIDER_REGISTRY
static ResourceKey<Registry<LootNumberProviderType>>
Registry.LOOT_NUMBER_PROVIDER_REGISTRY
static ResourceKey<Registry<LootScoreProviderType>>
Registry.LOOT_SCORE_PROVIDER_REGISTRY
static ResourceKey<Registry<MemoryModuleType<?>>>
Registry.MEMORY_MODULE_TYPE_REGISTRY
static ResourceKey<Registry<MenuType<?>>>
Registry.MENU_REGISTRY
static ResourceKey<Registry<MobEffect>>
Registry.MOB_EFFECT_REGISTRY
static ResourceKey<Registry<Motive>>
Registry.MOTIVE_REGISTRY
static ResourceKey<Registry<NoiseGeneratorSettings>>
Registry.NOISE_GENERATOR_SETTINGS_REGISTRY
static ResourceKey<Registry<ParticleType<?>>>
Registry.PARTICLE_TYPE_REGISTRY
static ResourceKey<Registry<PoiType>>
Registry.POINT_OF_INTEREST_TYPE_REGISTRY
static ResourceKey<Registry<PosRuleTestType<?>>>
Registry.POS_RULE_TEST_REGISTRY
static ResourceKey<Registry<PositionSourceType<?>>>
Registry.POSITION_SOURCE_TYPE_REGISTRY
static ResourceKey<Registry<Potion>>
Registry.POTION_REGISTRY
static ResourceKey<Registry<StructureProcessorList>>
Registry.PROCESSOR_LIST_REGISTRY
static ResourceKey<Registry<RecipeSerializer<?>>>
Registry.RECIPE_SERIALIZER_REGISTRY
static ResourceKey<Registry<RecipeType<?>>>
Registry.RECIPE_TYPE_REGISTRY
private Map<? extends ResourceKey<? extends Registry<?>>,? extends MappedRegistry<?>>
RegistryAccess.RegistryHolder.registries
(package private) static Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>>
RegistryAccess.REGISTRIES
Registry.REGISTRY
static ResourceKey<Registry<RuleTestType<?>>>
Registry.RULE_TEST_REGISTRY
static ResourceKey<Registry<Schedule>>
Registry.SCHEDULE_REGISTRY
static ResourceKey<Registry<SensorType<?>>>
Registry.SENSOR_TYPE_REGISTRY
static ResourceKey<Registry<SoundEvent>>
Registry.SOUND_EVENT_REGISTRY
static ResourceKey<Registry<StatType<?>>>
Registry.STAT_TYPE_REGISTRY
static ResourceKey<Registry<StructureFeature<?>>>
Registry.STRUCTURE_FEATURE_REGISTRY
static ResourceKey<Registry<StructurePieceType>>
Registry.STRUCTURE_PIECE_REGISTRY
static ResourceKey<Registry<StructurePoolElementType<?>>>
Registry.STRUCTURE_POOL_ELEMENT_REGISTRY
static ResourceKey<Registry<StructureProcessorType<?>>>
Registry.STRUCTURE_PROCESSOR_REGISTRY
static ResourceKey<Registry<SurfaceBuilder<?>>>
Registry.SURFACE_BUILDER_REGISTRY
static ResourceKey<Registry<StructureTemplatePool>>
Registry.TEMPLATE_POOL_REGISTRY
static ResourceKey<Registry<TreeDecoratorType<?>>>
Registry.TREE_DECORATOR_TYPE_REGISTRY
static ResourceKey<Registry<TrunkPlacerType<?>>>
Registry.TRUNK_PLACER_TYPE_REGISTRY
static ResourceKey<Registry<VillagerProfession>>
Registry.VILLAGER_PROFESSION_REGISTRY
static ResourceKey<Registry<VillagerType>>
Registry.VILLAGER_TYPE_REGISTRY
Modifier and TypeMethodDescriptionprivate static <K extends ResourceKey<? extends Registry<?>>, V extends MappedRegistry<?>>
com.mojang.serialization.Codec<RegistryAccess.RegistryHolder>RegistryAccess.RegistryHolder.captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K,V> p_123119_)
private static <R extends Registry<?>>
voidRegistryAccess.copyBuiltin(RegistryAccess.RegistryHolder p_123079_, ResourceKey<R> p_123080_)
Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, Supplier<T> def)
private static <T> Registry<T>
Registry.registerSimple(ResourceKey<? extends Registry<T>> p_122982_, com.mojang.serialization.Lifecycle p_122983_, Supplier<T> p_122984_)
private static <T> Registry<T>
Registry.registerSimple(ResourceKey<? extends Registry<T>> p_123000_, Supplier<T> p_123001_)
<E> Registry<E>
RegistryAccess.registryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175516_)
Modifier and TypeMethodDescriptionprivate static <T> ResourceKey<Registry<T>>
Registry.createRegistryKey(String p_122979_)
ResourceKey<? extends Registry<T>>
Registry.key()
ResourceKey<? extends Registry<E>>
RegistryAccess.RegistryData.key()
RegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> p_123085_)
Modifier and TypeMethodDescriptionprivate static <E> void
RegistryAccess.copy(RegistryAccess.RegistryHolder p_123069_, Registry<E> p_123070_)
static <T> T
static <V, T extends V>
TRegistry.register(Registry<V> p_122966_, ResourceLocation p_122967_, T p_122968_)
static <V, T extends V>
TRegistry.registerMapping(Registry<V> p_122957_, int p_122958_, String p_122959_, T p_122960_)
Modifier and TypeMethodDescriptionprivate static <E> MappedRegistry<?>
RegistryAccess.RegistryHolder.createRegistry(ResourceKey<? extends Registry<?>> p_123141_)
static <T> com.mojang.serialization.Codec<MappedRegistry<T>>
MappedRegistry.dataPackCodec(ResourceKey<? extends Registry<T>> p_122748_, com.mojang.serialization.Lifecycle p_122749_, com.mojang.serialization.Codec<T> p_122750_)
static <T> com.mojang.serialization.Codec<MappedRegistry<T>>
MappedRegistry.directCodec(ResourceKey<? extends Registry<T>> p_122757_, com.mojang.serialization.Lifecycle p_122758_, com.mojang.serialization.Codec<T> p_122759_)
private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, String defKey, Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, Supplier<T> def)
private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
RegistryAccess.RegistryHolder.getNetworkCodec(ResourceKey<? extends Registry<E>> p_123138_)
private static <T, R extends WritableRegistry<T>>
RRegistry.internalRegister(ResourceKey<? extends Registry<T>> p_122986_, R p_122987_, Supplier<T> p_122988_, com.mojang.serialization.Lifecycle p_122989_)
static <T> com.mojang.serialization.Codec<MappedRegistry<T>>
MappedRegistry.networkCodec(ResourceKey<? extends Registry<T>> p_122716_, com.mojang.serialization.Lifecycle p_122717_, com.mojang.serialization.Codec<T> p_122718_)
abstract <E> Optional<WritableRegistry<E>>
RegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_175507_)
<E> Optional<WritableRegistry<E>>
RegistryAccess.RegistryHolder.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_175528_)
<E> WritableRegistry<E>
RegistryAccess.ownedRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175513_)
private static <E> void
RegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> p_123054_, ResourceKey<? extends Registry<E>> p_123055_, com.mojang.serialization.Codec<E> p_123056_)
private static <E> void
RegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> p_123054_, ResourceKey<? extends Registry<E>> p_123055_, com.mojang.serialization.Codec<E> p_123056_)
private static <E> void
RegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> p_123058_, ResourceKey<? extends Registry<E>> p_123059_, com.mojang.serialization.Codec<E> p_123060_, com.mojang.serialization.Codec<E> p_123061_)
private static <E> void
RegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> p_123058_, ResourceKey<? extends Registry<E>> p_123059_, com.mojang.serialization.Codec<E> p_123060_, com.mojang.serialization.Codec<E> p_123061_)
private static <T> DefaultedRegistry<T>
Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_122991_, String p_122992_, com.mojang.serialization.Lifecycle p_122993_, Supplier<T> p_122994_)
private static <T> DefaultedRegistry<T>
Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_122996_, String p_122997_, Supplier<T> p_122998_)
private static <T> Registry<T>
Registry.registerSimple(ResourceKey<? extends Registry<T>> p_122982_, com.mojang.serialization.Lifecycle p_122983_, Supplier<T> p_122984_)
private static <T> Registry<T>
Registry.registerSimple(ResourceKey<? extends Registry<T>> p_123000_, Supplier<T> p_123001_)
RegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> p_123085_)
<E> Registry<E>
RegistryAccess.registryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175516_)
static <T> com.mojang.serialization.MapCodec<MappedRegistry.RegistryEntry<T>>
MappedRegistry.withNameAndId(ResourceKey<? extends Registry<T>> p_122728_, com.mojang.serialization.MapCodec<T> p_122729_)
ModifierConstructorDescriptionDefaultedRegistry(String p_122312_, ResourceKey<? extends Registry<T>> p_122313_, com.mojang.serialization.Lifecycle p_122314_)
MappedRegistry(ResourceKey<? extends Registry<T>> p_122681_, com.mojang.serialization.Lifecycle p_122682_)
protected
Registry(ResourceKey<? extends Registry<T>> p_122920_, com.mojang.serialization.Lifecycle p_122921_)
RegistryData(ResourceKey<? extends Registry<E>> p_123105_, com.mojang.serialization.Codec<E> p_123106_, com.mojang.serialization.Codec<E> p_123107_)
private
RegistryHolder(Map<? extends ResourceKey<? extends Registry<?>>,? extends MappedRegistry<?>> p_123117_)
WritableRegistry(ResourceKey<? extends Registry<T>> p_123346_, com.mojang.serialization.Lifecycle p_123347_)
-
Uses of Registry in net.minecraft.data
Modifier and TypeFieldDescriptionBuiltinRegistries.BIOME
Deprecated.static Registry<ConfiguredWorldCarver<?>>
BuiltinRegistries.CONFIGURED_CARVER
static Registry<ConfiguredFeature<?,?>>
BuiltinRegistries.CONFIGURED_FEATURE
static Registry<ConfiguredStructureFeature<?,?>>
BuiltinRegistries.CONFIGURED_STRUCTURE_FEATURE
static Registry<ConfiguredSurfaceBuilder<?>>
BuiltinRegistries.CONFIGURED_SURFACE_BUILDER
static Registry<NoiseGeneratorSettings>
BuiltinRegistries.NOISE_GENERATOR_SETTINGS
static Registry<StructureProcessorList>
BuiltinRegistries.PROCESSOR_LIST
BuiltinRegistries.REGISTRY
static Registry<StructureTemplatePool>
BuiltinRegistries.TEMPLATE_POOL
Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>BuiltinRegistries.forge(ResourceKey<? extends Registry<T>> key, Supplier<T> def)
private static <T> Registry<T>
BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<T> p_123887_)
private static <T> Registry<T>
BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123894_, Supplier<T> p_123895_)
Modifier and TypeMethodDescriptionstatic <T> T
static <V, T extends V>
TBuiltinRegistries.register(Registry<V> p_123881_, ResourceLocation p_123882_, T p_123883_)
static <V, T extends V>
TBuiltinRegistries.registerMapping(Registry<V> p_123872_, int p_123873_, ResourceKey<V> p_123874_, T p_123875_)
Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>BuiltinRegistries.forge(ResourceKey<? extends Registry<T>> key, Supplier<T> def)
private static <T, R extends WritableRegistry<T>>
RBuiltinRegistries.internalRegister(ResourceKey<? extends Registry<T>> p_123889_, R p_123890_, Supplier<T> p_123891_, com.mojang.serialization.Lifecycle p_123892_)
private static <T> Registry<T>
BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<T> p_123887_)
private static <T> Registry<T>
BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123894_, Supplier<T> p_123895_)
-
Uses of Registry in net.minecraft.data.info
Modifier and TypeMethodDescriptionprivate static <T> com.google.gson.JsonElement
RegistryDumpReport.dumpRegistry(Registry<T> p_124059_)
-
Uses of Registry in net.minecraft.data.tags
ModifierConstructorDescription(package private)
TagAppender(Tag.Builder p_126572_, Registry<T> p_126573_, String p_126574_)
protected
TagsProvider(DataGenerator p_126546_, Registry<T> p_126547_)
Deprecated.Forge: Use the ModID versionprotected
TagsProvider(DataGenerator p_126546_, Registry<T> p_126547_, String modId, ExistingFileHelper existingFileHelper)
protected
TagsProvider(DataGenerator p_126546_, Registry<T> p_126547_, String modId, ExistingFileHelper existingFileHelper, String folder)
-
Uses of Registry in net.minecraft.gametest.framework
ModifierConstructorDescriptionprivate
GameTestServer(Thread p_177602_, LevelStorageSource.LevelStorageAccess p_177603_, PackRepository p_177604_, ServerResources p_177605_, Collection<GameTestBatch> p_177606_, BlockPos p_177607_, RegistryAccess.RegistryHolder p_177608_, Registry<Biome> p_177609_, Registry<DimensionType> p_177610_)
-
Uses of Registry in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload>
ClientboundUpdateTagsPacket.tags
Modifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload>
ClientboundUpdateTagsPacket.getTags()
ModifierConstructorDescriptionClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload> p_179473_)
-
Uses of Registry in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate Map<ResourceKey<? extends Registry<?>>,RegistryReadOps.ReadCache<?>>
RegistryReadOps.readCache
private ResourceKey<? extends Registry<E>>
RegistryDataPackCodec.registryKey
private ResourceKey<? extends Registry<E>>
RegistryFileCodec.registryKey
private ResourceKey<? extends Registry<E>>
RegistryLookupCodec.registryKey
Modifier and TypeMethodDescriptionstatic <T> ResourceKey<Registry<T>>
ResourceKey.createRegistryKey(ResourceLocation p_135789_)
RegistryLookupCodec.decode(com.mojang.serialization.DynamicOps<T> p_135625_, com.mojang.serialization.MapLike<T> p_135626_)
protected <E> com.mojang.serialization.DataResult<Registry<E>>
RegistryReadOps.registry(ResourceKey<? extends Registry<E>> p_135683_)
Modifier and TypeMethodDescription<T> com.mojang.serialization.RecordBuilder<T>
RegistryLookupCodec.encode(Registry<E> p_135619_, com.mojang.serialization.DynamicOps<T> p_135620_, com.mojang.serialization.RecordBuilder<T> p_135621_)
Modifier and TypeMethodDescriptionstatic <E> RegistryDataPackCodec<E>
RegistryDataPackCodec.create(ResourceKey<? extends Registry<E>> p_135559_, com.mojang.serialization.Lifecycle p_135560_, com.mojang.serialization.Codec<E> p_135561_)
static <E> RegistryFileCodec<E>
RegistryFileCodec.create(ResourceKey<? extends Registry<E>> p_135590_, com.mojang.serialization.Codec<E> p_135591_)
private static <E> RegistryFileCodec<E>
RegistryFileCodec.create(ResourceKey<? extends Registry<E>> p_135593_, com.mojang.serialization.Codec<E> p_135594_, boolean p_135595_)
static <E> RegistryLookupCodec<E>
RegistryLookupCodec.create(ResourceKey<? extends Registry<E>> p_135623_)
static <T> ResourceKey<T>
ResourceKey.create(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_)
RegistryReadOps.decodeElement(T p_135678_, ResourceKey<? extends Registry<E>> p_135679_, com.mojang.serialization.Codec<E> p_135680_, boolean p_135681_)
<E> com.mojang.serialization.DataResult<MappedRegistry<E>>
RegistryReadOps.decodeElements(MappedRegistry<E> p_135663_, ResourceKey<? extends Registry<E>> p_135664_, com.mojang.serialization.Codec<E> p_135665_)
static <T> Function<ResourceLocation,ResourceKey<T>>
ResourceKey.elementKey(ResourceKey<? extends Registry<T>> p_135798_)
protected <E> com.mojang.serialization.DataResult<T>
RegistryWriteOps.encode(E p_135771_, T p_135772_, ResourceKey<? extends Registry<E>> p_135773_, com.mojang.serialization.Codec<E> p_135774_)
RegistryFileCodec.homogeneousList(ResourceKey<? extends Registry<E>> p_135601_, com.mojang.serialization.Codec<E> p_135602_)
boolean
ResourceKey.isFor(ResourceKey<? extends Registry<?>> p_135784_)
RegistryReadOps.ResourceAccess.listResources(ResourceKey<? extends Registry<?>> p_135720_)
RegistryReadOps.ResourceAccess.MemoryMap.listResources(ResourceKey<? extends Registry<?>> p_135753_)
<E> Optional<com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,OptionalInt>>>
RegistryReadOps.ResourceAccess.MemoryMap.parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_179902_, ResourceKey<? extends Registry<E>> p_179903_, ResourceKey<E> p_179904_, com.mojang.serialization.Decoder<E> p_179905_)
<E> Optional<com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,OptionalInt>>>
RegistryReadOps.ResourceAccess.parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_179892_, ResourceKey<? extends Registry<E>> p_179893_, ResourceKey<E> p_179894_, com.mojang.serialization.Decoder<E> p_179895_)
private <E> com.mojang.serialization.DataResult<Supplier<E>>
RegistryReadOps.readAndRegisterElement(ResourceKey<? extends Registry<E>> p_135690_, WritableRegistry<E> p_135691_, com.mojang.serialization.Codec<E> p_135692_, ResourceLocation p_135693_)
private <E> RegistryReadOps.ReadCache<E>
RegistryReadOps.readCache(ResourceKey<? extends Registry<E>> p_135700_)
protected <E> com.mojang.serialization.DataResult<Registry<E>>
RegistryReadOps.registry(ResourceKey<? extends Registry<E>> p_135683_)
ModifierConstructorDescriptionprivate
RegistryDataPackCodec(ResourceKey<? extends Registry<E>> p_135545_, com.mojang.serialization.Lifecycle p_135546_, com.mojang.serialization.Codec<E> p_135547_)
private
RegistryFileCodec(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_)
private
RegistryLookupCodec(ResourceKey<? extends Registry<E>> p_135617_)
private
RegistryReadOps(com.mojang.serialization.DynamicOps<T> p_179862_, RegistryReadOps.ResourceAccess p_179863_, RegistryAccess p_179864_, IdentityHashMap<ResourceKey<? extends Registry<?>>,RegistryReadOps.ReadCache<?>> p_179865_)
-
Uses of Registry in net.minecraft.stats
Modifier and TypeMethodDescriptionprivate static <T> StatType<T>
Stats.makeRegistryStatType(String p_13011_, Registry<T> p_13012_)
-
Uses of Registry in net.minecraft.tags
Modifier and TypeFieldDescriptionMap<ResourceKey<? extends Registry<?>>,TagCollection<?>>
TagContainer.collections
private ResourceKey<? extends Registry<T>>
StaticTagHelper.key
private com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>,TagCollection<?>>
TagContainer.Builder.result
Modifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<ResourceKey<? extends Registry<?>>,ResourceLocation>
StaticTags.getAllMissingTags(TagContainer p_13284_)
ResourceKey<? extends Registry<T>>
StaticTagHelper.getKey()
Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload>
TagContainer.serializeToNetwork(RegistryAccess p_144443_)
Modifier and TypeMethodDescriptionstatic <T> TagCollection<T>
TagCollection.createFromNetwork(TagCollection.NetworkPayload p_144409_, Registry<? extends T> p_144410_)
default TagCollection.NetworkPayload
TagCollection.serializeToNetwork(Registry<T> p_144412_)
Modifier and TypeMethodDescription<T> void
TagContainer.CollectionConsumer.accept(ResourceKey<? extends Registry<T>> p_144489_, TagCollection<T> p_144490_)
private static <T> void
TagContainer.acceptCap(TagContainer.CollectionConsumer p_144439_, ResourceKey<? extends Registry<?>> p_144440_, TagCollection<?> p_144441_)
TagContainer.Builder.add(ResourceKey<? extends Registry<? extends T>> p_144487_, TagCollection<T> p_144488_)
private static <T> void
TagContainer.addTagsFromPayload(RegistryAccess p_144445_, TagContainer.Builder p_144446_, ResourceKey<? extends Registry<? extends T>> p_144447_, TagCollection.NetworkPayload p_144448_)
static <T> StaticTagHelper<T>
StaticTags.create(ResourceKey<? extends Registry<T>> p_144352_, String p_144353_)
static TagContainer
TagContainer.deserializeFromNetwork(RegistryAccess p_144450_, Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload> p_144451_)
private <T> TagCollection<T>
TagContainer.get(ResourceKey<? extends Registry<T>> p_144472_)
<T, E extends Exception>
ResourceLocationTagContainer.getIdOrThrow(ResourceKey<? extends Registry<T>> p_144455_, Tag<T> p_144456_, Supplier<E> p_144457_)
<T> TagCollection<T>
TagContainer.getOrEmpty(ResourceKey<? extends Registry<T>> p_144453_)
TagContainer.getTagOrThrow(ResourceKey<? extends Registry<T>> p_144459_, ResourceLocation p_144460_, Function<ResourceLocation,E> p_144461_)
ModifierConstructorDescriptionStaticTagHelper(ResourceKey<? extends Registry<T>> p_144329_, String p_144330_)
TagContainer(Map<ResourceKey<? extends Registry<?>>,TagCollection<?>> p_144435_)
-
Uses of Registry in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionMultiNoiseBiomeSource.PresetInstance.biomes
OverworldBiomeSource.biomes
TheEndBiomeSource.biomes
Modifier and TypeFieldDescriptionprivate com.mojang.datafixers.util.Function3<MultiNoiseBiomeSource.Preset,Registry<Biome>,Long,MultiNoiseBiomeSource>
MultiNoiseBiomeSource.Preset.biomeSource
private Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>>
MultiNoiseBiomeSource.preset
Modifier and TypeMethodDescriptionMultiNoiseBiomeSource.Preset.biomeSource(Registry<Biome> p_48530_, long p_48531_)
static MultiNoiseBiomeSource
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>>
MultiNoiseBiomeSource.parameters(Registry<Biome> p_151831_)
ModifierConstructorDescriptionOverworldBiomeSource(long p_48590_, boolean p_48591_, boolean p_48592_, Registry<Biome> p_48593_)
(package private)
PresetInstance(MultiNoiseBiomeSource.Preset p_48546_, Registry<Biome> p_48547_, long p_48548_)
TheEndBiomeSource(Registry<Biome> p_48628_, long p_48629_)
private
TheEndBiomeSource(Registry<Biome> p_48631_, long p_48632_, Biome p_48633_, Biome p_48634_, Biome p_48635_, Biome p_48636_, Biome p_48637_)
ModifierConstructorDescription(package private)
MultiNoiseBiomeSource(long p_48456_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_48457_, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> p_48458_)
private
MultiNoiseBiomeSource(long p_48448_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_48449_, MultiNoiseBiomeSource.NoiseParameters p_48450_, MultiNoiseBiomeSource.NoiseParameters p_48451_, MultiNoiseBiomeSource.NoiseParameters p_48452_, MultiNoiseBiomeSource.NoiseParameters p_48453_, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> p_48454_)
Preset(ResourceLocation p_48518_, com.mojang.datafixers.util.Function3<MultiNoiseBiomeSource.Preset,Registry<Biome>,Long,MultiNoiseBiomeSource> p_48519_)
-
Uses of Registry in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionvoid
ChunkGenerator.createBiomes(Registry<Biome> p_62197_, ChunkAccess p_62198_)
-
Uses of Registry in net.minecraft.world.level.dimension
Modifier and TypeMethodDescriptionstatic MappedRegistry<LevelStem>
DimensionType.defaultDimensions(Registry<DimensionType> p_63922_, Registry<Biome> p_63923_, Registry<NoiseGeneratorSettings> p_63924_, long p_63925_)
private static ChunkGenerator
DimensionType.defaultEndGenerator(Registry<Biome> p_63918_, Registry<NoiseGeneratorSettings> p_63919_, long p_63920_)
private static ChunkGenerator
DimensionType.defaultNetherGenerator(Registry<Biome> p_63943_, Registry<NoiseGeneratorSettings> p_63944_, long p_63945_)
-
Uses of Registry in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptionstatic WorldGenSettings
WorldGenSettings.makeDefault(Registry<DimensionType> p_64642_, Registry<Biome> p_64643_, Registry<NoiseGeneratorSettings> p_64644_)
static NoiseBasedChunkGenerator
WorldGenSettings.makeDefaultOverworld(Registry<Biome> p_64638_, Registry<NoiseGeneratorSettings> p_64639_, long p_64640_)
static MappedRegistry<LevelStem>
WorldGenSettings.withOverworld(Registry<DimensionType> p_64634_, MappedRegistry<LevelStem> p_64635_, ChunkGenerator p_64636_)
-
Uses of Registry in net.minecraft.world.level.levelgen.feature.structures
Modifier and TypeFieldDescriptionprivate Registry<StructureTemplatePool>
JigsawPlacement.Placer.pools
ModifierConstructorDescription(package private)
Placer(Registry<StructureTemplatePool> p_69003_, int p_69004_, JigsawPlacement.PieceFactory p_69005_, ChunkGenerator p_69006_, StructureManager p_69007_, List<? super PoolElementStructurePiece> p_69008_, Random p_69009_)
-
Uses of Registry in net.minecraft.world.level.levelgen.flat
Modifier and TypeMethodDescriptionstatic FlatLevelGeneratorSettings
FlatLevelGeneratorSettings.getDefault(Registry<Biome> p_70377_)
ModifierConstructorDescriptionprivate
FlatLevelGeneratorSettings(Registry<Biome> p_70363_, StructureSettings p_70364_, List<FlatLayerInfo> p_70365_, boolean p_70366_, boolean p_70367_, Optional<Supplier<Biome>> p_70368_)
FlatLevelGeneratorSettings(StructureSettings p_70360_, Registry<Biome> p_70361_)
-
Uses of Registry in net.minecraft.world.level.newbiome.layer
-
Uses of Registry in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionGsonAdapterFactory.Builder.registry
GsonAdapterFactory.JsonAdapter.registry
Modifier and TypeMethodDescriptionstatic <E, T extends SerializerType<E>>
GsonAdapterFactory.Builder<E,T>GsonAdapterFactory.builder(Registry<T> p_78802_, String p_78803_, String p_78804_, Function<E,T> p_78805_)
-
Uses of Registry in net.minecraftforge.client
Modifier and TypeMethodDescriptionprotected ChunkGenerator
ForgeWorldTypeScreens.GeneratorType.generator(Registry<Biome> p_241869_1_, Registry<NoiseGeneratorSettings> p_241869_2_, long p_241869_3_)
-
Uses of Registry in net.minecraftforge.common
Modifier and TypeMethodDescriptionForgeTagHandler.getWrapperRegistry(ResourceKey<? extends Registry<T>> key, Optional<? extends Registry<T>> vanillaReg)
Wraps the forge registry if it supports tags into the internal registry for use in serializationModifier and TypeMethodDescriptionForgeTagHandler.getWrapperRegistry(ResourceKey<? extends Registry<T>> key, Optional<? extends Registry<T>> vanillaReg)
Wraps the forge registry if it supports tags into the internal registry for use in serializationForgeTagHandler.getWrapperRegistry(ResourceKey<? extends Registry<T>> key, Optional<? extends Registry<T>> vanillaReg)
Wraps the forge registry if it supports tags into the internal registry for use in serialization -
Uses of Registry in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>ForgeRegistryTagsProvider.wrapRegistry(IForgeRegistry<T> registryIn)
-
Uses of Registry in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionForgeWorldType.createChunkGenerator(Registry<Biome> biomeRegistry, Registry<NoiseGeneratorSettings> dimensionSettingsRegistry, long seed, String generatorSettings)
Called from both the dedicated server and the world creation screen in the client.ForgeWorldType.IBasicChunkGeneratorFactory.createChunkGenerator(Registry<Biome> biomeRegistry, Registry<NoiseGeneratorSettings> dimensionSettingsRegistry, long seed)
default ChunkGenerator
ForgeWorldType.IBasicChunkGeneratorFactory.createChunkGenerator(Registry<Biome> biomeRegistry, Registry<NoiseGeneratorSettings> dimensionSettingsRegistry, long seed, String generatorSettings)
ForgeWorldType.IChunkGeneratorFactory.createChunkGenerator(Registry<Biome> biomeRegistry, Registry<NoiseGeneratorSettings> dimensionSettingsRegistry, long seed, String generatorSettings)
-
Uses of Registry in net.minecraftforge.debug.misc
Modifier and TypeFieldDescriptionprivate static ResourceKey<? extends Registry<CustomTagTypesTest.Custom>>
CustomTagTypesTest.CUSTOM_KEY
-
Uses of Registry in net.minecraftforge.debug.world
Modifier and TypeMethodDescriptionprivate ChunkGenerator
ForgeWorldTypeTest.createChunkGenerator(Registry<Biome> biomes, Registry<NoiseGeneratorSettings> dimensionSettings, long seed, String settings)
-
Uses of Registry in net.minecraftforge.registries
Modifier and TypeClassDescription(package private) class
NamespacedDefaultedWrapper<T extends IForgeRegistryEntry<T>>
(package private) class
NamespacedWrapper<T extends IForgeRegistryEntry<T>>
Modifier and TypeFieldDescriptionstatic ResourceKey<Registry<Activity>>
ForgeRegistries.Keys.ACTIVITIES
static ResourceKey<Registry<Attribute>>
ForgeRegistries.Keys.ATTRIBUTES
static ResourceKey<Registry<Biome>>
ForgeRegistries.Keys.BIOMES
static ResourceKey<Registry<BlockEntityType<?>>>
ForgeRegistries.Keys.BLOCK_ENTITY_TYPES
static ResourceKey<Registry<BlockPlacerType<?>>>
ForgeRegistries.Keys.BLOCK_PLACER_TYPES
static ResourceKey<Registry<BlockStateProviderType<?>>>
ForgeRegistries.Keys.BLOCK_STATE_PROVIDER_TYPES
static ResourceKey<Registry<Block>>
ForgeRegistries.Keys.BLOCKS
static ResourceKey<Registry<ChunkStatus>>
ForgeRegistries.Keys.CHUNK_STATUS
static ResourceKey<Registry<MenuType<?>>>
ForgeRegistries.Keys.CONTAINER_TYPES
static ResourceKey<Registry<DataSerializerEntry>>
ForgeRegistries.Keys.DATA_SERIALIZERS
static ResourceKey<Registry<FeatureDecorator<?>>>
ForgeRegistries.Keys.DECORATORS
static ResourceKey<Registry<Enchantment>>
ForgeRegistries.Keys.ENCHANTMENTS
static ResourceKey<Registry<EntityType<?>>>
ForgeRegistries.Keys.ENTITY_TYPES
static ResourceKey<Registry<Feature<?>>>
ForgeRegistries.Keys.FEATURES
static ResourceKey<Registry<Fluid>>
ForgeRegistries.Keys.FLUIDS
static ResourceKey<Registry<FoliagePlacerType<?>>>
ForgeRegistries.Keys.FOLIAGE_PLACER_TYPES
static ResourceKey<Registry<Item>>
ForgeRegistries.Keys.ITEMS
private ResourceKey<Registry<V>>
ForgeRegistry.key
static ResourceKey<Registry<GlobalLootModifierSerializer<?>>>
ForgeRegistries.Keys.LOOT_MODIFIER_SERIALIZERS
static ResourceKey<Registry<MemoryModuleType<?>>>
ForgeRegistries.Keys.MEMORY_MODULE_TYPES
static ResourceKey<Registry<MobEffect>>
ForgeRegistries.Keys.MOB_EFFECTS
static ResourceKey<Registry<Motive>>
ForgeRegistries.Keys.PAINTING_TYPES
static ResourceKey<Registry<ParticleType<?>>>
ForgeRegistries.Keys.PARTICLE_TYPES
static ResourceKey<Registry<PoiType>>
ForgeRegistries.Keys.POI_TYPES
static ResourceKey<Registry<Potion>>
ForgeRegistries.Keys.POTIONS
static ResourceKey<Registry<RecipeSerializer<?>>>
ForgeRegistries.Keys.RECIPE_SERIALIZERS
static ResourceKey<Registry<Schedule>>
ForgeRegistries.Keys.SCHEDULES
static ResourceKey<Registry<SensorType<?>>>
ForgeRegistries.Keys.SENSOR_TYPES
static ResourceKey<Registry<SoundEvent>>
ForgeRegistries.Keys.SOUND_EVENTS
static ResourceKey<Registry<StatType<?>>>
ForgeRegistries.Keys.STAT_TYPES
static ResourceKey<Registry<StructureFeature<?>>>
ForgeRegistries.Keys.STRUCTURE_FEATURES
static ResourceKey<Registry<SurfaceBuilder<?>>>
ForgeRegistries.Keys.SURFACE_BUILDERS
static ResourceKey<Registry<TreeDecoratorType<?>>>
ForgeRegistries.Keys.TREE_DECORATOR_TYPES
static ResourceKey<Registry<VillagerProfession>>
ForgeRegistries.Keys.VILLAGER_PROFESSIONS
static ResourceKey<Registry<WorldCarver<?>>>
ForgeRegistries.Keys.WORLD_CARVERS
static ResourceKey<Registry<ForgeWorldType>>
ForgeRegistries.Keys.WORLD_TYPES
Modifier and TypeMethodDescriptionForgeRegistry.getRegistryKey()
private static <T> ResourceKey<Registry<T>>
Modifier and TypeMethodDescription<V extends IForgeRegistryEntry<V>>
ForgeRegistry<V>RegistryManager.getRegistry(ResourceKey<? extends Registry<V>> key)
static <T extends IForgeRegistryEntry<T>>
MappedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)
static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, String defKey)
private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, Class<T> type)
private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, Class<T> type, int min, int max)
private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, Class<T> type, String _default)