Uses of Record Class
dev.jorel.commandapi.MockCommandSource
Packages that use MockCommandSource
Package
Description
-
Uses of MockCommandSource in dev.jorel.commandapi
Methods in dev.jorel.commandapi that return types with arguments of type MockCommandSourceModifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher<MockCommandSource> MockCommandRegistrationStrategy.getBrigadierDispatcher()MockCommandAPI.getCommandAPIBukkit()com.mojang.brigadier.tree.LiteralCommandNode<MockCommandSource> MockCommandRegistrationStrategy.registerCommandNode(com.mojang.brigadier.builder.LiteralArgumentBuilder<MockCommandSource> builder, String namespace) Method parameters in dev.jorel.commandapi with type arguments of type MockCommandSourceModifier and TypeMethodDescriptionvoidMockCommandRegistrationStrategy.postCommandRegistration(RegisteredCommand registeredCommand, com.mojang.brigadier.tree.LiteralCommandNode<MockCommandSource> resultantNode, List<com.mojang.brigadier.tree.LiteralCommandNode<MockCommandSource>> aliasNodes) voidMockCommandRegistrationStrategy.postCommandRegistration(RegisteredCommand registeredCommand, com.mojang.brigadier.tree.LiteralCommandNode<MockCommandSource> resultantNode, List<com.mojang.brigadier.tree.LiteralCommandNode<MockCommandSource>> aliasNodes) com.mojang.brigadier.tree.LiteralCommandNode<MockCommandSource> MockCommandRegistrationStrategy.registerCommandNode(com.mojang.brigadier.builder.LiteralArgumentBuilder<MockCommandSource> builder, String namespace) Constructor parameters in dev.jorel.commandapi with type arguments of type MockCommandSourceModifierConstructorDescriptionprotectedMockCommandAPI(CommandAPIBukkit<MockCommandSource> commandAPIBukkit) protectedMockCommandRegistrationStrategy(CommandAPIHandler<Argument<?>, org.bukkit.command.CommandSender, MockCommandSource> commandAPIHandler) -
Uses of MockCommandSource in dev.jorel.commandapi.arguments
Methods in dev.jorel.commandapi.arguments with parameters of type MockCommandSourceModifier and TypeMethodDescriptionList<? extends org.bukkit.entity.Entity> EntitySelector.findEntities(MockCommandSource source) List<org.bukkit.entity.Player> EntitySelector.findPlayers(MockCommandSource source) List<org.bukkit.profile.PlayerProfile> ProfileArgumentType.ProfileSelector.getProfiles(MockCommandSource source) Method parameters in dev.jorel.commandapi.arguments with type arguments of type MockCommandSourceModifier and TypeMethodDescriptionstatic List<? extends org.bukkit.entity.Entity> EntitySelectorArgumentType.findManyEntities(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key, boolean allowEmpty) static List<org.bukkit.entity.Player> EntitySelectorArgumentType.findManyPlayers(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key, boolean allowEmpty) static org.bukkit.entity.EntityEntitySelectorArgumentType.findSingleEntity(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) static org.bukkit.entity.PlayerEntitySelectorArgumentType.findSinglePlayer(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) static List<? extends org.bukkit.profile.PlayerProfile> ProfileArgumentType.getProfiles(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) static IntegerRangeIntegerRangeArgumentType.getRange(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) -
Uses of MockCommandSource in dev.jorel.commandapi.nms
Methods in dev.jorel.commandapi.nms that return MockCommandSourceModifier and TypeMethodDescriptionMockNMS.getBrigadierSourceFromCommandSender(AbstractCommandSender<? extends org.bukkit.command.CommandSender> sender) Methods in dev.jorel.commandapi.nms that return types with arguments of type MockCommandSourceModifier and TypeMethodDescriptioncom.mojang.brigadier.suggestion.SuggestionProvider<MockCommandSource> MockNMS.getSuggestionProvider(SuggestionProviders suggestionProvider) Methods in dev.jorel.commandapi.nms with parameters of type MockCommandSourceModifier and TypeMethodDescriptionBukkitCommandSender<? extends org.bukkit.command.CommandSender> MockNMS.getCommandSenderFromCommandSource(MockCommandSource css) org.bukkit.WorldMockNMS.getWorldForCSS(MockCommandSource clw) Method parameters in dev.jorel.commandapi.nms with type arguments of type MockCommandSourceModifier and TypeMethodDescriptionvoidMockNMS.createDispatcherFile(File file, com.mojang.brigadier.CommandDispatcher<MockCommandSource> brigadierDispatcher) org.bukkit.advancement.AdvancementMockNMS.getAdvancement(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) floatMockNMS.getAngle(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) EnumSet<org.bukkit.Axis> MockNMS.getAxis(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) RegistryParser<org.bukkit.block.Biome> MockNMS.getBiome(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) Predicate<org.bukkit.block.Block> MockNMS.getBlockPredicate(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) org.bukkit.block.BlockStateMockNMS.getBlockState(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) org.bukkit.WorldMockNMS.getDimension(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getDoubleRange(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) org.bukkit.enchantments.EnchantmentMockNMS.getEnchantment(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getEntitySelector(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) org.bukkit.entity.EntityTypeMockNMS.getEntityType(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getFunction(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getIntRange(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) org.bukkit.inventory.ItemStackMockNMS.getItemStack(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) Predicate<org.bukkit.inventory.ItemStack> MockNMS.getItemStackPredicate(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getLocation2DBlock(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getLocation2DPrecise(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) org.bukkit.LocationMockNMS.getLocationBlock(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String str) org.bukkit.LocationMockNMS.getLocationPrecise(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String str) org.bukkit.loot.LootTableMockNMS.getLootTable(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getMathOperation(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) org.bukkit.NamespacedKeyMockNMS.getMinecraftKey(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) <NBTContainer>
ObjectMockNMS.getNBTCompound(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key, Function<Object, NBTContainer> nbtContainerConstructor) org.bukkit.scoreboard.ObjectiveMockNMS.getObjective(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getObjectiveCriteria(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) ParticleData<?> MockNMS.getParticle(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) RegistryParser<org.bukkit.potion.PotionEffectType> MockNMS.getPotionEffect(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) <T extends org.bukkit.inventory.Recipe>
TMockNMS.getRecipe(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key, BiFunction<org.bukkit.NamespacedKey, org.bukkit.inventory.Recipe, T> result) MockNMS.getRotation(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getScoreboardSlot(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getScoreHolderMultiple(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getScoreHolderSingle(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) BukkitCommandSender<? extends org.bukkit.command.CommandSender> MockNMS.getSenderForCommand(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, boolean forceNative) RegistryParser<org.bukkit.Sound> MockNMS.getSound(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) org.bukkit.scoreboard.TeamMockNMS.getTeam(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) intMockNMS.getTime(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) MockNMS.getUUID(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) -
Uses of MockCommandSource in dev.jorel.commandapi.spying
Methods in dev.jorel.commandapi.spying that return types with arguments of type MockCommandSourceModifier and TypeMethodDescriptionCommandAPIHandler<Argument<?>, org.bukkit.command.CommandSender, MockCommandSource> CommandAPIHandlerSpy.spyHandler()