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 that return RegistryWrapperModifier and TypeMethodDescription<T> RegistryWrapper<T>
CommandRegistryAccess.createWrapper
(RegistryKey<? extends Registry<T>> registryRef) Creates a registry wrapper that follows the entry list creation policy. -
Uses of RegistryWrapper in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as RegistryWrapperModifier and TypeFieldDescriptionprivate final RegistryWrapper<Block>
BlockArgumentParser.registryWrapper
private final RegistryWrapper<Block>
BlockPredicateArgumentType.registryWrapper
private final RegistryWrapper<Block>
BlockStateArgumentType.registryWrapper
private final RegistryWrapper<Item>
ItemPredicateArgumentType.registryWrapper
private final RegistryWrapper<Item>
ItemStackArgumentType.registryWrapper
private final RegistryWrapper<Item>
ItemStringReader.registryWrapper
private final RegistryWrapper<ParticleType<?>>
ParticleEffectArgumentType.registryWrapper
private final RegistryWrapper<T>
RegistryEntryArgumentType.registryWrapper
private final RegistryWrapper<T>
RegistryEntryPredicateArgumentType.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) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemStringReader.getSuggestions
(RegistryWrapper<Item> registryWrapper, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, boolean allowTag) private static ParticleType<?>
ParticleEffectArgumentType.getType
(com.mojang.brigadier.StringReader reader, RegistryWrapper<ParticleType<?>> registryWrapper) static ItemStringReader.ItemResult
ItemStringReader.item
(RegistryWrapper<Item> registryWrapper, com.mojang.brigadier.StringReader reader) static com.mojang.datafixers.util.Either<ItemStringReader.ItemResult,
ItemStringReader.TagResult> ItemStringReader.itemOrTag
(RegistryWrapper<Item> registryWrapper, com.mojang.brigadier.StringReader reader) BlockPredicateArgumentType.parse
(RegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader) static ParticleEffect
ParticleEffectArgumentType.readParameters
(com.mojang.brigadier.StringReader reader, RegistryWrapper<ParticleType<?>> registryWrapper) Constructors in net.minecraft.command.argument with parameters of type RegistryWrapperModifierConstructorDescriptionprivate
BlockArgumentParser
(RegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowTag, boolean allowSnbt) private
ItemStringReader
(RegistryWrapper<Item> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowTag) -
Uses of RegistryWrapper in net.minecraft.item
Methods in net.minecraft.item with parameters of type RegistryWrapperModifier and TypeMethodDescriptionprivate static void
ItemGroups.addAllLevelEnchantedBooks
(ItemGroup.Entries entries, RegistryWrapper<Enchantment> registryWrapper, Set<EnchantmentTarget> enchantmentTargets, ItemGroup.StackVisibility visibility) 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, Set<EnchantmentTarget> enchantmentTargets, ItemGroup.StackVisibility visibility) private static void
ItemGroups.addPotions
(ItemGroup.Entries entries, RegistryWrapper<Potion> registryWrapper, Item item, ItemGroup.StackVisibility visibility) -
Uses of RegistryWrapper in net.minecraft.registry
Subinterfaces of RegistryWrapper in net.minecraft.registryClasses in net.minecraft.registry that implement RegistryWrapperModifier and TypeClassDescriptionstatic class
static class
Fields in net.minecraft.registry declared as RegistryWrapperModifier and TypeFieldDescriptionprotected final RegistryWrapper<T>
RegistryWrapper.Delegating.baseWrapper
Methods in net.minecraft.registry that return RegistryWrapperModifier and TypeMethodDescriptiondefault RegistryWrapper<T>
default RegistryWrapper<T>
RegistryWrapper.Impl.withFeatureFilter
(FeatureSet enabledFeatures) Methods in net.minecraft.registry with parameters of type RegistryWrapperModifier and TypeMethodDescriptionstatic void
BuiltinRegistries.validate
(RegistryEntryLookup<PlacedFeature> placedFeatureLookup, RegistryWrapper<Biome> biomeLookup) Constructors in net.minecraft.registry with parameters of type RegistryWrapper -
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.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)