WeaponMechanics / MechanicsMain

A New Age of Weapons in Minecraft.
https://www.spigotmc.org/resources/WeaponMechanics.99913/
MIT License
77 stars 27 forks source link

Gunshots and/or impacts create vibrations for Sculk Sensors / Warden #241

Open DarkmanBree opened 1 year ago

DarkmanBree commented 1 year ago

Description

This is kind of half a bug, half a feature request.

Obviously a loud gun shot or bullet impact should alert a Sculk Sensor or Warden. This was actually the case in CrackShot, but not in WeaponMechanics. You can even shoot the Warden in Survival and it won't get angry.

But instead of just "Please fix it so WM guns work with vibrations", lets turn it into a feature where silenced guns won't do exactly that!

Configuration

  Shoot:
    Shot_Makes_Vibrations: <True/False> #If a gunshot should cause vibrations to nearby Sculk Sensors and Wardens.
  Projectile:
    Projectile_Settings:
      Impact_Makes_Vibrations: <True/False> #If a bullet impact should cause vibrations to nearby Sculk Sensors and Wardens.
  Explosion:
    Explosion_Makes_Vibrations: <True/False> #If an explosion should cause vibrations to nearby Sculk Sensors and Wardens.
  etc.

Payment (optional)

CJCrafter commented 1 year ago

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/ecc290fdbce58b13f5353fbb6f6a906f8f38dc22

CJCrafter commented 1 year ago

This could be a really cool Mechanic!

CJCrafter commented 1 year ago

Added WardenDisturbance to WeaponMechanicsCosmetics. This is not the vibration, but instead a suggestion to the warden to investigate. I will add vibration support soon