Uses of Interface
net.minecraft.command.CommandRegistryAccess
Packages that use CommandRegistryAccess
Package
Description
-
Uses of CommandRegistryAccess in net.minecraft.command
Methods in net.minecraft.command that return CommandRegistryAccessModifier and TypeMethodDescriptionstatic CommandRegistryAccess
CommandRegistryAccess.of
(RegistryWrapper.WrapperLookup wrapperLookup, FeatureSet enabledFeatures) -
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) RegistryEntryPredicateArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) RegistryEntryReferenceArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) RegistryKeyArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) RegistryPredicateArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) ScoreHolderArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) TimeArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) static ItemPredicateArgumentType
ItemPredicateArgumentType.itemPredicate
(CommandRegistryAccess commandRegistryAccess) static ItemStackArgumentType
ItemStackArgumentType.itemStack
(CommandRegistryAccess commandRegistryAccess) RegistryEntryArgumentType.lootCondition
(CommandRegistryAccess registryAccess) RegistryEntryArgumentType.lootFunction
(CommandRegistryAccess registryAccess) RegistryEntryArgumentType.lootTable
(CommandRegistryAccess registryAccess) static ParticleEffectArgumentType
ParticleEffectArgumentType.particleEffect
(CommandRegistryAccess registryAccess) static <T> RegistryEntryReferenceArgumentType
<T> RegistryEntryReferenceArgumentType.registryEntry
(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryEntryPredicateArgumentType
<T> RegistryEntryPredicateArgumentType.registryEntryPredicate
(CommandRegistryAccess registryRef, RegistryKey<? extends Registry<T>> registryAccess) static StyleArgumentType
StyleArgumentType.style
(CommandRegistryAccess registryAccess) static TextArgumentType
TextArgumentType.text
(CommandRegistryAccess registryAccess) Constructors in net.minecraft.command.argument with parameters of type CommandRegistryAccessModifierConstructorDescriptionBlockPredicateArgumentType
(CommandRegistryAccess commandRegistryAccess) BlockStateArgumentType
(CommandRegistryAccess commandRegistryAccess) ItemPredicateArgumentType
(CommandRegistryAccess commandRegistryAccess) ItemStackArgumentType
(CommandRegistryAccess commandRegistryAccess) protected
LootConditionArgumentType
(CommandRegistryAccess registryAccess) protected
LootFunctionArgumentType
(CommandRegistryAccess registryAccess) protected
LootTableArgumentType
(CommandRegistryAccess registryAccess) ParticleEffectArgumentType
(CommandRegistryAccess registryAccess) protected
RegistryEntryArgumentType
(CommandRegistryAccess registryAccess, RegistryKey<Registry<T>> registry, com.mojang.serialization.Codec<RegistryEntry<T>> entryCodec) RegistryEntryPredicateArgumentType
(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) RegistryEntryReferenceArgumentType
(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) -
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.command
Methods in net.minecraft.server.command that return CommandRegistryAccessModifier and TypeMethodDescriptionstatic CommandRegistryAccess
CommandManager.createRegistryAccess
(RegistryWrapper.WrapperLookup registryLookup) 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) private static com.mojang.brigadier.builder.ArgumentBuilder
<ServerCommandSource, ?> CloneCommand.createDestinationArgs
(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> sourceWorldGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> targetWorldGetter) private static com.mojang.brigadier.builder.ArgumentBuilder
<ServerCommandSource, ?> CloneCommand.createSourceArgs
(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> worldGetter) private static com.mojang.brigadier.builder.ArgumentBuilder
<ServerCommandSource, ?> ScoreboardCommand.makeNumberFormatArguments
(CommandRegistryAccess registryAccess, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor executor) static void
AttributeCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
BossBarCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) 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
DamageCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
EffectCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
EnchantCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
ExecuteCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
FillBiomeCommand.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
LocateCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
LootCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
ParticleCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
RaidCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
ScoreboardCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
SetBlockCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
SummonCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
TeamCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
TellRawCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
TitleCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) Constructors in net.minecraft.server.command with parameters of type CommandRegistryAccessModifierConstructorDescriptionCommandManager
(CommandManager.RegistrationEnvironment environment, CommandRegistryAccess commandRegistryAccess)