AggressiveAnimals-攻击性动物插件 [1.8-1.17]
account_circleErhecy
access_time2021-07-31
chat_bubble_outline2

ChickenAttack_gif.gif

介绍

攻击性动物插件(AggressiveAnimals)这款插件允许动物,例如鸡、牛或猪,释放它们的真正潜力,并对多年来虐待它们的玩家进行报复。他们不再被迫成为无辜的被动暴徒。

config

点击展开/收缩

# On which worlds do you not want to use this plugin?
disabled-worlds:
 - "world_example"

mobs:
  chicken: &default # Use this as the default configuration.

    # How much damage is the mob supposed to do? (in half-hearts)
    attack-damage: 1

    # How often can the mob damage the player? (in seconds)
    attack-speed: 0.5

    # From how many blocks away can the mob hit the player? (in blocks)
    attack-range: 1

    # How fast can the mob move? (1 is regular speed, 0.5 is half speed and 2 is double speed)
    speed: 1.5

    # By default, Minecraft mobs can look 16 blocks ahead to find a player. However, zombies can see 40.
    navigation-range: 16

    # All of the filter conditions must be true if you want the mob to be able to turn aggressive.
    filter-conditions:
     # What should the mob be named as?
      #name: Jeff

    # When should the mob target the player?
    # It is up to you which conditions to use, but if one condition is true, it will attack the player.
    attack-conditions:

      # Once attacked, at how much health (of the mob) should it target the player? (in percentage)
      health-percentage: 100

      # How close does the player have to be for the mob to attack the player? (in blocks)
      #distance: 10

      # How close does the mob have to be to a player that is being attacked by other mobs of the same type? (in blocks)
      #group-aggro-distance: 10

      #chance:
      #  percentage: 25 # How much chance that the mob will attack the player? (in percentage)
      #  duration: 0 # How long will the mob remember the chance result? (in seconds)
      #  conditions: # The conditions which will trigger the chance: (anything from 'attack-conditions')
      #    health-percentage: 100

      # Advanced distance. The  _ is the distance (in blocks)
      #distance:
      #   _: 20
      #   player: # Only if the below is true, the mob will attack a player
      #     sneaking: false
      #     walking: false
      #     sprinting: true # Only attack players that are sprinting
      #     looking: true # Only attack players that are looking at it (like an Enderman)
      #   cow: {} # Any cow will be attacked if you add the '{}'
      #   chicken:
      #     baby: true # Only attack baby chickens
      #   wolf:
      #     tamed: false # Don't attack tamed wolves.

      # If you wish to you have the same attack condition twice (in this case for players that are too close)
      #distance{your_unique_text}:
      #   _: 5
      #   player: {}

    # When should the mob stop targeting the player?
    # It is up to you which conditions to use, but if one condition is true, it will stop attacking the player.
    stop-conditions:
     # How far away does the player have to be for the mob to give up on his revenge? (in blocks)
      distance: 15

      # Once attacked, at how much health (of the mob) should the mob give up? (in percentage)
      #health-percentage: 50

      # At how much health (of the player) should the mob give up? (in percentage)
      #enemy-health-percentage: 50

      # If the player has one of the potion effects below the mob will give up attacking
      #potion:
      #   speed: 1
      #   slow: 2 # Only Slowness II would make the mob give up

      # Right clicking the mob will cause it to give up on attacking
      #interact:
      #   duration: 20 # How long will the mob remember the interaction? (in seconds)
      #   material:
      #     - stick

      # Same as the above, but also consumes the item
      #consume:
      #   duration: 60
      #   material:
      #     - bread

  pig:
    <<: *default # Load the default configuration
    # You may overwrite any of the default configuration here, for example:
    #speed: 2
  sheep:
    <<: *default
  cow:
    <<: *default
  mushroom_cow:
    <<: *default
  donkey:
    <<: *default
  mule:
    <<: *default
  ocelot:
    <<: *default
  rabbit:
    <<: *default
  parrot:
    <<: *default
  turtle:
    <<: *default
  cat:
    <<: *default
  panda:
    <<: *default
  fox:
    <<: *default
  strider:
    <<: *default
  goat:
    <<: *default
  axolotl:
    <<: *default

  horse: &horse # Create a default configuration for horses
    <<: *default
    attack-range: 1.5
  skeleton_horse:
    <<: *horse
  zombie_horse:
    <<: *horse

  villager: &villager
    <<: *default
    speed: 0.5
  wandering_trader:
    <<: *villager

  giant:
    <<: *default
    attack-damage: 4
    attack-speed: 1
    attack-range: 3

  # The mobs below are already able to target players, but you may add attack-conditions (or remove vanilla behavior!)
  wolf: &default_targeting

    # If true, remove vanilla targeting behavior and only use attack-conditions. (Wolf won't attack back, creepers/skeletons/zombies won't be hostile, etc.)
    override-targeting: false

    speed: 1
    navigation-range: 16
    attack-conditions:
    stop-conditions:
  llama:
    <<: *default_targeting
  trader_llama:
    <<: *default_targeting
  snowman:
    <<: *default_targeting
  iron_golem:
    <<: *default_targeting
  creeper:
    <<: *default_targeting
  skeleton:
    <<: *default_targeting
  spider:
    <<: *default_targeting
  zombie:
    <<: *default_targeting
  enderman:
    <<: *default_targeting
  cave_spider:
    <<: *default_targeting
  silverfish:
    <<: *default_targeting
  blaze:
    <<: *default_targeting
  witch:
    <<: *default_targeting
  endermite:
    <<: *default_targeting
  guardian:
    <<: *default_targeting
  elder_guardian:
    <<: *default_targeting
  wither_skeleton:
    <<: *default_targeting
  stray:
    <<: *default_targeting
  husk:
    <<: *default_targeting
  zombie_villager:
    <<: *default_targeting
  evoker:
    <<: *default_targeting
  vex:
    <<: *default_targeting
  vindicator:
    <<: *default_targeting
  illusioner:
    <<: *default_targeting
  shulker:
    <<: *default_targeting
  pufferfish:
    <<: *default_targeting
  drowned:
    <<: *default_targeting
  dolphin:
    <<: *default_targeting
  pillager:
    <<: *default_targeting
  ravager:
    <<: *default_targeting
  zombified_piglin:
    <<: *default_targeting
  hoglin:
    <<: *default_targeting
  zoglin:
    <<: *default_targeting
  piglin:
    <<: *default_targeting
 

插件特点

高级距离攻击
可以实现
让动物只攻击疾跑的玩家!
让动物互相打架,比如鸡VS牛

权限

/aggressiveanimals reload - 重新加载配置文件

权限:攻击性动物

总结

AggressiveAnimals这款插件或者也可以叫做“反击的动物”,这些动物(以及最近敌对的生物)会根据配置攻击并停止攻击玩家,例如,当被攻击时或玩家太近/太远时。您可以使用其中任何一种或所有这些,这取决于您!

购买服务器,享受站长免费指导开服点我购买

相关文件/链接

lock_outline获取

评价

chat

目录

评论

2条评论

    11232
    11232
    2021-09-04 21:51

    1去安全带群二多

    1111
    1111
    2021-08-13 08:05

    哈111