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 CommandRegistryAccessCommandRegistryAccess.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 BlockPredicateArgumentTypeBlockPredicateArgumentType.blockPredicate(CommandRegistryAccess commandRegistryAccess) static BlockStateArgumentTypeBlockStateArgumentType.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 ItemPredicateArgumentTypeItemPredicateArgumentType.itemPredicate(CommandRegistryAccess commandRegistryAccess) static ItemStackArgumentTypeItemStackArgumentType.itemStack(CommandRegistryAccess commandRegistryAccess) RegistryEntryArgumentType.lootCondition(CommandRegistryAccess registryAccess) RegistryEntryArgumentType.lootFunction(CommandRegistryAccess registryAccess) RegistryEntryArgumentType.lootTable(CommandRegistryAccess registryAccess) static ParticleEffectArgumentTypeParticleEffectArgumentType.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 StyleArgumentTypeStyleArgumentType.style(CommandRegistryAccess registryAccess) static TextArgumentTypeTextArgumentType.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) protectedLootConditionArgumentType(CommandRegistryAccess registryAccess) protectedLootFunctionArgumentType(CommandRegistryAccess registryAccess) protectedLootTableArgumentType(CommandRegistryAccess registryAccess) ParticleEffectArgumentType(CommandRegistryAccess registryAccess) protectedRegistryEntryArgumentType(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.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.command
Methods in net.minecraft.server.command that return CommandRegistryAccessModifier and TypeMethodDescriptionstatic CommandRegistryAccessCommandManager.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 voidAttributeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidBossBarCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidClearCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidCloneCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidDamageCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidEffectCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidEnchantCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidExecuteCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidFillBiomeCommand.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 registryAccess) static voidLootCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidParticleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidRaidCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidScoreboardCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidSetBlockCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidSummonCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidTeamCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidTellRawCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidTitleCommand.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)