Uses of Interface
net.minecraft.command.CommandRegistryAccess
Package
Description
-
Uses of CommandRegistryAccess in net.minecraft.command
Modifier and TypeInterfaceDescriptionstatic interface
Modifier and TypeMethodDescriptionstatic CommandRegistryAccess
CommandRegistryAccess.of
(RegistryWrapper.WrapperLookup wrapperLookup, FeatureSet enabledFeatures) -
Uses of CommandRegistryAccess in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic BlockPredicateArgumentType
BlockPredicateArgumentType.blockPredicate
(CommandRegistryAccess commandRegistryAccess) static BlockStateArgumentType
BlockStateArgumentType.blockState
(CommandRegistryAccess commandRegistryAccess) EntityArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) RegistryEntryArgumentType.Serializer.Properties.createType
(CommandRegistryAccess commandRegistryAccess) RegistryEntryPredicateArgumentType.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) static ParticleEffectArgumentType
ParticleEffectArgumentType.particleEffect
(CommandRegistryAccess registryAccess) static <T> RegistryEntryArgumentType<T>
RegistryEntryArgumentType.registryEntry
(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryEntryPredicateArgumentType<T>
RegistryEntryPredicateArgumentType.registryEntryPredicate
(CommandRegistryAccess registryRef, RegistryKey<? extends Registry<T>> registryAccess) ModifierConstructorDescriptionBlockPredicateArgumentType
(CommandRegistryAccess commandRegistryAccess) BlockStateArgumentType
(CommandRegistryAccess commandRegistryAccess) ItemPredicateArgumentType
(CommandRegistryAccess commandRegistryAccess) ItemStackArgumentType
(CommandRegistryAccess commandRegistryAccess) ParticleEffectArgumentType
(CommandRegistryAccess registryAccess) RegistryEntryArgumentType
(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) RegistryEntryPredicateArgumentType
(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) -
Uses of CommandRegistryAccess in net.minecraft.command.argument.serialize
Modifier and TypeFieldDescriptionprivate final Function<CommandRegistryAccess,
A> ConstantArgumentSerializer.Properties.typeSupplier
Modifier 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) Modifier and TypeMethodDescriptionstatic <T extends com.mojang.brigadier.arguments.ArgumentType<?>>
ConstantArgumentSerializer<T>ConstantArgumentSerializer.of
(Function<CommandRegistryAccess, T> typeSupplier) ModifierConstructorDescriptionprivate
ConstantArgumentSerializer
(Function<CommandRegistryAccess, A> typeSupplier) Properties
(Function<CommandRegistryAccess, A> typeSupplier) -
Uses of CommandRegistryAccess in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final CommandRegistryAccess
CommandTreeS2CPacket.CommandTree.commandRegistryAccess
Modifier 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) ModifierConstructorDescription(package private)
CommandTree
(CommandRegistryAccess commandRegistryAccess, List<CommandTreeS2CPacket.CommandNodeData> nodeDatas) -
Uses of CommandRegistryAccess in net.minecraft.server.command
Modifier and TypeMethodDescriptionstatic CommandRegistryAccess
CommandManager.createRegistryAccess
(RegistryWrapper.WrapperLookup registryLookup) Modifier 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) static void
AttributeCommand.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
SetBlockCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
SummonCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) ModifierConstructorDescriptionCommandManager
(CommandManager.RegistrationEnvironment environment, CommandRegistryAccess commandRegistryAccess)