Uses of Class
net.minecraft.command.CommandRegistryAccess
Packages that use CommandRegistryAccess
Package
Description
-
Uses of CommandRegistryAccess in net.minecraft.command.argument
Methods in net.minecraft.command.argument with parameters of type CommandRegistryAccessModifier and TypeMethodDescriptionstatic BlockPredicateArgumentType
BlockPredicateArgumentType.blockPredicate
(CommandRegistryAccess commandRegistryAccess) static BlockStateArgumentType
BlockStateArgumentType.blockState
(CommandRegistryAccess commandRegistryAccess) EntityArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) RegistryKeyArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) RegistryPredicateArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) ScoreHolderArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) static ItemPredicateArgumentType
ItemPredicateArgumentType.itemPredicate
(CommandRegistryAccess commandRegistryAccess) static ItemStackArgumentType
ItemStackArgumentType.itemStack
(CommandRegistryAccess commandRegistryAccess) Constructors in net.minecraft.command.argument with parameters of type CommandRegistryAccessModifierConstructorDescriptionBlockPredicateArgumentType
(CommandRegistryAccess commandRegistryAccess) BlockStateArgumentType
(CommandRegistryAccess commandRegistryAccess) ItemPredicateArgumentType
(CommandRegistryAccess commandRegistryAccess) ItemStackArgumentType
(CommandRegistryAccess commandRegistryAccess) -
Uses of CommandRegistryAccess in net.minecraft.command.argument.serialize
Fields in net.minecraft.command.argument.serialize with type parameters of type CommandRegistryAccessModifier and TypeFieldDescriptionprivate final Function<CommandRegistryAccess,
A> ConstantArgumentSerializer.Properties.typeSupplier
Methods in net.minecraft.command.argument.serialize with parameters of type CommandRegistryAccessModifier and TypeMethodDescriptionArgumentSerializer.ArgumentTypeProperties.createType
(CommandRegistryAccess commandRegistryAccess) ConstantArgumentSerializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.arguments.DoubleArgumentType
DoubleArgumentSerializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.arguments.FloatArgumentType
FloatArgumentSerializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.arguments.IntegerArgumentType
IntegerArgumentSerializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.arguments.LongArgumentType
LongArgumentSerializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.arguments.StringArgumentType
StringArgumentSerializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) Method parameters in net.minecraft.command.argument.serialize with type arguments of type CommandRegistryAccessModifier and TypeMethodDescriptionstatic <T extends com.mojang.brigadier.arguments.ArgumentType<?>>
ConstantArgumentSerializer<T>ConstantArgumentSerializer.of
(Function<CommandRegistryAccess, T> typeSupplier) Constructor parameters in net.minecraft.command.argument.serialize with type arguments of type CommandRegistryAccessModifierConstructorDescriptionprivate
ConstantArgumentSerializer
(Function<CommandRegistryAccess, A> typeSupplier) Properties
(Function<CommandRegistryAccess, A> typeSupplier) -
Uses of CommandRegistryAccess in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as CommandRegistryAccessModifier and TypeFieldDescriptionprivate final CommandRegistryAccess
CommandTreeS2CPacket.CommandTree.commandRegistryAccess
Methods in net.minecraft.network.packet.s2c.play with parameters of type CommandRegistryAccessModifier and TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> CommandTreeS2CPacket.ArgumentNode.createArgumentBuilder
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> CommandTreeS2CPacket.LiteralNode.createArgumentBuilder
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> CommandTreeS2CPacket.SuggestableNode.createArgumentBuilder
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.tree.RootCommandNode<CommandSource>
CommandTreeS2CPacket.getCommandTree
(CommandRegistryAccess commandRegistryAccess) Constructors in net.minecraft.network.packet.s2c.play with parameters of type CommandRegistryAccessModifierConstructorDescription(package private)
CommandTree
(CommandRegistryAccess commandRegistryAccess, List<CommandTreeS2CPacket.CommandNodeData> nodeDatas) -
Uses of CommandRegistryAccess in net.minecraft.server
Fields in net.minecraft.server declared as CommandRegistryAccessModifier and TypeFieldDescriptionprivate final CommandRegistryAccess
DataPackContents.commandRegistryAccess
-
Uses of CommandRegistryAccess in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type CommandRegistryAccessModifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,
?> ExecuteCommand.addConditionArguments
(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> argumentBuilder, boolean positive, CommandRegistryAccess commandRegistryAccess) static void
ClearCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
CloneCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
ExecuteCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
FillCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
GiveCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
ItemCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
LootCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
SetBlockCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) Constructors in net.minecraft.server.command with parameters of type CommandRegistryAccessModifierConstructorDescriptionCommandManager
(CommandManager.RegistrationEnvironment environment, CommandRegistryAccess commandRegistryAccess)