Uses of Interface
net.minecraft.command.CommandRegistryWrapper
Packages that use CommandRegistryWrapper
-
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.static <T> CommandRegistryWrapper<T>Returns a new wrapper for theregistrywithout any special behaviors. -
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.registryWrapperMethods in net.minecraft.command.argument with parameters of type CommandRegistryWrapperModifier and TypeMethodDescriptionBlockArgumentParser.block(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, com.mojang.brigadier.StringReader reader, 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) 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) 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)