Uses of Class
net.minecraft.command.CommandRegistryAccess
Packages that use CommandRegistryAccess
Package
Description
The base package for all Minecraft classes.
-
Uses of CommandRegistryAccess in net.minecraft
Methods in net.minecraft with parameters of type CommandRegistryAccessModifier and TypeMethodDescriptionclass_7733.class_7734.class_7735.createType(CommandRegistryAccess commandRegistryAccess) class_7737.class_7738.class_7739.createType(CommandRegistryAccess commandRegistryAccess) static <T> class_7733<T>class_7733.method_45603(CommandRegistryAccess commandRegistryAccess, RegistryKey<? extends Registry<T>> registryKey) static <T> class_7737<T>class_7737.method_45637(CommandRegistryAccess commandRegistryAccess, RegistryKey<? extends Registry<T>> registryKey) Constructors in net.minecraft with parameters of type CommandRegistryAccessModifierConstructorDescriptionclass_7733(CommandRegistryAccess commandRegistryAccess, RegistryKey<? extends Registry<T>> registryKey) class_7737(CommandRegistryAccess commandRegistryAccess, RegistryKey<? extends Registry<T>> registryKey) -
Uses of CommandRegistryAccess in net.minecraft.command.argument
Methods in net.minecraft.command.argument with parameters of type CommandRegistryAccessModifier and TypeMethodDescriptionstatic BlockPredicateArgumentTypeBlockPredicateArgumentType.blockPredicate(CommandRegistryAccess commandRegistryAccess) static BlockStateArgumentTypeBlockStateArgumentType.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 ItemPredicateArgumentTypeItemPredicateArgumentType.itemPredicate(CommandRegistryAccess commandRegistryAccess) static ItemStackArgumentTypeItemStackArgumentType.itemStack(CommandRegistryAccess commandRegistryAccess) static ParticleEffectArgumentTypeParticleEffectArgumentType.particleEffect(CommandRegistryAccess commandRegistryAccess) Constructors in net.minecraft.command.argument with parameters of type CommandRegistryAccessModifierConstructorDescriptionBlockPredicateArgumentType(CommandRegistryAccess commandRegistryAccess) BlockStateArgumentType(CommandRegistryAccess commandRegistryAccess) ItemPredicateArgumentType(CommandRegistryAccess commandRegistryAccess) ItemStackArgumentType(CommandRegistryAccess commandRegistryAccess) ParticleEffectArgumentType(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.typeSupplierMethods 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.DoubleArgumentTypeDoubleArgumentSerializer.Properties.createType(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.arguments.FloatArgumentTypeFloatArgumentSerializer.Properties.createType(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.arguments.IntegerArgumentTypeIntegerArgumentSerializer.Properties.createType(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.arguments.LongArgumentTypeLongArgumentSerializer.Properties.createType(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.arguments.StringArgumentTypeStringArgumentSerializer.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 CommandRegistryAccessModifierConstructorDescriptionprivateConstantArgumentSerializer(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 CommandRegistryAccessCommandTreeS2CPacket.CommandTree.commandRegistryAccessMethods 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 CommandRegistryAccessDataPackContents.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 voidAttributeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidClearCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidCloneCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidEffectCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidEnchantCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidExecuteCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidFillCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidGiveCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidItemCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidLocateCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidLootCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidParticleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidSetBlockCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidSummonCommand.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)