Uses of Interface
net.minecraft.registry.RegistryWrapper
Packages that use RegistryWrapper
Package
Description
-
Uses of RegistryWrapper in net.minecraft.command
Methods in net.minecraft.command with parameters of type RegistryWrapperModifier and TypeMethodDescriptiondefault void
CommandSource.suggestIdentifiers
(RegistryWrapper<?> registry, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) -
Uses of RegistryWrapper in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as RegistryWrapperModifier and TypeFieldDescriptionprivate final RegistryWrapper
<T> RegistrySelectorArgumentType.registry
private final RegistryWrapper
<Block> BlockArgumentParser.registryWrapper
private final RegistryWrapper
<Block> BlockPredicateArgumentType.registryWrapper
private final RegistryWrapper
<Block> BlockStateArgumentType.registryWrapper
private final RegistryWrapper
<T> RegistryEntryPredicateArgumentType.registryWrapper
private final RegistryWrapper
<T> RegistryEntryReferenceArgumentType.registryWrapper
Methods in net.minecraft.command.argument with parameters of type RegistryWrapperModifier and TypeMethodDescriptionBlockArgumentParser.block
(RegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowSnbt) BlockArgumentParser.block
(RegistryWrapper<Block> registryWrapper, String string, boolean allowSnbt) static com.mojang.datafixers.util.Either
<BlockArgumentParser.BlockResult, BlockArgumentParser.TagResult> BlockArgumentParser.blockOrTag
(RegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowSnbt) static com.mojang.datafixers.util.Either
<BlockArgumentParser.BlockResult, BlockArgumentParser.TagResult> BlockArgumentParser.blockOrTag
(RegistryWrapper<Block> registryWrapper, String string, boolean allowSnbt) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> BlockArgumentParser.getSuggestions
(RegistryWrapper<Block> registryWrapper, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, boolean allowTag, boolean allowSnbt) private static ParticleType
<?> ParticleEffectArgumentType.getType
(com.mojang.brigadier.StringReader reader, RegistryWrapper<ParticleType<?>> registryWrapper) BlockPredicateArgumentType.parse
(RegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader) static <T> Collection
<RegistryEntry.Reference<T>> RegistrySelectorArgumentType.select
(com.mojang.brigadier.StringReader reader, RegistryWrapper<T> registry) Constructors in net.minecraft.command.argument with parameters of type RegistryWrapperModifierConstructorDescriptionprivate
BlockArgumentParser
(RegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowTag, boolean allowSnbt) -
Uses of RegistryWrapper in net.minecraft.data.advancement.vanilla
Methods in net.minecraft.data.advancement.vanilla with parameters of type RegistryWrapperModifier and TypeMethodDescriptionprivate static Advancement.Builder
VanillaHusbandryTabAdvancementGenerator.requireAllCatsTamed
(Advancement.Builder builder, RegistryWrapper<CatVariant> catVariantRegistry) private static Advancement.Builder
VanillaHusbandryTabAdvancementGenerator.requireAllFrogsOnLeads
(RegistryEntryLookup<EntityType<?>> entityTypeLookup, RegistryEntryLookup<Item> itemLookup, RegistryWrapper<FrogVariant> frogVariantRegistry, Advancement.Builder builder) private static Advancement.Builder
VanillaHusbandryTabAdvancementGenerator.requireAllWolvesTamed
(Advancement.Builder builder, RegistryWrapper<WolfVariant> wolfVariantRegistry) private static <T> Stream
<RegistryEntry.Reference<T>> VanillaHusbandryTabAdvancementGenerator.streamSorted
(RegistryWrapper<T> registry) private static List
<EntityType<?>> VanillaAdventureTabAdvancementGenerator.validateKillAllMobsTypeList
(List<EntityType<?>> mobTypes, RegistryWrapper<EntityType<?>> entityTypeRegistry) -
Uses of RegistryWrapper in net.minecraft.item
Fields in net.minecraft.item declared as RegistryWrapperModifier and TypeFieldDescriptionprivate final RegistryWrapper
<Item> FuelRegistry.Builder.itemLookup
Methods in net.minecraft.item with parameters of type RegistryWrapperModifier and TypeMethodDescriptionprivate static void
ItemGroups.addAllLevelEnchantedBooks
(ItemGroup.Entries entries, RegistryWrapper<Enchantment> registryWrapper, ItemGroup.StackVisibility stackVisibility) private static void
ItemGroups.addInstruments
(ItemGroup.Entries entries, RegistryWrapper<Instrument> registryWrapper, Item item, TagKey<Instrument> instrumentTag, ItemGroup.StackVisibility visibility) private static void
ItemGroups.addMaxLevelEnchantedBooks
(ItemGroup.Entries entries, RegistryWrapper<Enchantment> registryWrapper, ItemGroup.StackVisibility stackVisibility) private static void
ItemGroups.addPotions
(ItemGroup.Entries entries, RegistryWrapper<Potion> registryWrapper, Item item, ItemGroup.StackVisibility visibility, FeatureSet enabledFeatures) -
Uses of RegistryWrapper in net.minecraft.registry
Subinterfaces of RegistryWrapper in net.minecraft.registryModifier and TypeInterfaceDescriptioninterface
interface
A registry that allows adding or modifying values.interface
Registry<T>
A registry is used to register various in-game components.static interface
static interface
Classes in net.minecraft.registry that implement RegistryWrapperModifier and TypeClassDescriptionprivate static class
private static class
class
An implementation ofRegistry
with a default ID and value for unknown lookups.class
An implementation of a mutable registry.Methods in net.minecraft.registry with parameters of type RegistryWrapperModifier and TypeMethodDescriptionstatic void
BuiltinRegistries.validate
(RegistryEntryLookup<PlacedFeature> placedFeatureLookup, RegistryWrapper<Biome> biomeLookup) -
Uses of RegistryWrapper in net.minecraft.server.command
Methods in net.minecraft.server.command that return types with arguments of type RegistryWrapperModifier and TypeMethodDescriptionprivate Optional
<? extends RegistryWrapper<?>> ServerCommandSource.getRegistry
(RegistryKey<? extends Registry<?>> registryRef) Methods in net.minecraft.server.command with parameters of type RegistryWrapperModifier and TypeMethodDescriptionprivate static List
<RegistryEntry.Reference<Item>> SpawnArmorTrimsCommand.getArmorItems
(RegistryWrapper<Item> itemRegistry) -
Uses of RegistryWrapper in net.minecraft.world
Methods in net.minecraft.world that return RegistryWrapperModifier and TypeMethodDescriptiondefault <T> RegistryWrapper
<T> WorldView.createCommandRegistryWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef) -
Uses of RegistryWrapper in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension with parameters of type RegistryWrapperModifier and TypeMethodDescriptionstatic Map
<RegistryKey<DimensionOptions>, DimensionOptions> DimensionOptionsRegistryHolder.createRegistry
(RegistryWrapper<DimensionType> dimensionTypeRegistry, Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensionOptions, ChunkGenerator chunkGenerator) -
Uses of RegistryWrapper in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type RegistryWrapperModifier and TypeMethodDescriptionChunkGenerator.createStructurePlacementCalculator
(RegistryWrapper<StructureSet> structureSetRegistry, NoiseConfig noiseConfig, long seed) FlatChunkGenerator.createStructurePlacementCalculator
(RegistryWrapper<StructureSet> structureSetRegistry, NoiseConfig noiseConfig, long seed) -
Uses of RegistryWrapper in net.minecraft.world.gen.chunk.placement
Methods in net.minecraft.world.gen.chunk.placement with parameters of type RegistryWrapperModifier and TypeMethodDescriptionstatic StructurePlacementCalculator
StructurePlacementCalculator.create
(NoiseConfig noiseConfig, long seed, BiomeSource biomeSource, RegistryWrapper<StructureSet> structureSetRegistry)