Uses of Interface
net.minecraft.registry.RegistryWrapper
Package
Description
-
Uses of RegistryWrapper in net.minecraft.command
Modifier 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
Modifier 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
Modifier 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) ModifierConstructorDescriptionprivate
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
Modifier 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
Modifier and TypeClassDescriptionstatic class
static class
Modifier and TypeFieldDescriptionprotected final RegistryWrapper<T>
RegistryWrapper.Delegating.baseWrapper
Modifier and TypeMethodDescriptiondefault RegistryWrapper<T>
default RegistryWrapper<T>
RegistryWrapper.Impl.withFeatureFilter
(FeatureSet enabledFeatures) Modifier and TypeMethodDescriptionstatic void
BuiltinRegistries.validate
(RegistryEntryLookup<PlacedFeature> placedFeatureLookup, RegistryWrapper<Biome> biomeLookup) -
Uses of RegistryWrapper in net.minecraft.world
Modifier and TypeMethodDescriptiondefault <T> RegistryWrapper<T>
WorldView.createCommandRegistryWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef) -
Uses of RegistryWrapper in net.minecraft.world.gen.chunk
Modifier 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
Modifier and TypeMethodDescriptionstatic StructurePlacementCalculator
StructurePlacementCalculator.create
(NoiseConfig noiseConfig, long seed, BiomeSource biomeSource, RegistryWrapper<StructureSet> structureSetRegistry)