CE AAPP
CE AAPP SpigotCE AAPP GitHubConditionalEvents
ConditionalEvents AAPP
ConditionalEvents AAPP
  • 🔮CE AAPP
    • 📌Starting information
    • ⚙️Installation or updation
    • 🗒️Logical notations
    • Actions
      • 🔌Plugins actions
        • change_balance
        • change_oraxen_block
        • change_items_adder_block
        • drop_items_adder_item
        • show_end_credits
      • 🏃Events actions
        • change_projectile
      • 🌐Independent actions
        • manage_inventory
        • change_chat
        • change_block
        • change_AI
        • change_weather
        • change_time
        • change_freeze
        • change_fire
        • create_explosion
        • change_gravity
        • parse_placeholder
        • change_speed
        • change_ticks_lived
        • launch_projectile
        • change_gliding
        • change_invulnerable
        • change_movement
        • change_name
        • change_item
        • manage_recipe
        • change_fly
        • change_craft
        • change_air
        • drop_current_item
        • attack_entity
        • change_passenger
        • teleport_entities
        • change_entities
        • player_break_block
        • change_effect
        • make_damage
        • change_velocity
        • change_health
        • change_area
        • change_statistic
        • manage_mysql
    • Placeholders
      • 🔌Plugins placeholders
        • Placeholder for LuckPerms permissions with contexts
        • Placeholder for real nickname in Essentials based on custom nickname
      • 🌐Independent placeholders
        • Placeholder for items
        • Placeholder for the highest block at a location
        • Placeholder for random block in area
        • Placeholder for biome by coordinates
        • Placeholder for entities in radius
        • Placeholder for processing arrays
        • Placeholder for different team information /team
        • Placeholder for custom data
        • Placeholder for different entity information
        • Placeholder for block lighting
        • Placeholder for working with MySQL
    • 🔧Modifying the addon
Powered by GitBook
On this page
  1. CE AAPP
  2. Actions
  3. Independent actions

attack_entity

Is an action that allows you to forcibly attack the entities.

Previousdrop_current_itemNextchange_passenger

Last updated 12 days ago


Meaning

Allows you to forcibly attack the entities, as if they did it themselves.


Format
- 'attack_entity: <attacker_entity_uuid|attacker_player_name>;<target_uuid>'

<attacker_entity_uuid | attacker_player_name> – the attacker (should be a ); (MANDATORY)

<target_uuid> – the target to attack. (MANDATORY)


The attack is working even on unreachable distances.


Targets
  • Entities;

  • Players.


Where is useful

For example if you want to troll the player somehow and force him to hit his friend (another player) nearby.


Examples
- 'attack_entity: %player%;d3cb4dcc-95c1-4214-8296-db81b7a6eb2a' # Force the current player to attack some entity

🔮
🌐
LivingEntity