Uses of Interface
net.minecraft.command.CommandRegistryWrapper
Packages that use CommandRegistryWrapper
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of CommandRegistryWrapper in net.minecraft.command
Classes in net.minecraft.command that implement CommandRegistryWrapperMethods in net.minecraft.command that return CommandRegistryWrapperModifier and TypeMethodDescription<T> CommandRegistryWrapper<T>CommandRegistryAccess.createWrapper(RegistryKey<? extends Registry<T>> registryRef) Creates a registry wrapper that follows the entry list creation policy.CommandRegistryWrapper.Impl.withFeatureFilter(FeatureSet enabledFeatures) CommandRegistryWrapper.Impl.withFilter(Predicate<T> filter) -
Uses of CommandRegistryWrapper in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as CommandRegistryWrapperModifier and TypeFieldDescriptionprivate final CommandRegistryWrapper<Block>BlockArgumentParser.registryWrapperprivate final CommandRegistryWrapper<Block>BlockPredicateArgumentType.registryWrapperprivate final CommandRegistryWrapper<Block>BlockStateArgumentType.registryWrapperprivate final CommandRegistryWrapper<Item>ItemPredicateArgumentType.registryWrapperprivate final CommandRegistryWrapper<Item>ItemStackArgumentType.registryWrapperprivate final CommandRegistryWrapper<Item>ItemStringReader.registryWrapperprivate final CommandRegistryWrapper<ParticleType<?>>ParticleEffectArgumentType.registryWrapperprivate final CommandRegistryWrapper<T>RegistryEntryArgumentType.registryWrapperprivate final CommandRegistryWrapper<T>RegistryEntryPredicateArgumentType.registryWrapperMethods in net.minecraft.command.argument with parameters of type CommandRegistryWrapperModifier and TypeMethodDescriptionBlockArgumentParser.block(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowSnbt) BlockArgumentParser.block(CommandRegistryWrapper<Block> registryWrapper, String string, boolean allowSnbt) static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,BlockArgumentParser.TagResult> BlockArgumentParser.blockOrTag(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowSnbt) static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,BlockArgumentParser.TagResult> BlockArgumentParser.blockOrTag(CommandRegistryWrapper<Block> registryWrapper, String string, boolean allowSnbt) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser.getSuggestions(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, boolean allowTag, boolean allowSnbt) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemStringReader.getSuggestions(CommandRegistryWrapper<Item> registryWrapper, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, boolean allowTag) private static ParticleType<?>ParticleEffectArgumentType.getType(com.mojang.brigadier.StringReader reader, CommandRegistryWrapper<ParticleType<?>> registryWrapper) static ItemStringReader.ItemResultItemStringReader.item(CommandRegistryWrapper<Item> registryWrapper, com.mojang.brigadier.StringReader reader) static com.mojang.datafixers.util.Either<ItemStringReader.ItemResult,ItemStringReader.TagResult> ItemStringReader.itemOrTag(CommandRegistryWrapper<Item> registryWrapper, com.mojang.brigadier.StringReader reader) BlockPredicateArgumentType.parse(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader) static ParticleEffectParticleEffectArgumentType.readParameters(com.mojang.brigadier.StringReader reader, CommandRegistryWrapper<ParticleType<?>> registryWrapper) Constructors in net.minecraft.command.argument with parameters of type CommandRegistryWrapperModifierConstructorDescriptionprivateBlockArgumentParser(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowTag, boolean allowSnbt) privateItemStringReader(CommandRegistryWrapper<Item> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowTag) -
Uses of CommandRegistryWrapper in net.minecraft.nbt
Methods in net.minecraft.nbt with parameters of type CommandRegistryWrapperModifier and TypeMethodDescriptionstatic BlockStateNbtHelper.toBlockState(CommandRegistryWrapper<Block> blockRegistryWrapper, NbtCompound nbt) Returns the block state from thenbt. -
Uses of CommandRegistryWrapper in net.minecraft.structure
Fields in net.minecraft.structure declared as CommandRegistryWrapperModifier and TypeFieldDescriptionprivate final CommandRegistryWrapper<Block>StructureTemplateManager.blockRegistryWrapperMethods in net.minecraft.structure with parameters of type CommandRegistryWrapperModifier and TypeMethodDescriptionprivate voidStructureTemplate.loadPalettedBlockInfo(CommandRegistryWrapper<Block> blockRegistryWrapper, NbtList palette, NbtList blocks) voidStructureTemplate.readNbt(CommandRegistryWrapper<Block> blockRegistryWrapper, NbtCompound nbt) Constructors in net.minecraft.structure with parameters of type CommandRegistryWrapperModifierConstructorDescriptionStructureTemplateManager(ResourceManager resourceManager, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, CommandRegistryWrapper<Block> blockRegistryWrapper) -
Uses of CommandRegistryWrapper in net.minecraft.world
Methods in net.minecraft.world that return CommandRegistryWrapperModifier and TypeMethodDescriptiondefault <T> CommandRegistryWrapper<T>WorldView.createCommandRegistryWrapper(RegistryKey<? extends Registry<? extends T>> registryRef)