steel_core/command/execution/
mod.rs1mod argument;
4mod biome;
5mod block;
6mod coordinates;
7mod item;
8mod item_predicate;
9mod nbt;
10mod permission;
11mod profile;
12mod queue;
13mod runtime;
14mod score;
15mod selector;
16mod source;
17mod structure;
18mod suggestions;
19mod swing_animation;
20mod text;
21mod world;
22
23pub(crate) use argument::SteelArgumentType;
24pub(crate) use argument::{SteelArgumentParser, SteelArgumentSuggestionContext};
25pub(crate) use biome::BiomeOrTag;
26pub(crate) use block::{BlockInput, BlockPredicate, placement_flags};
27pub(crate) use coordinates::Coordinates;
28pub(crate) use item_predicate::ItemPredicate;
29pub(crate) use permission::PermissionGroupName;
30pub(crate) use profile::GameProfileArgument;
31pub use queue::CommandSuspensionOrder;
32pub(crate) use queue::{
33 ChainModifiers, CommandExecutionContext, CommandResultSuspension, CommandResultSuspensionPoll,
34 ExecutionControl, ExecutionStop,
35};
36#[cfg_attr(
37 not(test),
38 expect(
39 unused_imports,
40 reason = "custom scheduler extension hooks are retained for keyed command runtimes"
41 )
42)]
43pub(crate) use queue::{CommandSuspension, CommandSuspensionPoll, EntryAction, Frame};
44pub(crate) use runtime::{CustomCommandExecutor, CustomModifierExecutor};
45pub(crate) use runtime::{
46 SteelCommandContext, SteelCommandRuntime, SteelContextChain, SteelExecutor, SteelModifier,
47 SteelSuggestionContext, argument, literal,
48};
49pub(crate) use score::{IntRange, ScoreHolderArgument, ScoreHolderWildcard};
50#[cfg(test)]
51pub(crate) use selector::parse_entity_selector_text;
52pub(crate) use source::{
53 CommandArgumentSource, CommandPermissionSource, CommandResultCallback, CommandSource,
54 ExecutionCommandSource,
55};
56pub(crate) use structure::StructureOrTagKey;
57pub(crate) use suggestions::{FixedSuggestionProvider, suggest_list};
58pub(crate) use text::CommandTextResolver;
59pub(crate) use world::WorldArgument;
60
61#[cfg(test)]
62mod argument_tests;
63#[cfg(test)]
64mod tests;