Uses of Interface
net.minecraft.command.CommandRegistryWrapper
-
Uses of CommandRegistryWrapper in net.minecraft.command
Modifier 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 theregistry
without any special behaviors. -
Uses of CommandRegistryWrapper in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final CommandRegistryWrapper<Block>
BlockArgumentParser.registryWrapper
private final CommandRegistryWrapper<Block>
BlockPredicateArgumentType.registryWrapper
private final CommandRegistryWrapper<Block>
BlockStateArgumentType.registryWrapper
private final CommandRegistryWrapper<Item>
ItemPredicateArgumentType.registryWrapper
private final CommandRegistryWrapper<Item>
ItemStackArgumentType.registryWrapper
private final CommandRegistryWrapper<Item>
ItemStringReader.registryWrapper
Modifier 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.ItemResult
ItemStringReader.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) ModifierConstructorDescriptionprivate
BlockArgumentParser
(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowTag, boolean allowSnbt) private
ItemStringReader
(CommandRegistryWrapper<Item> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowTag)