动作参考
来自 reference.elmakers.com。 共 209 个动作。
Absorb
类别: construction
Absorb a block as a brush into your brush inventory
参数:
| 参数 | 默认值 |
|---|---|
| wildcard | false |
Add Spell
类别: player
Add a spell to a player or wand
参数:
| 参数 | 默认值 |
|---|---|
| add_to | wand |
| auto_upgrade | true |
| path | |
| path_end | |
| path_exact | |
| permission | |
| spell |
Aggro
类别: entity
Force a mob to focus on the caster
参数:
| 参数 | 默认值 |
|---|---|
| clear_target | false |
| set_pathfinder | true |
| speed_modifier | 1.0 |
Air Supply
类别: entity
Increase an entity's air supply
参数:
| 参数 | 默认值 |
|---|---|
| air | 0 |
All Entities
类别: compound
Target all entities in the current world, or optionally in all worlds
参数:
| 参数 | 默认值 |
|---|---|
| sort | false |
| target_all_worlds | false |
Animate
类别: compound
Experimental incomplete action, do not use.
Apply Cooldown
类别: player
Apply or clear cooldowns on one or more of a player's spells
参数:
| 参数 | 默认值 |
|---|---|
| bypass_reduction | false |
| clear | false |
| duration | 0 |
| exclude_spells | |
| reduce | 0 |
| spells | |
| tags | |
| target_caster | false |
Area Of Effect
类别: compound
Target all entities within a radius
参数:
| 参数 | 默认值 |
|---|---|
| ignore_modified | false |
| min_radius | 0.0 |
| radius | 8 |
| random_choose | false |
| sort | false |
| target_count | -1 |
| target_source | true |
| y_radius | 8 |
Area Of Effect Cloud
类别: entity
Create an area of effect cloud entity. Shortcut for the SpawnEntity action.
参数:
| 参数 | 默认值 |
|---|---|
| aggro | true |
| ai | true |
| allow_replacement | true |
| amount | 1 |
| aware | false |
| baby | false |
| base_potion_type | |
| boots | |
| boss_bar | |
| boss_bar_map | |
| brain | |
| can_pickup_items | false |
| cancel_explosion | false |
| cancel_interact | false |
| cast | |
| cast_requires_item | |
| cast_requires_target | true |
| chestplate | |
| collidable | false |
| color | |
| combustible | true |
| default_drops | true |
| dialog | |
| dialog_face_player | true |
| dialog_interval | 2000 |
| dialog_random | false |
| dialog_range | 3.0 |
| direction | |
| disguise_map | |
| disguise_target | |
| docile | false |
| drop_xp | 0 |
| drops | |
| drops_require_player_killer | false |
| duration | 2000 |
| duration_on_use | 0 |
| dy_offset | 0 |
| entity_attributes | |
| entity_parameters | |
| entity_types-map | |
| equip_on_respawn | true |
| face_player | false |
| force | false |
| goals | |
| gravity | true |
| gravity_boolean | true |
| hand_item | |
| health | 1 |
| helmet | |
| hidden | false |
| interact_command_source | console |
| interact_commands | |
| interact_costs | |
| interact_permission | |
| interact_requires_owner | false |
| interact_spell | |
| interact_spell_parameters | |
| interact_spell_source | player |
| interact_spell_target | mob |
| interval_requires_target | true |
| invisible | false |
| invulnerable | false |
| leash_range | 0 |
| leggings | |
| lifetime | 0 |
| loot | false |
| mage | |
| max_health | 1 |
| mob_attributes | |
| mob_cast_interval | 0 |
| mob_interval | 0 |
| model | |
| modifiers | |
| mount | |
| mythic_mob | |
| mythic_mob_level | 0.0 |
| name | |
| npc | false |
| offhand | |
| on_block | true |
| ownable | false |
| owned | true |
| owner | |
| parameterize_name | true |
| particle | |
| passenger_rotation_speed | 0.0 |
| permissions | |
| persist | false |
| potion_effects | |
| prevent_dismount | false |
| prevent_melee | false |
| prevent_projectiles | false |
| prevent_teleport | false |
| protected | false |
| protection | |
| radius | 5 |
| radius_on_use | 0 |
| radius_per_tick | 0 |
| reapplication_delay | 0 |
| reason | |
| register_by_name | false |
| relentless | false |
| reload | false |
| remove_mounts | |
| remove_when_far_away | false |
| repeat_random | true |
| set_source | false |
| set_target | false |
| show_name | false |
| silent | false |
| sitting | false |
| spawn_actions | |
| speed | 0 |
| static | false |
| stay | false |
| stay_boolean | false |
| strength | |
| tags | |
| tamed | false |
| targeting | |
| temporary | false |
| track_radius | 128 |
| transformable | true |
| triggers | |
| type | |
| use_npc_name | false |
| use_wand_name | false |
| wait_for_death | true |
| wait_time | 0 |
| weakness | |
| xp | 0 |
Armor Stand Projectile
类别: compound
Create a projectile that uses an armor stand. This can be used with invisible armor stands holding items from a custom resource pack for detailed custom 3D projectiles.
参数:
| 参数 | 默认值 |
|---|---|
| active_wand | false |
| aggro | true |
| ai | true |
| allow_replacement | true |
| amount | 1 |
| apply_velocity | true |
| armor_stand_arms | true |
| armor_stand_baseplate | false |
| armor_stand_gravity | false |
| armor_stand_invisible | true |
| armor_stand_marker | true |
| armor_stand_small | false |
| arms | false |
| attach_duration | 0 |
| attributes | |
| aware | false |
| baby | false |
| baseplate | true |
| block_hit_count | 1 |
| body_pose | |
| body_transform | |
| boots | |
| boots_item | |
| boss_bar | |
| boss_bar_map | |
| brain | |
| break_blocks | true |
| breakable_size | 1 |
| bypass_backfire | false |
| can_pickup_items | false |
| cancel_explosion | false |
| cancel_interact | false |
| cast | |
| cast_interval | 0 |
| cast_requires_item | |
| cast_requires_target | true |
| chestplate | |
| chestplate_item | |
| close_fov | 0.5 |
| close_range | 0 |
| collidable | false |
| color | |
| combustible | true |
| custom_name | |
| custom_name_visible | false |
| default_drops | true |
| dialog | |
| dialog_face_player | true |
| dialog_interval | 2000 |
| dialog_random | false |
| dialog_range | 3.0 |
| disabled_slots | 0 |
| disguise | |
| disguise_map | |
| distance_weight | 1 |
| docile | false |
| drag | 0 |
| drop_xp | 0 |
| drops | |
| drops_require_player_killer | false |
| entity_attributes | |
| entity_hit_count | 1 |
| entity_weight | 3 |
| equip_on_respawn | true |
| face_player | false |
| fov | 0.3 |
| fov_weight | 4 |
| goals | |
| gravity | 0 |
| head_pose | |
| head_transform | |
| headshot_actions | |
| headshot_effects | headshot |
| health | 1 |
| helmet | |
| helmet_item | |
| hidden | false |
| hit_count | 1 |
| hit_effects | hit |
| hit_on_miss | false |
| hit_requires_entity | false |
| hitbox | false |
| hitbox_block_size | 0 |
| hitbox_size | 0 |
| ignore_blocks | false |
| ignore_hit_entities | true |
| ignore_targeting | false |
| interact_command_source | console |
| interact_commands | |
| interact_costs | |
| interact_permission | |
| interact_requires_owner | false |
| interact_spell | |
| interact_spell_parameters | |
| interact_spell_source | player |
| interact_spell_target | mob |
| interval | 30 |
| interval_requires_target | true |
| invisible | false |
| invulnerable | false |
| item | |
| leash_range | 0 |
| left_arm_pose | |
| left_arm_transform | |
| left_leg_pose | |
| left_leg_transform | |
| leggings | |
| leggings_item | |
| lifetime | 8000 |
| location_offset | |
| loot | |
| loot_map | |
| mage | |
| marker | false |
| max_health | 1 |
| min_block_range | 0 |
| min_entity_range | 0 |
| miss_actions | |
| miss_effects | miss |
| model | |
| modifiers | |
| mount | |
| mount_wand | false |
| mythic_mob | |
| mythic_mob_level | 0.0 |
| name | |
| no_target | true |
| npc | false |
| npc_weight | -1 |
| offhand | |
| orient | false |
| orient_head | false |
| orient_right_arm | false |
| otdx | |
| otdy | |
| otdz | |
| otworld | |
| otx | |
| oty | |
| otz | |
| ownable | false |
| owner | |
| passenger_rotation_speed | 0.0 |
| permissions | |
| persist | false |
| pitch_max | -90 |
| pitch_min | 90 |
| plan | |
| player_weight | 4 |
| potion_effects | |
| prevent_dismount | false |
| prevent_melee | false |
| prevent_projectiles | false |
| prevent_teleport | false |
| projectile_effects | projectile |
| projectile_effects_use_target | false |
| projectile_follow_player | false |
| projectile_potion_effects | |
| protected | false |
| protection | |
| range | 0 |
| range_padding | 1 |
| reactivate_wand | false |
| reflect_count | -1 |
| reflect_reorient | false |
| reflect_reset_distance_traveled | true |
| reflect_target_caster | true |
| reflect_track_range | 0 |
| reflect_track_target | false |
| register_by_name | false |
| relative_location_offset | |
| relentless | false |
| reload | false |
| remove_mounts | |
| remove_when_far_away | false |
| reorient | false |
| reset_time_on_path_change | false |
| return_offset | |
| return_relative_offset | |
| return_to_caster | false |
| reverse | false |
| right_arm_item | |
| right_arm_pose | |
| right_arm_transform | |
| right_leg_pose | |
| right_leg_transform | |
| show_name | false |
| silent | false |
| sitting | false |
| small | false |
| source_location | |
| spawn_actions | |
| spawn_reason | |
| speed | 1 |
| spread | 0 |
| spread_movement | 0 |
| spread_movement_max | 0 |
| start | 0 |
| static | false |
| stay | false |
| stay_boolean | false |
| strength | |
| tags | |
| tamed | false |
| target | |
| target_breakable_depth | 2 |
| target_breakables | 1 |
| target_min_offset | 0 |
| target_self | false |
| target_self_timeout | 0 |
| targeting | |
| teleport | true |
| temporary | false |
| tick_actions | |
| tick_effects | tick |
| tick_size | 0.5 |
| tmo | 0 |
| track_radius | 128 |
| track_range | 0 |
| track_speed | 0 |
| track_target | false |
| transformable | true |
| triggers | |
| triggers_map | |
| type | |
| unbreakable_items | false |
| update_launch_location | false |
| use_block_location | false |
| use_brush | |
| use_cast_location | false |
| use_eye_location | false |
| use_hit_location | false |
| use_npc_name | false |
| use_target_location | true |
| use_wand | false |
| use_wand_location | true |
| variant | |
| velocity | 20 |
| velocity_offset | |
| velocity_transform-map | |
| visible_delay_ticks | 1 |
| wand_slot | helmet |
| weakness | |
| xp | 0 |
Ascend
类别: entity
Move up through blocks above the player
参数:
| 参数 | 默认值 |
|---|---|
| keep_velocity | false |
| maintain_direction | false |
| prevent_fall | true |
| require_build | false |
| require_exit | true |
| safe | true |
| teleport_vehicle | true |
| vertical_range | 8 |
Asynchronous
类别: compound
Performs its sub-actions outside of the flow of the rest of the action list This can be used to launch several projectiles without waiting for them to hit, for instance.
Block Search
类别: compound
Looks in a specific direction for blocks matching the destructible list
参数:
| 参数 | 默认值 |
|---|---|
| direction | up |
Bonemeal
类别: engineering
Grows a blockk as if bonemeal had been used on it
Book
Modify a book-based wand, used for creating dynamic books Can also give a book
参数:
| 参数 | 默认值 |
|---|---|
| author | mage |
| book_item | |
| give_book | false |
| pages | |
| title | |
| virtual_book | true |
Boss Bar
Create or update a boss bar Can be used in an Interval action for animated bars
参数:
| 参数 | 默认值 |
|---|---|
| bar_color | |
| bar_flags | |
| bar_interval | 10000 |
| bar_interval_randomization | 1000 |
| bar_progress | 0.0 |
| bar_radius | 32.0 |
| bar_style | |
| bar_title | $spell |
| font | |
| interval | 10000 |
| interval_randomization | 1000 |
| radius | 32.0 |
| show_target | false |
| style | |
| title | $spell |
| update_title | false |
Break Block
类别: construction
Breaks a block naturally Can be configured to only break blocks below a certain vanilla durability Applies packet-based block breaking effects before fully destroying a block If the player does not have break permission, the visual breaking effects will still be applied but the block will not fully break
参数:
| 参数 | 默认值 |
|---|---|
| auto_block_state | false |
| break_durability | 1 |
| break_material | |
| break_percent | 0.0 |
| breakable | 0 |
| check_chunk | false |
| commit | false |
| consume | false |
| consume_variants | true |
| damage | 0 |
| display | false |
| display_scale | 1.0 |
| durability_max_distance | 0 |
| fall_damage | 0 |
| falling | false |
| falling_hurts | false |
| falling_probability | 1 |
| max_damage | 0 |
| physics | false |
| physics_blocks | false |
| reflect_chance | 0 |
| replace_same | false |
| speed | 0 |
Brush
类别: compound
Change the brush used for contained actions Capable of choosing a random brush from a 'brushes' proability map
参数:
| 参数 | 默认值 |
|---|---|
| brush | |
| brushes | |
| brushmod | |
| replacements | |
| sample | false |
Brush Select
类别: player
Open the brush selector GUI
参数:
| 参数 | 默认值 |
|---|---|
| allow_absorbing | true |
Burn
类别: construction
Light the target block on fire
参数:
| 参数 | 默认值 |
|---|---|
| all_fire | all_fire |
| fire_type | fire |
| melt_ice | true |
Cancel
类别: player
Cancel any active spells, or specific spells, for the target player
参数:
| 参数 | 默认值 |
|---|---|
| current | true |
| force | false |
| spells |
Capture
类别: entity
Remove the target entity and replace it with a spawn egg that will respawn the entity
参数:
| 参数 | 默认值 |
|---|---|
| min_health | -1 |
| remove | true |
Cast
Cast a specific spell, optionally providing parameters This can be used to make complex combinations of spells by including one spell in another Or it could make a spell that randomly casts other spells It could also be used as a way to organize commonly-used sets of actions and use them in several different spells.
参数:
| 参数 | 默认值 |
|---|---|
| as_target | true |
| console | false |
| cooldown_free | false |
| cost_free | true |
| spell | |
| spell_parameters |
Cast Result
An action used for debugging specific cast results
参数:
| 参数 | 默认值 |
|---|---|
| end_result | false |
| result |
Change Biome
类别: construction
Change the biome of the target block
参数:
| 参数 | 默认值 |
|---|---|
| biome | |
| biome_replacements |
Change Context
类别: compound
A complicated compound action that can be used to run sub-actions using a modified context The action context includes things such as the source and target locations and entities
参数:
| 参数 | 默认值 |
|---|---|
| destructible_materials | |
| indestructible_materials | |
| orient_pitch | true |
| persist_caster | false |
| persist_target | false |
| random_source_offset | |
| random_target_offset | |
| relative_source_offset | |
| relative_target_offset | |
| source_at_target | false |
| source_direction | |
| source_direction_at_target | false |
| source_direction_is_target | false |
| source_direction_offset | |
| source_direction_speed | 0 |
| source_is_caster | false |
| source_is_target | false |
| source_location | |
| source_offset | |
| source_pitch | |
| source_pitch_max | -90 |
| source_pitch_min | 90 |
| source_pitch_offset | 0 |
| source_relative_direction_pitch_offset | 0 |
| source_relative_direction_yaw_offset | 0 |
| source_use_movement_direction | false |
| source_yaw | |
| source_yaw_offset | 0 |
| swap_source_and_target | false |
| target_attachment | false |
| target_caster | false |
| target_direction | |
| target_direction_offset | |
| target_direction_speed | 0 |
| target_entity | false |
| target_location | |
| target_offset | |
| target_pitch_offset | 0 |
| target_relative_direction_pitch_offset | 0 |
| target_relative_direction_yaw_offset | 0 |
| target_self | false |
| target_snap | 0 |
| target_use_movement_direction | false |
| target_yaw_offset | 0 |
| use_parent_source_entity | false |
| use_parent_source_location | false |
| use_parent_target_entity | false |
| use_parent_target_location | false |
| use_target_mage | false |
Change Parameters
类别: control
Change the parameters of a spell mid-cast
Change Server
类别: player
Move a player to another server Requires a BungeCord server network
参数:
| 参数 | 默认值 |
|---|---|
| server |
Change World
类别: entity
Move the player to a different world, but with the same coordinate as in their current world Can be configured with a set of worlds and scales, for instance to mimic nether:overworld 1:8 scale
参数:
| 参数 | 默认值 |
|---|---|
| keep_velocity | false |
| load | true |
| maintain_direction | false |
| prevent_fall | true |
| require_build | false |
| require_exit | true |
| safe | true |
| scale | 1.0 |
| target_location | |
| target_world | |
| teleport_vehicle | true |
| vertical_range | 8 |
| worlds |
Chat
类别: player
Force the target player to say something in chat
参数:
| 参数 | 默认值 |
|---|---|
| message | |
| randomized_messages |
Check Bedrock Form
类别: compound
参数:
| 参数 | 默认值 |
|---|---|
| button1_key | button1 |
| button2_key | button2 |
| fail_actions | |
| invert | false |
| message_key | message |
| timeout | 0 |
| title_key | title |
| trigger |
Check Block
类别: compound
Test if a block is in the destructible list Only runs its sub-actions if the block passes the destructible check.
参数:
| 参数 | 默认值 |
|---|---|
| allow_brush | false |
| allowed | |
| biome_actions | |
| biomes | |
| biomes_list | |
| block_actions | |
| check_permission | true |
| direction | |
| direction_count | 1 |
| fail_actions | |
| invert | false |
| not_biomes | |
| not_brush | false |
| set_target | false |
| source_location | eyes |
| timeout | 0 |
| use_target | true |
Check Chat Click
类别: compound
参数:
| 参数 | 默认值 |
|---|---|
| Hover_message_key | hover_message |
| click_message_key | click_message |
| click_template_key | click_template |
| fail_actions | |
| hover_message_key | hover_message |
| invert | false |
| message_key | message |
| timeout | 0 |
| trigger |
Check Entity
类别: compound
Test if an entity is allowed to target Only runs its sub-actions if the entity passes the checks.
参数:
| 参数 | 默认值 |
|---|---|
| allow_caster | true |
| allowed_entities | |
| allowed_entity_classes | |
| denied_entities | |
| denied_entity_classes | |
| fail_actions | |
| invert | false |
| on_fire | false |
| on_ground | false |
| only_caster | false |
| owned | false |
| owner | false |
| owner_boolean | false |
| stay | false |
| stay_boolean | false |
| timeout | 0 |
Check Health
类别: compound
Check the target entity's health Will either stop the spell or run a set of actions, depending on the health of the target
参数:
| 参数 | 默认值 |
|---|---|
| as_percentages | false |
| fail_actions | |
| full_health | false |
| invert | false |
| max_health | 0.0 |
| min_health | 0.0 |
| timeout | 0 |
Check Inventory
类别: compound
Check the players inventory for a specific item Will run sub-actions if the item is found If no sub-actions are given, will cancel the spell if the item is not found
参数:
| 参数 | 默认值 |
|---|---|
| allowed_enchantments | |
| blocked_enchantments | |
| fail_actions | |
| invert | false |
| item | |
| material_only | false |
| slot | |
| target_block | false |
| target_caster | false |
| timeout | 0 |
Check Lore
类别: compound
React to specific lore elements in the wand item's lore
参数:
| 参数 | 默认值 |
|---|---|
| fail_actions | |
| invert | false |
| pattern | |
| timeout | 0 |
Check Mana
类别: compound
Test if a player has or does not have an amount of mana Only runs its sub-actions if player's mana is as required.
参数:
| 参数 | 默认值 |
|---|---|
| fail_actions | |
| invert | false |
| require_mana | 0 |
| require_mana_empty | false |
| require_mana_not_full | false |
| require_mana_percentage | 0.0 |
| timeout | 0 |
Check Modifiers
类别: compound
React to specific modifiers being applied to the target
参数:
| 参数 | 默认值 |
|---|---|
| blocked | |
| blocked_list | |
| fail_actions | |
| invert | false |
| required | |
| required_list | |
| timeout | 0 |
Check Potion Effects
类别: compound
React to specific potion effects being applied to the target
参数:
| 参数 | 默认值 |
|---|---|
| blocked | |
| fail_actions | |
| invert | false |
| required | |
| timeout | 0 |
Check Requirements
类别: compound
Runs a set of actions only if the caster meets certain requirements Some requirement types expect a single value, others expect a section containing one or more of: min, max, value. These requirements can be a range or require a specific value to be set. permission: Check a permission path: The player must have reached a progression path path_exact: The player must current be on a progression path path_end: The player must be ready to advance from a path wand: The player must be holding a specific wand holding_wand: The player must be holding any wand (true/false) class: The player must have unlocked a specific mage class wand_tags: The player must be holding a wand with specific tags wands: The player must be holding one of a set of wands wand_properties: The player's wand must have properties within a specific range (ranged) class_properties: The player's mage class must have properties within a specific range (ranged) attributes: The player must have some attributes within a specific range (ranged) time: Only during a certain time of day (ranged) light: Only at certain light levels (ranged)
参数:
| 参数 | 默认值 |
|---|---|
| fail_actions | |
| invert | false |
| requirement | |
| requirements | |
| send_message | false |
| timeout | 0 |
| use_target | false |
Check Trigger
类别: compound
React to a trigger having happened since the last check This can be unsed in an Interval action to wait until some time has passed or a trigger happens
参数:
| 参数 | 默认值 |
|---|---|
| fail_actions | |
| invert | false |
| timeout | 0 |
| trigger |
Check Velocity
类别: compound
React to the velocity of the target
参数:
| 参数 | 默认值 |
|---|---|
| fail_actions | |
| invert | false |
| max_speed | nan |
| min_speed | nan |
| timeout | 0 |
Clear Chat
类别: player
Clear the target player's chat log This is done by sending 100 blank lines
Clear Fall Protection
Clear any fall protection set on the target
Clear Inventory
Clear the inventory of the target
Color Item
Color a colorable item such as leather armor or horse armor
参数:
| 参数 | 默认值 |
|---|---|
| color | |
| color_wand | false |
| slot | |
| slots | |
| slots_list |
Command
类别: control
Run one or more commands Supports the following variables: @spell, @pd (caster display name), @p, @pn (same as @p, caster name), @uuid, @world, @x, @y, @z, @tworld, @tx, @ty, @tz (target location), @td (target display name), @t, @tn (same as @t, target name), @tuuid
参数:
| 参数 | 默认值 |
|---|---|
| as_target | false |
| command | |
| console | false |
| equation | 0.0 |
| escape_sequence | |
| local_echo | true |
| modal | false |
| op | false |
| timeout | 0 |
| variables |
Commit
Clear your undo queue, making all spell changes permanent
参数:
| 参数 | 默认值 |
|---|---|
| commit_all | true |
Cone Of Effect
类别: compound
Target all entities within a cone in front of the caster
参数:
| 参数 | 默认值 |
|---|---|
| close_fov | 0.5 |
| close_range | 0 |
| distance_weight | 1 |
| entity_weight | 3 |
| fov | 0.3 |
| fov_weight | 4 |
| hitbox | false |
| hitbox_block_size | 0 |
| hitbox_size | 0 |
| ignore_blocks | false |
| npc_weight | -1 |
| otdx | |
| otdy | |
| otdz | |
| otworld | |
| otx | |
| oty | |
| otz | |
| player_weight | 4 |
| range | 16 |
| range_padding | 1 |
| sort | false |
| target | |
| target_breakable_depth | 2 |
| target_count | -1 |
| target_min_offset | 0 |
| tmo | 0 |
Count
类别: control
Count up the number of blocks or entities targeted and message the count to the caster
Cover
类别: compound
Target the first solid block below the current target
参数:
| 参数 | 默认值 |
|---|---|
| target_above | false |
| target_highest | false |
Create Automaton
Deprecated action, replaced by CreateMagicBlock
参数:
| 参数 | 默认值 |
|---|---|
| automaton | |
| automaton_parameters |
Create Field
类别: construction
Create a PreciousStones field
参数:
| 参数 | 默认值 |
|---|---|
| auto_block_state | false |
| breakable | 0 |
| check_chunk | false |
| commit | false |
| consume | false |
| consume_variants | true |
| damage | 0 |
| display | false |
| display_scale | 1.0 |
| fall_damage | 0 |
| falling | false |
| falling_hurts | false |
| falling_probability | 1 |
| field_rent | |
| field_rent_period | |
| field_rent_sign_direction | 0 |
| field_type | |
| max_damage | 0 |
| physics | false |
| physics_blocks | false |
| reflect_chance | 0 |
| replace_same | false |
| speed | 0 |
Create Magic Block
Create a new magic block at the target location
参数:
| 参数 | 默认值 |
|---|---|
| block_parameters | |
| template |
Create NPC
Create a new NPC at the target location
参数:
| 参数 | 默认值 |
|---|---|
| key_book_contents | |
| key_item | |
| key_overrides | |
| name | npc |
| npc_parameters | |
| npc_template |
Create Plot
类别: construction
Create a Towny plot
参数:
| 参数 | 默认值 |
|---|---|
| price | 0 |
Custom Projectile
类别: compound
A flexible custom projectile This projectile can be made to reflect off surfaces, hit multiple entities or blocks, run spell actions as it travels, and more. It is able to mimic a gravity-bound projectile, home in on a target, and perform staged animations This is the base class for AmorStandProjectile and EntityProjectile
参数:
| 参数 | 默认值 |
|---|---|
| attach_duration | 0 |
| block_hit_count | 1 |
| break_blocks | true |
| breakable_size | 1 |
| bypass_backfire | false |
| close_fov | 0.5 |
| close_range | 0 |
| distance_weight | 1 |
| drag | 0 |
| entity_hit_count | 1 |
| entity_weight | 3 |
| fov | 0.3 |
| fov_weight | 4 |
| gravity | 0 |
| headshot_actions | |
| headshot_effects | headshot |
| hit_count | 1 |
| hit_effects | hit |
| hit_on_miss | false |
| hit_requires_entity | false |
| hitbox | false |
| hitbox_block_size | 0 |
| hitbox_size | 0 |
| ignore_blocks | false |
| ignore_hit_entities | true |
| ignore_targeting | false |
| interval | 30 |
| lifetime | 8000 |
| min_block_range | 0 |
| min_entity_range | 0 |
| miss_actions | |
| miss_effects | miss |
| npc_weight | -1 |
| orient | true |
| otdx | |
| otdy | |
| otdz | |
| otworld | |
| otx | |
| oty | |
| otz | |
| pitch_max | -90 |
| pitch_min | 90 |
| plan | |
| player_weight | 4 |
| projectile_effects | projectile |
| projectile_effects_use_target | false |
| projectile_follow_player | false |
| range | 0 |
| range_padding | 1 |
| reflect_count | -1 |
| reflect_reorient | false |
| reflect_reset_distance_traveled | true |
| reflect_target_caster | true |
| reflect_track_range | 0 |
| reflect_track_target | false |
| reorient | false |
| reset_time_on_path_change | false |
| return_offset | |
| return_relative_offset | |
| return_to_caster | false |
| reverse | false |
| source_location | |
| speed | 1 |
| spread | 0 |
| spread_movement | 0 |
| spread_movement_max | 0 |
| start | 0 |
| target | |
| target_breakable_depth | 2 |
| target_breakables | 1 |
| target_min_offset | 0 |
| target_self | false |
| target_self_timeout | 0 |
| tick_actions | |
| tick_effects | tick |
| tick_size | 0.5 |
| tmo | 0 |
| track_range | 0 |
| track_speed | 0 |
| track_target | false |
| update_launch_location | false |
| use_block_location | false |
| use_cast_location | false |
| use_eye_location | false |
| use_hit_location | false |
| use_target_location | true |
| use_wand_location | true |
| velocity | 20 |
| velocity_transform-map |
Cycle Block
类别: construction
Change blocks to other blocks using a mapping list
参数:
| 参数 | 默认值 |
|---|---|
| cycle_colors | false |
| cycle_variants | false |
| material_sets | |
| materials |
Cycle Entity
类别: entity
Change entities to other entity types using a mapping list
Cylinder
类别: compound
Target all blocks in a cylinder
参数:
| 参数 | 默认值 |
|---|---|
| center_probability | 1 |
| center_x | true |
| center_y | true |
| center_z | true |
| check_chunk | true |
| orient | false |
| orient_pitch | false |
| orient_pitch_snap | 0 |
| orient_snap | 0 |
| outer_probability | 1 |
| probability | 1 |
| radius | 2 |
| radius_padding | 0.25 |
| remove_target_entities | false |
| reorient | true |
| replace | false |
| thickness | 0 |
| use_brush_size | false |
| volume_type | |
| x_size | 2 |
| y_size | 2 |
| z_size | 2 |
Damage
类别: entity
Damage the target entity
参数:
| 参数 | 默认值 |
|---|---|
| adaptive_knockback_resistance | 0.0 |
| cancel_on_kill_target | false |
| critical_damage_multiplier | 0.0 |
| critical_effects | critical |
| critical_probability | 0.0 |
| damage | 1 |
| damage_max_distance | 0 |
| damage_min_distance | 0.0 |
| damage_multiplier | 0 |
| damage_source_location | body |
| damage_type | |
| elemental_damage | 1 |
| entity_damage | 1 |
| invert_distance | false |
| knockback_resistance | 0 |
| magic_damage | true |
| magic_entity_damage | true |
| min_damage | 0.0 |
| no_damage_ticks | 0 |
| percentage | 0 |
| player_damage | 1 |
| set_last_damaged | true |
| set_last_damaged_by | true |
Deactivate
类别: player
Deactivate active spells for the target
参数:
| 参数 | 默认值 |
|---|---|
| deactivate_self | false |
Debugger
类别: player
Turn on the spell debugger
参数:
| 参数 | 默认值 |
|---|---|
| check | false |
| check_block | false |
| check_brain | false |
| force | false |
| level | 1 |
Delay
类别: control
Don't proceed to the next action until some amount of time has passed Can be used at the beginning of a spell for a 'warmup' period, and will advertise the warmup in spell lore if the warmup parameter is used.
参数:
| 参数 | 默认值 |
|---|---|
| delay | |
| warmup | 1 |
Descend
类别: entity
Move down through the blocks underneath the caster
参数:
| 参数 | 默认值 |
|---|---|
| keep_velocity | false |
| maintain_direction | false |
| prevent_fall | true |
| require_build | false |
| require_exit | true |
| safe | true |
| teleport_vehicle | true |
| vertical_range | 8 |
Disable Physics
类别: construction
Temporarily disable block physics updates
参数:
| 参数 | 默认值 |
|---|---|
| duration | 1 |
| physics_buffer | 1000 |
| undo | 0 |
Disarm
类别: entity
Remove the item the target is holding For target players will optionally move the item into their inventory instead of throwing it on the ground.
参数:
| 参数 | 默认值 |
|---|---|
| display_name | |
| keep_in_inventory | false |
| max_slot | 35 |
| min_slot | 9 |
Disc
类别: compound
Target all blocks within a 2D circular disc
参数:
| 参数 | 默认值 |
|---|---|
| axis | |
| brush_axis | |
| center_probability | 1 |
| center_x | true |
| center_y | true |
| center_z | true |
| check_chunk | true |
| orient | false |
| orient_pitch | false |
| orient_pitch_snap | 0 |
| orient_snap | 0 |
| outer_probability | 1 |
| probability | 1 |
| radius | 2 |
| radius_padding | 0.25 |
| remove_target_entities | false |
| reorient | true |
| replace | false |
| thickness | 0 |
| use_brush_size | false |
| volume_type | |
| x_size | 2 |
| y_size | 2 |
| z_size | 2 |
Disguise
类别: entity
Apply a disguise to an entity Requires the ProtocolLib and LibsDisguises plugins
参数:
| 参数 | 默认值 |
|---|---|
| disguise_map | |
| disguise_target |
Door
类别: construction
Open or close a door
参数:
| 参数 | 默认值 |
|---|---|
| type | open |
Drop
类别: construction
Destroy blocks and drop items as if they were broken naturally
参数:
| 参数 | 默认值 |
|---|---|
| drop_count | -1 |
| falling | true |
| give_to_caster | false |
| tool | diamond_pickaxe |
Drop Item
类别: entity
Drop an item on the ground
参数:
| 参数 | 默认值 |
|---|---|
| item |
Drop Skull
Drop the skull of the target entity
参数:
| 参数 | 默认值 |
|---|---|
| allow_blocks | true |
| allow_entities | true |
| drop_at_source | false |
Electrify
类别: entity
Cause a target creeper to be electrified
参数:
| 参数 | 默认值 |
|---|---|
| electrify | true |
Enchant Wand
类别: player
Randomly upgrade a wand, as if enchanted via the old enchanting system Will add spells and other properties to a wand randomly, as determined by its current path configuration
参数:
| 参数 | 默认值 |
|---|---|
| levels | 1 |
| path | |
| path_exact | |
| requires | |
| use_xp | false |
Entity Animation
Fore the target entity to perform an entity animation, such as arm swing
参数:
| 参数 | 默认值 |
|---|---|
| animation | swing_main_hand |
Entity Projectile
类别: compound
A CustomProjectile with an entity attached Ever want to attack someone using a flying llama?
参数:
| 参数 | 默认值 |
|---|---|
| allow_replacement | true |
| apply_velocity | true |
| attach_duration | 0 |
| block_hit_count | 1 |
| break_blocks | true |
| breakable_size | 1 |
| bypass_backfire | false |
| close_fov | 0.5 |
| close_range | 0 |
| custom_name | |
| custom_name_visible | false |
| distance_weight | 1 |
| drag | 0 |
| entity_hit_count | 1 |
| entity_weight | 3 |
| fov | 0.3 |
| fov_weight | 4 |
| gravity | 0 |
| headshot_actions | |
| headshot_effects | headshot |
| hit_count | 1 |
| hit_effects | hit |
| hit_on_miss | false |
| hit_requires_entity | false |
| hitbox | false |
| hitbox_block_size | 0 |
| hitbox_size | 0 |
| ignore_blocks | false |
| ignore_hit_entities | true |
| ignore_targeting | false |
| interval | 30 |
| lifetime | 8000 |
| location_offset | |
| min_block_range | 0 |
| min_entity_range | 0 |
| miss_actions | |
| miss_effects | miss |
| no_target | true |
| npc_weight | -1 |
| orient | false |
| otdx | |
| otdy | |
| otdz | |
| otworld | |
| otx | |
| oty | |
| otz | |
| pitch_max | -90 |
| pitch_min | 90 |
| plan | |
| player_weight | 4 |
| projectile_effects | projectile |
| projectile_effects_use_target | false |
| projectile_follow_player | false |
| projectile_potion_effects | |
| range | 0 |
| range_padding | 1 |
| reflect_count | -1 |
| reflect_reorient | false |
| reflect_reset_distance_traveled | true |
| reflect_target_caster | true |
| reflect_track_range | 0 |
| reflect_track_target | false |
| relative_location_offset | |
| reorient | false |
| reset_time_on_path_change | false |
| return_offset | |
| return_relative_offset | |
| return_to_caster | false |
| reverse | false |
| source_location | |
| spawn_actions | |
| spawn_reason | |
| speed | 1 |
| spread | 0 |
| spread_movement | 0 |
| spread_movement_max | 0 |
| start | 0 |
| target | |
| target_breakable_depth | 2 |
| target_breakables | 1 |
| target_min_offset | 0 |
| target_self | false |
| target_self_timeout | 0 |
| teleport | true |
| tick_actions | |
| tick_effects | tick |
| tick_size | 0.5 |
| tmo | 0 |
| track_range | 0 |
| track_speed | 0 |
| track_target | false |
| type | |
| update_launch_location | false |
| use_block_location | false |
| use_cast_location | false |
| use_eye_location | false |
| use_hit_location | false |
| use_target_location | true |
| use_wand_location | true |
| variant | |
| velocity | 20 |
| velocity_offset | |
| velocity_transform-map |
Entity Select
类别: compound
Show a GUI allowing the player to select nearby entities to target Will run its sub-actions with the selected entity as the target
参数:
| 参数 | 默认值 |
|---|---|
| default_icon | default |
| limit | 64 |
| radius | 32 |
Equation
类别: compound
Target blocks based on a 3-d equation
参数:
| 参数 | 默认值 |
|---|---|
| iterations | 1 |
| iterations2 | 0 |
| orient | false |
| orient_pitch | true |
| reorient | false |
| use_target_location | true |
| variable | t |
| variable2 | t |
| x2_equation | |
| x_equation | |
| y2_equation | |
| y_equation | |
| z2_equation | |
| z_equation |
Equation Volume
类别: compound
Target blocks inside of a cuboid, choosing brushes based on an equation
参数:
| 参数 | 默认值 |
|---|---|
| brushes | |
| brushmod | |
| center_probability | 1.0 |
| center_x | true |
| center_y | true |
| center_z | true |
| check_chunk | true |
| equation | |
| orient | false |
| orient_pitch | false |
| orient_pitch_snap | 0.0 |
| orient_snap | 0.0 |
| outer_probability | 1.0 |
| probability | 1.0 |
| radius | 2.0 |
| radius_padding | 0.25 |
| remove_target_entities | false |
| reorient | true |
| replace | false |
| thickness | 0.0 |
| use_brush_size | false |
| volume_type | |
| x_size | 2.0 |
| y_size | 2.0 |
| z_size | 2.0 |
Equip
Force the target entity to equip specific items
参数:
| 参数 | 默认值 |
|---|---|
| armor_slot | 3 |
| enchantments | |
| item | |
| material | |
| replace_item | false |
| return_on_finish | false |
| slot | |
| temporary | true |
| unbreakable | true |
| use_item | false |
Explosion
类别: construction
Create a vanilla explosion Due to the exponential fall-off used by vanilla Minecraft for calculating explosion damage to entities, use of this action is discouraged. Explosions can be easily gamed by wise players in PvP situations once they learn the exact distance to cast from to get the center on top of the target entity.
参数:
| 参数 | 默认值 |
|---|---|
| break_blocks | true |
| fire | false |
| size | 1 |
Fake Block
Send block create packets to all players in range This creates the illusion of blocks client-side without actually changing the world
参数:
| 参数 | 默认值 |
|---|---|
| player_radius | 0.0 |
Fall Protection
类别: entity
Apply protection from falling to a target entity for a period of time.
参数:
| 参数 | 默认值 |
|---|---|
| duration | 5000 |
| protection_count | 2147483647 |
Feed
类别: player
Fill the target's hunger bars
参数:
| 参数 | 默认值 |
|---|---|
| exhaustion | true |
| feed | 20 |
| food_level | 0 |
| saturation | 20 |
Fill Wand
类别: player
Fills a wand with all available spells
参数:
| 参数 | 默认值 |
|---|---|
| max_level | 0 |
Find Magic Blocks
类别: compound
Target specific magic blocks in an area
参数:
| 参数 | 默认值 |
|---|---|
| radius | 0 |
| target_all_worlds | true |
| target_block_mage | true |
| target_count | -1 |
| target_magic_blocks |
Find Tile Entities
类别: compound
参数:
| 参数 | 默认值 |
|---|---|
| radius | 0 |
| target_count | -1 |
Firework
类别: compound
Launch a vanilla firework Can work like a projectile, running actions when the firework explodes.
参数:
| 参数 | 默认值 |
|---|---|
| color | |
| color2 | |
| dy_offset | 0 |
| expected_lifespan | 0 |
| firework | |
| flicker | false |
| hit_effects | hit |
| launch | false |
| lifetime | 10000 |
| power | 1 |
| projectile_effects | projectile |
| projectile_effects_use_target | false |
| set_target | false |
| silent | false |
| spawn_actions | |
| speed | 0.1 |
| start | 0 |
| tick_actions | |
| ticks_flown | 0 |
| track_projectile | false |
| trail | false |
| use_wand_color | true |
Flower
类别: construction
Grow flowers Can randomly select flowers from a probability map
参数:
| 参数 | 默认值 |
|---|---|
| flowers | |
| grow_on | grass_block |
| tall_flowers |
Fly
Put the target player into creative mode fly
参数:
| 参数 | 默认值 |
|---|---|
| duration | infinite |
| max_height | 0 |
| max_height_above_ground | -1 |
| speed | 0.0 |
Freeze
类别: construction
Freeze a block Turns air blocks into snow, increases height of snow blocks, turns water into ice and lava into stone, and puts out fires.
参数:
| 参数 | 默认值 |
|---|---|
| freeze_fire | true |
| freeze_lava | true |
| freeze_water | true |
| ice | |
| pile_snow | true |
| snowable | snowable |
Freeze Entity
参数:
| 参数 | 默认值 |
|---|---|
| additive | false |
| duration | 0 |
| lock | false |
| reduce | false |
| reduce_boolean | false |
| unlock | false |
| unlock_boolean | false |
Give Currency
参数:
| 参数 | 默认值 |
|---|---|
| amount | 0 |
| currency |
Give Item
类别: player
Give an item directly to a player
参数:
| 参数 | 默认值 |
|---|---|
| item | |
| item_count | 0 |
| max_item_count | 0 |
| permission | |
| requires | |
| stack_size | 0 |
Give Kit
Give the target player a specific kit
参数:
| 参数 | 默认值 |
|---|---|
| kit |
Glide
类别: entity
Force a player to glide Does not necessarily require that the player is wearing an elytra
参数:
| 参数 | 默认值 |
|---|---|
| require_elytra | false |
| wait_for_landing | true |
Grow Entity
类别: entity
Turn baby entities into adults, zombies into giants, and optionally skeletons into wither skeletons
参数:
| 参数 | 默认值 |
|---|---|
| skeletons | false |
Heal
类别: entity
Restore an entity's health. Can restore a specific amount of health, or a percentage of max health
参数:
| 参数 | 默认值 |
|---|---|
| heal_amount | 20 |
| heal_max_distance | 0 |
| percentage | 0 |
Ignite
类别: entity
Light an entity on fire, or put out a fire
参数:
| 参数 | 默认值 |
|---|---|
| additive | false |
| duration | 5000 |
| reduce | false |
| reduce_boolean | false |
Interval
类别: compound
Repeat actions for a specific amount of time Has a configurable interval, defaulting to every tick
参数:
| 参数 | 默认值 |
|---|---|
| duration | 0 |
| interval | 0 |
Inventory
类别: player
Show a player a specific inventory Can be used to view the player's ender chest, show them a disposable chest inventory, or the inventory of the target container
参数:
| 参数 | 默认值 |
|---|---|
| title | |
| type | ender_chest |
Inventory Close
类别: player
Close the target player's inventory
Item Projectile
类别: compound
参数:
| 参数 | 默认值 |
|---|---|
| active_wand | false |
| aggro | false |
| ai | false |
| allow_replacement | true |
| apply_velocity | true |
| attach_duration | 0 |
| attributes | |
| aware | false |
| baby | false |
| block_hit_count | 1 |
| boots | |
| boss_bar | |
| boss_bar_map | |
| brain | |
| brain_map | |
| break_blocks | true |
| breakable_size | 1 |
| bypass_backfire | false |
| can_pickup_items | false |
| cancel_explosion | false |
| cancel_interact | false |
| cast | |
| cast_interval | 0 |
| cast_requires_item | |
| cast_requires_target | true |
| chestplate | |
| close_fov | 1.5 |
| close_range | 1.0 |
| collidable | false |
| combustible | true |
| custom_name | |
| custom_name_visible | false |
| default_drops | true |
| dialog | |
| dialog_face_player | true |
| dialog_interval | 2000 |
| dialog_random | false |
| dialog_range | 3.0 |
| disguise | |
| disguise_map | |
| distance_weight | 1.0 |
| docile | false |
| drag | 0.0 |
| drop_xp | 0 |
| drops | |
| drops_require_player_killer | false |
| entity_attributes_attribute_map | |
| entity_hit_count | 1 |
| entity_weight | 3 |
| equip_on_respawn | true |
| face_player | false |
| fov | 0.3 |
| fov_weight | 4.0 |
| gravity | false |
| gravity_boolean | false |
| headshot_actions | |
| headshot_effects | headshot |
| health | 0.0 |
| helmet | |
| hidden | false |
| hit_count | 1 |
| hit_effects | hit |
| hit_on_miss | false |
| hit_requires_entity | false |
| hitbox | false |
| hitbox_block_size | 0.0 |
| hitbox_size | 0.0 |
| ignore_blocks | false |
| ignore_hit_entities | true |
| ignore_targeting | false |
| interact_command_source | console |
| interact_commands | |
| interact_costs | |
| interact_permission | |
| interact_requires_owner | false |
| interact_spell | |
| interact_spell_parameters | |
| interact_spell_source | player |
| interact_spell_target | mob |
| interval | 0 |
| interval_requires_target | true |
| invisible | false |
| invulnerable | false |
| item | |
| leash_range | 0 |
| leggings | |
| lifetime | 0 |
| location_offset | |
| loot | |
| loot_map | |
| mage | |
| max_health | 0.0 |
| min_block_range | 0.0 |
| min_entity_range | 0.0 |
| miss_actions | |
| miss_effects | miss |
| model | |
| modifiers | |
| mount | |
| mount_wand | false |
| mythic_mob | |
| mythic_mob_level | 0.0 |
| name | |
| no_target | true |
| npc | false |
| npc_weight | -1 |
| offhand | |
| orient | false |
| otdx | |
| otdy | |
| otdz | |
| otworld | |
| otx | |
| oty | |
| otz | |
| ownable | false |
| owner | |
| passenger_rotation_speed | 0.0 |
| permissions | |
| persist | false |
| pitch_max | -90 |
| pitch_min | 90 |
| plan | |
| player_weight | 4 |
| potion_effects | |
| prevent_dismount | false |
| prevent_melee | false |
| prevent_projectiles | false |
| prevent_teleport | false |
| projectile_effects | projectile |
| projectile_effects_use_target | false |
| projectile_follow_player | false |
| projectile_potion_effects | |
| protected | false |
| protection | |
| range | 0 |
| range_padding | 1.0 |
| reactivate_wand | false |
| reflect_count | -1 |
| reflect_reorient | false |
| reflect_reset_distance_traveled | true |
| reflect_target_caster | true |
| reflect_track_range | 0.0 |
| reflect_track_target | false |
| register_by_name | true |
| relative_location_offset | |
| relentless | false |
| reload | false |
| remove_mounts | |
| remove_when_far_away | false |
| reorient | false |
| reset_time_on_path_change | false |
| return_offset | |
| return_relative_offset | |
| return_to_caster | false |
| reverse | false |
| scale | 1.0 |
| show_name | false |
| silent | false |
| sitting | false |
| source_location | |
| spawn_actions | |
| spawn_reason | |
| speed | 1.0 |
| spread | 0.0 |
| spread_movement | 0.0 |
| spread_movement_max | 0.0 |
| start | 0.0 |
| static | false |
| stay | false |
| stay_boolean | false |
| strength | |
| tags | |
| tamed | false |
| target | |
| target_breakable_depth | 2 |
| target_breakables | 1.0 |
| target_min_offset | 0 |
| target_self | false |
| target_self_timeout | 0 |
| targeting | |
| teleport | true |
| temporary | false |
| tick_actions | |
| tick_effects | tick |
| tick_size | 0.5 |
| tmo | 0 |
| track_radius | 128.0 |
| track_range | 0.0 |
| track_speed | 0.0 |
| track_target | false |
| transformable | true |
| triggers | |
| triggers_map | |
| type | |
| unbreakable_items | false |
| update_launch_location | false |
| use_block_location | false |
| use_brush | false |
| use_brush_boolean | false |
| use_cast_location | false |
| use_eye_location | false |
| use_hit_location | false |
| use_npc_name | false |
| use_target_location | true |
| use_wand | false |
| use_wand_location | true |
| variant | |
| velocity | 20.0 |
| velocity_offset | |
| velocity_transform | |
| velocity_transform_map | |
| visible_delay_ticks | 0 |
| weakness | |
| xp | 0 |
Item Shop
类别: player
Create a GUI shop that can sell vanilla or magic items The shop is also capable of casting spells on players
参数:
| 参数 | 默认值 |
|---|---|
| apply_to_caster | false |
| apply_to_wand | true |
| auto_close | true |
| auto_upgrade | false |
| cast_spells | false |
| confirm | true |
| confirm_filler | |
| filter_bound | false |
| items | |
| path | |
| path_end | |
| path_exact | |
| permission | |
| put_in_hand | true |
| require_template | |
| require_wand | false |
| scale | 1 |
| sell | false |
| show_active_icons | false |
| upgrade_levels | 0 |
| use_items | false |
| use_sp | false |
| use_xp | false |
| worth_item |
Kill
类别: entity
Kill the target entity Deals 100 x the entity's max health in damage, just to be safe.
参数:
| 参数 | 默认值 |
|---|---|
| magic_damage | false |
Ledger
Create a dynamic ledger from a book wand, which will show a player's balances
参数:
| 参数 | 默认值 |
|---|---|
| ignore_currencies | |
| show_currencies |
Light
类别: construction
Modify the light level of the target block Requires the LightAPI plugin Do to issues with LightAPI, lighting changes do not reliably undo!
参数:
| 参数 | 默认值 |
|---|---|
| async | false |
| level | 15 |
| min_distance | 0.0 |
| undo_previous | false |
| update | true |
Lightning
类别: entity
Strike lighting at the target Can spawn a fully active lightning bolt, or just the visual effect
参数:
| 参数 | 默认值 |
|---|---|
| effect_only | false |
Line
类别: compound
Target all blocks along a single line
参数:
| 参数 | 默认值 |
|---|---|
| increment_data | false |
| reorient | false |
| require_block | false |
| reverse | false |
| size | 16 |
| start | 2 |
| start_at_target | false |
Line Of Effect
类别: compound
参数:
| 参数 | 默认值 |
|---|---|
| ignore_modified | false |
| radius | 8.0 |
| random_choose | false |
| range | 0.0 |
| range_back | 0.0 |
| range_front | 0.0 |
| sort | false |
| target_count | -1 |
| target_source | true |
Lock
类别: Construction
Apply a vanilla lock to a container Will give the caster a key item they may use to unlock the container The key and lock will use the caster's UUID, the item name is obfuscated with the enchantment text decoration Can also be used to unlock a container
参数:
| 参数 | 默认值 |
|---|---|
| key_description | |
| key_icon | |
| key_name | |
| lock_type | lock |
| override | false |
Lower Block
Lower a block so that it is within a certain distance of its lowest neighbor
参数:
| 参数 | 默认值 |
|---|---|
| faces | |
| faces_list | |
| slopes | |
| vertical_range | 8 |
Message
类别: player
Send a chat, action bar or title message to the target player or caster
参数:
| 参数 | 默认值 |
|---|---|
| dialog_format | |
| equation | 0 |
| fade_in | -1 |
| fade_out | -1 |
| message | |
| message_key | |
| message_target | false |
| message_type | |
| stay | -1 |
| sub_message | |
| sub_message_key |
Model Engine
Apply ModelEngine models, state or color changes to a mob
参数:
| 参数 | 默认值 |
|---|---|
| custom_id | |
| ignore_lerp | false |
| lerp_in | 0 |
| lerp_out | 1 |
| lerp_speed | 1.0 |
| model_action | add_state |
| model_id | |
| model_state | |
| part_id | |
| sub_model_id | |
| sub_part_id |
Modifier
Add or remove magic modifiers from the target
参数:
| 参数 | 默认值 |
|---|---|
| add_modifiers | |
| duration | 0 |
| duration_multiplier | 0.0 |
| remove_modifiers | |
| remove_on_finish | false |
Modify Attribute
Modify magic attributes on the target
参数:
| 参数 | 默认值 |
|---|---|
| attribute | |
| bypass_undo | false |
| modify_target | player |
| original_variable | x |
| value | 0.0 |
| value_double | 0.0 |
Modify Block
类别: construction
Modify a block by changing its type Can also be used to spawn falling blocks in the place of a block that was removed Falling blocks can be given velocity for explosion type block effects
参数:
| 参数 | 默认值 |
|---|---|
| auto_block_state | false |
| breakable | 0 |
| check_chunk | false |
| commit | false |
| consume | false |
| consume_variants | true |
| damage | 0 |
| display | false |
| display_scale | 1.0 |
| fall_damage | 0 |
| falling | false |
| falling_hurts | false |
| falling_probability | 1 |
| max_damage | 0 |
| physics | false |
| physics_blocks | false |
| reflect_chance | 0 |
| replace_same | false |
| speed | 0 |
Modify Breakable
类别: construction
Tag a block as breakable so that other spells can break the block
参数:
| 参数 | 默认值 |
|---|---|
| breakable | 1 |
| target_air | false |
Modify Compass
Modify a compass wand, setting the lodestone target location
参数:
| 参数 | 默认值 |
|---|---|
| tracked | false |
Modify Currency
Add or remove currency to the target player
参数:
| 参数 | 默认值 |
|---|---|
| currency | currency |
| value | 0.0 |
| value_double | 0.0 |
Modify Entity
Change properties of the target mob
参数:
| 参数 | 默认值 |
|---|---|
| aggro | true |
| ai | true |
| angry | false |
| attributes | |
| aware | false |
| baby | false |
| boots | |
| boss_bar | |
| boss_bar_map | |
| brain | |
| can_pickup_items | false |
| cancel_explosion | false |
| cancel_interact | false |
| cast | |
| cast_interval | 0 |
| cast_requires_item | |
| cast_requires_target | true |
| chestplate | |
| collidable | false |
| color | |
| combustible | true |
| default_drops | true |
| dialog | |
| dialog_face_player | true |
| dialog_interval | 2000 |
| dialog_random | false |
| dialog_range | 3.0 |
| direction | |
| disguise | |
| disguise_map | |
| disguise_target | |
| docile | false |
| drop_xp | 0 |
| drops | |
| drops_require_player_killer | false |
| dy_offset | 0.0 |
| entity_attributes | |
| equip_on_respawn | true |
| face_player | false |
| force | false |
| goals | |
| gravity | true |
| gravity_boolean | true |
| health | 1.0 |
| helmet | |
| hidden | false |
| interact_command_source | console |
| interact_commands | |
| interact_costs | |
| interact_permission | |
| interact_requires_owner | false |
| interact_spell | |
| interact_spell_parameters | |
| interact_spell_source | player |
| interact_spell_target | mob |
| interval | 0 |
| interval_requires_target | true |
| invisible | false |
| invulnerable | false |
| item | |
| leash_range | 0 |
| leggings | |
| lifetime | 0 |
| loot | false |
| mage | |
| max_health | 1.0 |
| model | |
| modifiers | |
| mount | |
| mythic_mob | |
| mythic_mob_level | 0.0 |
| name | |
| no_drops | false |
| npc | false |
| offhand | |
| own | false |
| ownable | false |
| owner | |
| passenger_rotation_speed | 0.0 |
| permissions | |
| persist | false |
| potion_effects | |
| prevent_dismount | false |
| prevent_melee | false |
| prevent_projectiles | false |
| prevent_teleport | false |
| protected | false |
| protection | |
| reason | |
| register_by_name | false |
| relentless | false |
| reload | false |
| remove_mounts | |
| remove_when_far_away | false |
| show_name | false |
| silent | false |
| sitting | false |
| speed | 0.0 |
| static | false |
| stay | false |
| stay_boolean | false |
| strength | |
| tags | |
| tamed | false |
| targeting | |
| temporary | false |
| track_radius | 128.0 |
| transformable | true |
| triggers | |
| triggers_map | |
| type | |
| use_npc_name | false |
| weakness | |
| xp | 0 |
Modify Game Mode
类别: player
Change the player's game mode
参数:
| 参数 | 默认值 |
|---|---|
| game_mode |
Modify Lore
Modifies the lore of a vanilla item Can be used to add, subtract or otherwise modify numeric values in lore using regex
参数:
| 参数 | 默认值 |
|---|---|
| digits | 0 |
| modify | |
| modify_list |
Modify Mage
类别: player
Can be used to lock, unlock or activate a player's mage classes
参数:
| 参数 | 默认值 |
|---|---|
| mage_class | |
| modify_type | activate |
Modify Mana
类别: player
Add or remove mana from a player or wand
参数:
| 参数 | 默认值 |
|---|---|
| fill_mana | false |
| mana | 1 |
Modify Max Health
类别: entity
Modify the maximum health of the target entity. This change is permanent!
参数:
| 参数 | 默认值 |
|---|---|
| health_scale | 0 |
| max_health | 0 |
Modify NPC
Modify the target NPC This is used by the shop management tool Requires a specific NPC id and is not currently very usable in general spells
参数:
| 参数 | 默认值 |
|---|---|
| name | |
| name_from_wand | false |
| npc_id | |
| npc_parameters | |
| npc_template |
Modify No Damage Ticks
Clear or set the vanilla damage cooldown on the target mob
参数:
| 参数 | 默认值 |
|---|---|
| no_damage_ticks | 0 |
Modify Parameters
类别: compound
Modify the base parameters of the spell mid-cast
Modify Properties
类别: player
Modify the properties of a player or wand
参数:
| 参数 | 默认值 |
|---|---|
| bypass_undo | false |
| modify | |
| modify_target | wand |
| original_variable | x |
| upgrade | false |
Modify Reflective
类别: construction
Change a block so that it will reflect spells
参数:
| 参数 | 默认值 |
|---|---|
| reflect_chance | 1 |
Modify SP
类别: player
Add or remove Spell Points
参数:
| 参数 | 默认值 |
|---|---|
| sp | 1 |
Modify Variable
Set or change a variable that can be used elsewhere in this spell
参数:
| 参数 | 默认值 |
|---|---|
| clear | false |
| scope | |
| value | |
| variable |
Modify Walk Speed
类别: player
Modify the walk speed attribute of the target
参数:
| 参数 | 默认值 |
|---|---|
| speed | 0 |
Mount
类别: entity
Force the caster to mount the target entity
参数:
| 参数 | 默认值 |
|---|---|
| dismount | false |
| eject | false |
Mount Armor Stand
类别: player
Mount an armor stand, optionally creating and removing the armor stand This is the action that powers broomsticks and other vehicles Using custom resource pack models, this can be used to implement driveable cars, planes or just about anything by applying velocity to the armor stand when mounted It has many parameters for handling crashing, hovering, and other options
参数:
| 参数 | 默认值 |
|---|---|
| air_controllable | true |
| armor_stand_gravity | true |
| armor_stand_health | 0.1 |
| armor_stand_invisible | true |
| armor_stand_invulnerable | true |
| armor_stand_marker | true |
| armor_stand_pitch | 0 |
| armor_stand_reason | |
| armor_stand_roll | 0 |
| armor_stand_small | false |
| boost_attribute | |
| braking | 0 |
| controllable | false |
| crash_braking | 0 |
| crash_cooldown | 0 |
| crash_damage | 0 |
| crash_dismount_speed | 0 |
| crash_distance | 0 |
| crash_effects | |
| crash_entity_cooldown | 0 |
| crash_entity_damage | 0 |
| crash_entity_dismount_speed | -1.0 |
| crash_entity_distance | 2 |
| crash_entity_fov | 0.3 |
| crash_entity_speed | 0.0 |
| crash_entity_vehicle_damage | 0 |
| crash_into | |
| crash_speed | 0 |
| crash_vehicle_damage | 0 |
| crash_velocity | 0 |
| crash_velocity_y_offset | 0 |
| direction_y | 0 |
| dismount_height | 0.0 |
| duration | 0 |
| duration_warning | 0 |
| exemption_duration | 0 |
| fall_protection | 0 |
| find_wand | false |
| gravity | 0.0 |
| height_check_radius | 0 |
| helmet_item | |
| jump_cast | |
| jump_controllable | 0 |
| jump_velocity | 0.0 |
| liftoff_duration | 0 |
| liftoff_thrust | 0 |
| max_acceleration | 0 |
| max_ascend | 0 |
| max_deceleration | 0 |
| max_height | 0 |
| max_height_above_ground | -1 |
| max_speed | 0 |
| min_speed | 0 |
| mount_name | |
| mount_name_visible | false |
| mount_no_drops | true |
| mount_target | false |
| mount_untargetable | true |
| mount_wand | false |
| passenger | false |
| pitch_controllable | true |
| pitch_offset | 0 |
| replacement_item | |
| rider_untargetable | false |
| riding_effects | |
| sneak_controllable | 0.0 |
| sound | |
| sound_interval | 1000 |
| sound_max_pitch | 1 |
| sound_max_volume | 1 |
| sound_min_pitch | 1 |
| sound_min_volume | 1 |
| sound_pitch | 1 |
| sound_volume | 1 |
| start_speed | 0 |
| steer_controllable | 0.0 |
| steer_speed | 0 |
| strafe_controllable | 0 |
| terminal_velocity | 0.0 |
| warning_effects | |
| yaw_offset | 0 |
Move Block
类别: constructoin
Move a block from one location to another
参数:
| 参数 | 默认值 |
|---|---|
| clear_target | true |
| offset | |
| set_target | false |
Multiply
类别: compound
Repeat a set of actions mulitple times in parallel Will fall back to using the 'repeat' parameter if 'multiply' is not specified
参数:
| 参数 | 默认值 |
|---|---|
| multiply | 2 |
| repeat | 2 |
Orient
类别: entity
Force the target entity to face a specific direction
参数:
| 参数 | 默认值 |
|---|---|
| orient_target | false |
| pitch | 0 |
| pitch_offset | 0 |
| target_block | false |
| yaw | 0 |
| yaw_offset | 0 |
Parallel
类别: compound
Runs each action in the list of sub-actions in parallel, rather than sequentially
Plane
类别: compound
Target all blocks in a 2D plane
参数:
| 参数 | 默认值 |
|---|---|
| axis | |
| brush_axis | |
| center_probability | 1 |
| center_x | true |
| center_y | true |
| center_z | true |
| check_chunk | true |
| orient | false |
| orient_pitch | false |
| orient_pitch_snap | 0 |
| orient_snap | 0 |
| outer_probability | 1 |
| probability | 1 |
| radius | 2 |
| radius_padding | 0.25 |
| remove_target_entities | false |
| reorient | true |
| replace | false |
| thickness | 0 |
| use_brush_size | false |
| volume_type | |
| x_size | 2 |
| y_size | 2 |
| z_size | 2 |
Play Effects
类别: player
Play a specific set of effects from the spell's effects list
参数:
| 参数 | 默认值 |
|---|---|
| effect_key | |
| effects | |
| effects_count_as_cast | false |
Play Record
类别: player
Play music from a vanilla record disc to the target player
参数:
| 参数 | 默认值 |
|---|---|
| records | records |
Play Sound
类别: player
Play a sound to the target player Can be used with vanilla sounds or custom sounds from a resource pack
参数:
| 参数 | 默认值 |
|---|---|
| effects_count_as_cast | false |
| pitch | 1 |
| radius | 32 |
| sound | |
| sound_pitch | 1.0 |
| sound_volume | 1.0 |
| sounds_count_as_cast | false |
| volume | 1 |
Player Select
类别: compound
Show the caster a GUI with heads for all players on the server, allowing them to choose a player who will be the target of the sub-action list
参数:
| 参数 | 默认值 |
|---|---|
| cross_world | true |
| ignore_key | |
| name_template | @p |
| title_key | title |
Potion Effect
类别: entity
Apply or remove vanilla potion effects from the target
参数:
| 参数 | 默认值 |
|---|---|
| add_effects | |
| amplifier | 0 |
| duration | 500 |
| duration_multiplier | 0 |
| effects_ambient | true |
| effects_particles | true |
| potion_effects | |
| remove_effects | |
| remove_on_finish | false |
Power Block
类别: construction
Change the state of redstone blocks such as levers and buttons
参数:
| 参数 | 默认值 |
|---|---|
| physics | false |
Probability
类别: compound
Execute or skip sub-actions based on a random chance
参数:
| 参数 | 默认值 |
|---|---|
| fail_actions | |
| invert | false |
| probability | 0.5 |
| timeout | 0 |
Projectile
类别: compound
Launch a vanilla projectile
参数:
| 参数 | 默认值 |
|---|---|
| arrow_damage | 0.0 |
| break_blocks | false |
| color | |
| count | 1 |
| damage | 0 |
| fire | false |
| hit_effects | hit |
| lifetime | 10000 |
| orient | true |
| pickup | disallowed |
| projectile | TippedArrow |
| projectile_effects | projectile |
| projectile_effects_use_target | false |
| reorient | false |
| set_target | false |
| size | 1 |
| source_location | |
| spawn_actions | |
| speed | 0.6000000238418579 |
| spread | 12 |
| start | 0 |
| tick_actions | |
| tick_increase | 1180 |
| track_projectile | true |
| use_block_location | false |
| use_cast_location | false |
| use_eye_location | false |
| use_hit_location | false |
| use_target_location | true |
| use_wand_location | true |
Raise Block
类别: construction
Raise a block up so that it is near its highest neighbor
参数:
| 参数 | 默认值 |
|---|---|
| consume | false |
| consume_variants | true |
| faces | |
| faces_list | |
| max_height | 0 |
| slopes | |
| vertical_range | 8 |
Random
类别: compound
Randomly choose one from the set of sub-actions to execute
Recall
类别: player
Show a customizeable GUI of warps and other locations Can be used with warps created by Essentials or CommandBook
参数:
| 参数 | 默认值 |
|---|---|
| allow_cross_world | true |
| delay | 0 |
| friend_key | recall_friends |
| keep_velocity | false |
| maintain_direction | false |
| marker_count | 1 |
| marker_key | recall_marker |
| marker_maintain_direction | false |
| prevent_fall | true |
| protection_duration | 0 |
| require_build | false |
| require_exit | true |
| require_target_permission | true |
| safe | true |
| teleport | true |
| teleport_target | false |
| teleport_vehicle | true |
| title_key | title |
| unlock_key | recall_warps |
| vertical_range | 8 |
| warmup | 0 |
Rect Of Effect
类别: compound
参数:
| 参数 | 默认值 |
|---|---|
| ignore_modified | false |
| max | |
| min | |
| random_choose | false |
| sort | false |
| target_count | -1 |
| target_source | true |
Recurse
类别: compound
Recursively follows blocks that match the spell's destructible list Can be configured to only follow a specific list of block faces, such as only filling downward
参数:
| 参数 | 默认值 |
|---|---|
| checkered | false |
| debug_depth | true |
| debug_material | |
| depth | 32 |
| depth_first | false |
| faces | |
| limit | 0 |
| maxdepth_actions | |
| priority_faces | |
| priority_faces_list | |
| replace | false |
| size | 32 |
Remove Entity
类别: entity
Remove an entity from the world completely, without killing it or having it drop loot
参数:
| 参数 | 默认值 |
|---|---|
| ignore_invalid | true |
Remove NPC
Remove a specific NPC Requires an NPC id
参数:
| 参数 | 默认值 |
|---|---|
| npc_id |
Remove Spell
Remove (unlearn) a spell from the target player
参数:
| 参数 | 默认值 |
|---|---|
| spell |
Remove Wand
Delete the wand of the target player, is not undoable
Repair Item
类别: player
Repair the target item, or items in the target player's inventory
参数:
| 参数 | 默认值 |
|---|---|
| armor | false |
| held_item | false |
Repeat
类别: compound
Repeat sub-actions a number of times in sequence
参数:
| 参数 | 默认值 |
|---|---|
| repeat | 2 |
Reset Mage
Delete magic player data of the target player
Respawn
类别: compound
Cause an NPC or mob to respawn after it has died
Retarget
类别: compound
Performs targeting as normal, passing the new target to its sub-actions
参数:
| 参数 | 默认值 |
|---|---|
| close_fov | 0.5 |
| close_range | 1 |
| distance_weight | 1.0 |
| entity_weight | 3 |
| fov | 0.3 |
| fov_weight | 4.0 |
| hitbox | false |
| hitbox_block_size | 0.0 |
| hitbox_size | 0.0 |
| ignore_blocks | false |
| npc_weight | -1 |
| otdx | |
| otdy | |
| otdz | |
| otworld | |
| otx | |
| oty | |
| otz | |
| player_weight | 4 |
| range | 32 |
| range_padding | 1.0 |
| target | |
| target_breakable_depth | 2 |
| target_min_offset | 0 |
| tmo | 0 |
Ride Entity
类别: player
Mount and control the target entity This is the base action for MountArmorStand
参数:
| 参数 | 默认值 |
|---|---|
| air_controllable | true |
| boost_attribute | |
| braking | 0 |
| controllable | false |
| crash_braking | 0 |
| crash_cooldown | 0 |
| crash_damage | 0 |
| crash_dismount_speed | 0 |
| crash_distance | 0 |
| crash_effects | |
| crash_entity_cooldown | 0 |
| crash_entity_damage | 0 |
| crash_entity_dismount_speed | -1.0 |
| crash_entity_distance | 2 |
| crash_entity_fov | 0.3 |
| crash_entity_speed | 0.0 |
| crash_entity_vehicle_damage | 0 |
| crash_into | |
| crash_speed | 0 |
| crash_vehicle_damage | 0 |
| crash_velocity | 0 |
| crash_velocity_y_offset | 0 |
| direction_y | 0 |
| dismount_height | 0.0 |
| duration | 0 |
| duration_warning | 0 |
| exemption_duration | 0 |
| fall_protection | 0 |
| gravity | 0.0 |
| height_check_radius | 0 |
| jump_cast | |
| jump_controllable | 0 |
| jump_velocity | 0.0 |
| liftoff_duration | 0 |
| liftoff_thrust | 0 |
| max_acceleration | 0 |
| max_ascend | 0 |
| max_deceleration | 0 |
| max_height | 0 |
| max_height_above_ground | -1 |
| max_speed | 0 |
| min_speed | 0 |
| mount_no_drops | true |
| mount_untargetable | true |
| passenger | false |
| pitch_controllable | true |
| pitch_offset | 0 |
| rider_untargetable | false |
| riding_effects | |
| sneak_controllable | 0.0 |
| sound | |
| sound_interval | 1000 |
| sound_max_pitch | 1 |
| sound_max_volume | 1 |
| sound_min_pitch | 1 |
| sound_min_volume | 1 |
| sound_pitch | 1 |
| sound_volume | 1 |
| start_speed | 0 |
| steer_controllable | 0.0 |
| steer_speed | 0 |
| strafe_controllable | 0 |
| terminal_velocity | 0.0 |
| warning_effects | |
| yaw_offset | 0 |
Ring
类别: compound
Target all blocks in a ring
参数:
| 参数 | 默认值 |
|---|---|
| axis | |
| brush_axis | |
| center_probability | 1 |
| center_x | true |
| center_y | true |
| center_z | true |
| check_chunk | true |
| orient | false |
| orient_pitch | false |
| orient_pitch_snap | 0 |
| orient_snap | 0 |
| outer_probability | 1 |
| probability | 1 |
| radius | 2 |
| radius_padding | 0.25 |
| remove_target_entities | false |
| reorient | true |
| replace | false |
| thickness | 0 |
| use_brush_size | false |
| volume_type | |
| x_size | 2 |
| y_size | 2 |
| z_size | 2 |
Selector
类别: player
Show the caster a customizeable GUI This gui can be used to sell items, or cast spells This is similar to ItemShop but more customizeable, allowing for requirements for each item, different costs or a mix of items and spells. See: the Selector wiki section for more info!
参数:
| 参数 | 默认值 |
|---|---|
| add_options | |
| allow_attribute_reduction | false |
| allow_dropped_items | true |
| apply_lore_to_item | false |
| apply_name_to_icon | true |
| apply_name_to_item | false |
| apply_to | |
| apply_to_caster | false |
| apply_to_class | |
| apply_to_wand | false |
| attribute | |
| attribute_amount | 0 |
| auto_close | true |
| cast_for_tags | |
| cast_spell | |
| cast_spell_parameters | |
| chest_location | |
| command | |
| command_source | |
| commands | |
| confirm | false |
| confirm_filler | |
| confirm_title | |
| confirm_title_key | confirm_title |
| cost | 0 |
| cost_modifiers | |
| cost_override | |
| cost_type | currency |
| cost_type_fallback | item |
| cost_type_fallbacks | |
| costs | |
| currency | 0 |
| earn | 0.0 |
| earn_modifiers | |
| earn_scale | 1.0 |
| earn_type | currency |
| earns | |
| earns_map | |
| effects | selected |
| experience | 0 |
| free | false |
| icon | |
| icon_disabled | |
| icon_hide_flags | 63 |
| icon_unbreakable | true |
| item | |
| items | |
| kit | |
| limit | 0 |
| lock_class | |
| lock_classes | |
| options | |
| owner_uuid | |
| placeholder_icon | |
| put_in_hand | false |
| remove_lore | false |
| requirement | |
| requirements | |
| scale | 1 |
| selected | |
| selected_free | |
| sell | false |
| show_free | true |
| show_unavailable | false |
| sp | 0 |
| switch_class | |
| title | |
| title_key | title |
| unlock | |
| unlock_class | |
| unlock_confirm_title | |
| unlock_confirm_title_key | unlock_confirm_title |
| unlock_earns | false |
| unlock_section | unlocked |
| warp |
Serial
类别: compound
Group a set of actions together and run them in serial This is mainly useful inside of actions like Random or Parallel, to group a set of actions together as a single option for the parent action.
Set Spawn
Set a player's bed spawn locations
Shop
类别: compound
A flexible shop GUI, based on Selector, for selling items, spells, wand or just about anything else. See: the Shops wiki section for more info!
参数:
| 参数 | 默认值 |
|---|---|
| add_options | |
| add_sell_shop | false |
| allow_attribute_reduction | false |
| allow_dropped_items | true |
| apply_lore_to_item | false |
| apply_name_to_icon | true |
| apply_name_to_item | false |
| apply_to | |
| apply_to_caster | false |
| apply_to_class | |
| apply_to_wand | false |
| attribute | |
| attribute_amount | 0 |
| auto_close | true |
| cast_for_tags | |
| cast_spell | |
| cast_spell_parameters | |
| check_max_spells | false |
| chest_location | |
| command | |
| command_source | |
| commands | |
| confirm | false |
| confirm_filler | |
| confirm_title | |
| confirm_title_key | confirm_title |
| cost | 0.0 |
| cost_modifiers | |
| cost_override | |
| cost_type | currency |
| cost_type_fallback | item |
| cost_type_fallbacks | |
| costs | |
| costs_map | |
| earn | 0.0 |
| earn_modifiers | |
| earn_scale | 1.0 |
| earn_type | currency |
| earns | |
| earns_map | |
| effects | selected |
| free | false |
| icon | |
| icon_disabled | |
| icon_hide_flags | 63 |
| icon_unbreakable | true |
| item | |
| items | |
| kit | |
| limit | 0 |
| lock_class | |
| lock_classes | |
| options | |
| owner_uuid | |
| placeholder_icon | |
| put_in_hand | false |
| remove_lore | false |
| requirement | |
| requirements | |
| scale | 1.0 |
| selected | |
| selected_free | |
| sell | false |
| show_extra_spells | false |
| show_free | false |
| show_missing_requirements | false |
| show_no_permission | false |
| show_path_spells | false |
| show_required_spells | false |
| show_unavailable | false |
| show_uncastable | true |
| spells | |
| switch_class | |
| title | |
| title_key | title |
| unlock | |
| unlock_class | |
| unlock_confirm_title | |
| unlock_confirm_title_key | unlock_confirm_title |
| unlock_earns | false |
| unlock_section | unlocked |
| warp |
Shrink Block
类别: construction
Remove a block and replace it with a skull item representation of the block Only works on a very limited set of blocks, the ones for which Mojang has provided MHF skins.
Shrink Entity
类别: entity
Change entities to baby entities can apply damage to entities and drop skulls for them when killed
参数:
| 参数 | 默认值 |
|---|---|
| adaptive_knockback_resistance | 0.0 |
| cancel_on_kill_target | false |
| critical_damage_multiplier | 0.0 |
| critical_effects | critical |
| critical_probability | 0.0 |
| damage | 1 |
| damage_max_distance | 0 |
| damage_min_distance | 0.0 |
| damage_multiplier | 0 |
| damage_source_location | body |
| damage_type | |
| drop_skull | true |
| elemental_damage | 1 |
| entity_damage | 1 |
| invert_distance | false |
| knockback_resistance | 0 |
| magic_damage | true |
| magic_entity_damage | true |
| min_damage | 0.0 |
| no_damage_ticks | 0 |
| percentage | 0 |
| player_damage | 1 |
| set_last_damaged | true |
| set_last_damaged_by | true |
| skeletons | true |
Simulate
类别: construction
This action is not complete, do not use. It is intended to replace SimulateSpell Runs a simulation of Conway's game of life The simulation can have custom rules, and can be run in 2D or 3D
Skill Selector
类别: player
Show the skill selection GUI to the caster This is the same GUI that a player would get if using the /mskills command
参数:
| 参数 | 默认值 |
|---|---|
| page | 1 |
Skip
类别: compound
Runs its sub actions every N iterations, skipping them the rest of the time This is most often used to slow down a spell in chunks, by skipping a Delay sub-action This can be used for block animations to allow ModifyBlock to run N times per tick with a delay in between
参数:
| 参数 | 默认值 |
|---|---|
| repeat_skip | true |
| skip | 1 |
| until | 0 |
Spawn Entity
类别: entity
Spawn a new entity in the world Can be used with a magic mob, a full custom mob config, a simple vanilla mob or a random probability table of mobs
参数:
| 参数 | 默认值 |
|---|---|
| aggro | true |
| ai | true |
| allow_replacement | true |
| amount | 1 |
| angry | false |
| armor | |
| armor_temporary | false |
| arms | false |
| art | |
| aware | false |
| baby | false |
| base_potion_type | |
| baseplate | true |
| body_pose | |
| boots | |
| boss_bar | |
| boss_bar_map | |
| brain | |
| can_pickup_items | false |
| cancel_explosion | false |
| cancel_interact | false |
| cast | |
| cast_requires_item | |
| cast_requires_target | true |
| cat_type | |
| chestplate | |
| collidable | false |
| color | |
| combustible | true |
| crouching | false |
| default_drops | true |
| dialog | |
| dialog_face_player | true |
| dialog_interval | 2000 |
| dialog_random | false |
| dialog_range | 3.0 |
| direction | |
| disabled_slots | 0 |
| disguise_map | |
| disguise_target | |
| docile | false |
| domestication | 0 |
| drop_items | false |
| drop_xp | 0 |
| drops | |
| drops_require_player_killer | false |
| duration | 2000 |
| duration_on_use | 0 |
| dy_offset | 0 |
| entity_attributes | |
| entity_parameters | |
| entity_types-map | |
| equip_on_respawn | true |
| face_player | false |
| facing | |
| force | false |
| fox_type | |
| goals | |
| gravity | true |
| gravity_boolean | true |
| hand_item | |
| has_chest | false |
| head_pose | |
| health | 1 |
| helmet | |
| hidden | false |
| horse_color | |
| horse_jump_strength | 0.0 |
| horse_style | |
| hurt_entities | true |
| interact_command_source | console |
| interact_commands | |
| interact_costs | |
| interact_permission | |
| interact_requires_owner | false |
| interact_spell | |
| interact_spell_parameters | |
| interact_spell_source | player |
| interact_spell_target | mob |
| interval_requires_target | true |
| inventory | |
| invisible | false |
| invulnerable | false |
| jump_strength | 0.0 |
| leash_range | 0 |
| left_arm_pose | |
| left_leg_pose | |
| leggings | |
| lifetime | 0 |
| llama_color | |
| llama_strength | 1 |
| loot | |
| mage | |
| marker | false |
| material | |
| max_domestication | 0 |
| max_health | 1 |
| mob_attributes | |
| mob_cast_interval | 0 |
| mob_interval | 0 |
| mob_name | |
| model | |
| modifiers | |
| mount | |
| mythic_mob | |
| mythic_mob_level | 0.0 |
| name | |
| npc | false |
| offhand | |
| on_block | true |
| ownable | false |
| owned | true |
| owner | |
| parameterize_name | true |
| parrot_variant | |
| particle | |
| passenger_rotation_speed | 0.0 |
| permissions | |
| persist | false |
| phase | |
| pickup_delay | 0 |
| potion_effects | |
| powered | false |
| prevent_dismount | false |
| prevent_melee | false |
| prevent_projectiles | false |
| prevent_teleport | false |
| protected | false |
| protection | |
| rabbit_type | |
| radius | 5.0 |
| radius_on_use | 0.0 |
| radius_per_tick | 0.0 |
| reapplication_delay | 0 |
| reason | |
| register_by_name | false |
| relentless | false |
| reload | false |
| remove_mounts | |
| remove_when_far_away | false |
| repeat_random | true |
| right_arm_pose | |
| right_leg_pose | |
| rotation | |
| saddle | |
| second_trusted | |
| set_source | false |
| set_target | false |
| sheared | false |
| show_name | false |
| silent | false |
| sitting | false |
| size | 1 |
| small | false |
| spawn_actions | |
| speed | 0 |
| split | true |
| static | false |
| stay | false |
| stay_boolean | false |
| strength | |
| tags | |
| tamed | false |
| targeting | |
| temporary | false |
| track_radius | 128 |
| transformable | true |
| triggers | |
| trusted | |
| type | |
| use_npc_name | false |
| use_wand_name | false |
| villager_profession | |
| wait_for_death | true |
| wait_time | 0 |
| weakness | |
| xp | 0 |
Spell Progress
类别: player
Show the caster the spell progress GUI, which will show them spells they have that are upgradeable, and the requirements to upgrade them.
Spell Shop
类别: player
A spell-specific variant of ItemShop Can be used to spell a specific set of spells, cast spells on the buyer, or automatically show players the spells available to them at their current path. This is the main method of progression for players that is available via the enchantment table GUI
参数:
| 参数 | 默认值 |
|---|---|
| allow_locked | false |
| apply_to_caster | false |
| apply_to_wand | true |
| auto_close | true |
| auto_upgrade | false |
| cast_spells | false |
| confirm | true |
| confirm_filler | |
| filter_bound | false |
| path | |
| path_end | |
| path_exact | |
| permission | |
| put_in_hand | true |
| require_template | |
| require_wand | false |
| scale | 1 |
| sell | false |
| show_active_icons | false |
| show_extra_spells | true |
| show_free | false |
| show_path_spells | true |
| show_required_spells | false |
| show_upgrades | false |
| spells | |
| upgrade_levels | 0 |
| upgrade_requires_casts | false |
| use_items | false |
| use_sp | false |
| use_xp | false |
| worth_item |
Sphere
类别: compound
Target all blocks in a sphere
参数:
| 参数 | 默认值 |
|---|---|
| center_probability | 1 |
| center_x | true |
| center_y | true |
| center_z | true |
| check_chunk | true |
| orient | false |
| orient_pitch | false |
| orient_pitch_snap | 0 |
| orient_snap | 0 |
| outer_probability | 1 |
| probability | 1 |
| radius | 2 |
| radius_padding | 0.25 |
| remove_target_entities | false |
| reorient | true |
| replace | false |
| thickness | 0 |
| use_brush_size | false |
| volume_type | |
| x_size | 2 |
| y_size | 2 |
| z_size | 2 |
Spread
类别: compound
Randomly modify the target location or source direction
参数:
| 参数 | 默认值 |
|---|---|
| center_probability | 1 |
| outer_probability | 1 |
| pitch_max | 0 |
| probability | 1 |
| radius | 2 |
| yaw_max | 0 |
Stash Wand
类别: player
Temporarily remove the player's wand and return it on undo
参数:
| 参数 | 默认值 |
|---|---|
| return_on_finish | false |
Stop
类别: control
Stop running the spell and finish it immediately
Stop Sound
Stop a specific sound from playing Useful for ambient or long-running sounds such as music discs
参数:
| 参数 | 默认值 |
|---|---|
| sound |
Super Protection
类别: player
Apply super protection to a player, as if they were holding a wand with the 'protected' property A super protected player can't be damaged in any way or targeted by any spells
参数:
| 参数 | 默认值 |
|---|---|
| duration | 0 |
TNT
类别: compound
Spawn a primed TNT entity Can run a set of actions when the TNT detonates
参数:
| 参数 | 默认值 |
|---|---|
| break_blocks | true |
| count | 1 |
| fire | false |
| fuse | 80 |
| hit_effects | hit |
| lifetime | 10000 |
| projectile_effects | projectile |
| projectile_effects_use_target | false |
| set_target | false |
| size | 6 |
| spawn_actions | |
| tick_actions | |
| tnt_velocity | 1 |
| track_projectile | true |
Take Costs
类别: compound
Remove some costs from the caster, failing if they do not have enough
参数:
| 参数 | 默认值 |
|---|---|
| costs | |
| costs_map | |
| fail_actions | |
| invert | false |
| item | |
| item_cost | false |
| timeout | 0 |
Take Item
类别: player
Remove items from the player's inventory
参数:
| 参数 | 默认值 |
|---|---|
| display_name | |
| full_stack | true |
| give_to_caster | true |
| item | |
| take_wand | false |
Tame
类别: entity
Tame the target entity and set its owner as the caster
参数:
| 参数 | 默认值 |
|---|---|
| own | true |
| persist | true |
Teleport
类别: entity
Teleport the caster to the target location
参数:
| 参数 | 默认值 |
|---|---|
| allow_passthrough | true |
| direct | false |
| keep_velocity | false |
| ledge_range | 2 |
| maintain_direction | false |
| passthrough_range | 4 |
| prevent_fall | true |
| require_build | false |
| require_exit | true |
| round_up | 0.75 |
| safe | true |
| same_block | false |
| teleport_target | false |
| teleport_vehicle | true |
| use_target_location | false |
| vertical_range | 8 |
Teleport NPC
Move an NPC to the target location Requires an NPC id
参数:
| 参数 | 默认值 |
|---|---|
| npc_id |
Throw Block
类别: compound
Throw a falling block entity Can run a set of actions when the block lands
参数:
| 参数 | 默认值 |
|---|---|
| consume | false |
| consume_variants | true |
| damage | 0 |
| fall_damage | 0 |
| hit_effects | hit |
| hurts | true |
| lifetime | 10000 |
| max_damage | 0 |
| orient | true |
| projectile_effects | projectile |
| projectile_effects_use_target | false |
| reorient | false |
| set_target | false |
| source_location | |
| spawn_actions | |
| speed | 0.6000000238418579 |
| speed_max | 0.6000000238418579 |
| speed_min | 0.6000000238418579 |
| tick_actions | |
| track_projectile | false |
| use_block_location | false |
| use_cast_location | false |
| use_eye_location | false |
| use_hit_location | false |
| use_target_location | true |
| use_wand_location | true |
Throw Item
类别: compound
Throw an item Can run a set of actions when the item despawns
参数:
| 参数 | 默认值 |
|---|---|
| age_items | 5500 |
| hit_effects | hit |
| item | |
| lifetime | 10000 |
| orient | true |
| pickup_delay | 0 |
| projectile_effects | projectile |
| projectile_effects_use_target | false |
| reorient | false |
| set_target | false |
| source_location | |
| spawn_actions | |
| speed | 1 |
| speed_max | 1 |
| speed_min | 1 |
| temporary | true |
| throw_wand | false |
| tick_actions | |
| track_projectile | false |
| unbreakable | false |
| use_block_location | false |
| use_cast_location | false |
| use_eye_location | false |
| use_hit_location | false |
| use_target_location | true |
| use_wand_location | true |
Tile Entities
类别: compound
Target all loaded tile entities
参数:
| 参数 | 默认值 |
|---|---|
| target_all_worlds | false |
Time
类别: construction
Change the time of the target world Can also change the phase of the moon
参数:
| 参数 | 默认值 |
|---|---|
| cycle_moon_phase | false |
| time | day |
Torch
类别: construction
Attach a torch to the target block
参数:
| 参数 | 默认值 |
|---|---|
| allow_glowstone | false |
| allow_sea_lantern | false |
| glowstone_torch | false |
| not_attachable | not_attachable |
| redstone_torch | false |
Tree
类别: construction
Grow a tree at the target location This uses the vanilla tree generation algorithm and is not undoable Can be made to choose the type of tree based on the biome of the target block
参数:
| 参数 | 默认值 |
|---|---|
| biomes-map | |
| require_sapling | false |
| type |
Trigger
Send a specific trigger to the target mob or player Can be used to direct mob behavior from spells
参数:
| 参数 | 默认值 |
|---|---|
| trigger |
Undo
类别: control
Undoes spells Can undo the last spell cast by the caster, the last spell cast by the target, or the last spell to have affected the target block. May require that the spell was cast recently or was cast by the caster of the undoing spell. Can also be used to undo changes performed in the current spell, including only undoing a limit set of changes in FIFO order. This can be used to create complex animations within a single spell.
参数:
| 参数 | 默认值 |
|---|---|
| admin_permission | |
| cancel | true |
| sort | false |
| target_block_timeout | 0 |
| target_blocks | true |
| target_caster | false |
| target_down | false |
| target_other_blocks | false |
| target_spell | |
| target_timeout | 0 |
| undo_oldest | 0 |
| undo_to | 0 |
Update Parameters
类别: compound
Cause all actions to re-read their parameters Useful for equation-driven parameters that may update in the middle of a spell cast
Upgrade Path
类别: player
Check the current path for upgrades or process property upgrades by some number of levels
参数:
| 参数 | 默认值 |
|---|---|
| upgrade_levels | 0 |
Vanish
类别: player
Vanish the target player, making them completely invisible to other players
参数:
| 参数 | 默认值 |
|---|---|
| vanish | true |
Velocity
类别: entity
Apply velocity to the target entity Can be used to push or pull the entity away or towards the caster Can modify the velicity applied based on the target's distance from the ground, for a spell that applies a higher speed when up in the air
参数:
| 参数 | 默认值 |
|---|---|
| additive | false |
| allow_max_height | true |
| damaged | true |
| direction | |
| exemption_duration | 0 |
| invert_distance | false |
| item_speed | 1 |
| living_entity_speed | 1 |
| max_altitude | 64 |
| max_magnitude | 0 |
| max_speed | 0 |
| min_speed | 0 |
| push | 0 |
| speed | 1 |
| velocity_max_distance | 0 |
| y_offset | 0 |
Volume
类别: compound
Target all blocks within a cuboid volume
参数:
| 参数 | 默认值 |
|---|---|
| center_probability | 1 |
| center_x | true |
| center_y | true |
| center_z | true |
| check_chunk | true |
| orient | false |
| orient_pitch | false |
| orient_pitch_snap | 0 |
| orient_snap | 0 |
| outer_probability | 1 |
| probability | 1 |
| radius | 2 |
| radius_padding | 0.25 |
| remove_target_entities | false |
| reorient | true |
| replace | false |
| thickness | 0 |
| use_brush_size | false |
| volume_type | |
| x_size | 2 |
| y_size | 2 |
| z_size | 2 |
Wand Instructions
Show wand instructions to the target player for the wand they are holding
参数:
| 参数 | 默认值 |
|---|---|
| message_target | false |
Warp
Teleport the target player to a specific warp location
参数:
| 参数 | 默认值 |
|---|---|
| keep_velocity | false |
| maintain_direction | false |
| prevent_fall | true |
| require_build | false |
| require_exit | true |
| safe | true |
| teleport_vehicle | true |
| vertical_range | 8 |
| warp |
Wear
类别: entity
Force the target to wear a specific block or item on their head Can also be used to force the caster to wear the target block
参数:
| 参数 | 默认值 |
|---|---|
| armor_slot | 3 |
| enchantments | |
| item | |
| material | |
| replace_item | false |
| return_on_finish | false |
| slot | |
| temporary | true |
| unbreakable | true |
| use_item | false |
Weather
类别: construction
Change the weather in the target world
参数:
| 参数 | 默认值 |
|---|---|
| player_weather | false |
| weather |
While
类别: compound
Repeat a set of actions as long as certain requirements are met
参数:
| 参数 | 默认值 |
|---|---|
| interval | 0 |
| requirement | |
| requirements |