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

change_AI

Is an action that allows you to change the artificial intelligence of the entities.

Previouschange_blockNextchange_weather

Last updated 12 days ago


Meaning

If you turn off an entity's AI, it will not interact with the world in any way, but will still be susceptible to damage.


Format
- 'change_AI: <entity_uuid|player_name>;<true|false>'

<entity_uuid | player_name> โ€“ the target to change the AI; (MANDATORY)

<true|false> โ€“ whether to enable or disable the AI. (MANDATORY)


Targets
  • ;

  • Players (this is possible, but players are not affected by AI for real).


Where is useful

For example, if you are creating some sort of challenge or mini game where the player is defending against enemy mobs, and the player has the ability to โ€œfreezeโ€ certain mobs.


Examples
- 'change_AI: 9926220f-475c-43b4-870a-024a1f6b7bed;false' # Disable the AI of some entity

๐Ÿ”ฎ
๐ŸŒ
LivingEntities