WeaponMechanicsAdditions icon

WeaponMechanicsAdditions -----

Adds various features to WeaponMechanics



WeaponMechanicsAdditions
WeaponMechanicsAdditions adds various features to the WeaponMechanics plugin.
originally made for my own project called Gunsworld.


Features

  • Crossbow animation
  • Molotov
  • Smoke Grenade
  • Flamethrower



Crossbow animation
Crossbow animation Makes it so you can hold a gun forward.
It adds a really cool effect to the game.

And this is done entirely with packets.

[​IMG]
[​IMG]
[​IMG]

How to use
simply add this to the config of your gun:

Code (YAML):
  WeaponMechanicsAdditions:
    Crossbow_Animation
:
      Only_While_Zooming
: true #Only send Crossbow animation while zoom/scoping
      Helditem_Modeldata
: true #Gives Crossbow same Custom model data as held item
      Custom_Model_Data
: 0 #Gives Crossbow the provided Custom model data
and add the example Crossbow model to your resource pack, which you can download here


Molotov
Adds molotov to WeaponMechanics.
simply add this to the config of your explosive:
Code (YAML):
  WeaponMechanicsAdditions:
    Custom_Explosion
:
      Molotov
:
        Enabled
: true #Enables the Molotov code
        Disable_Event
: true #Disables the actual explosion
        Allow_through_walls
: false #Check if blocks behind a wall need to set on fire or not
        Radius
: 6 #Radius of fire
        Place_Randomizer
: 0.8 #Give fire a 8/10 chance to spawn
        Alive_Seconds
: 6 #Time in seconds fire will be removed (you can remove this to disable this feature)
Don't forget to add an explosion module (example)

Smoke Grenade
Adds a smoke grenade to WeaponMechanics.
Smoke grenades replace the wheat texture of Minecraft completely,
And disable the Block physics of a wheat plant.
So not suitable for survival servers.
I will look for a way to also make it work on Survival servers.

keep this in mind while enabling this in the config.
To add the smoke textures add this to your minecraft/textures/block/ folder of your resource pack.
[​IMG]
to use this simply add this to the config of your explosive:
Code (YAML):
  WeaponMechanicsAdditions:
    Custom_Explosion
:
      Smoke_Grenade
:
        Enabled
: true #Enables the Smoke grenade code
        Disable_Event
: true #Disables the actual explotion
        Inside_Radius
: 6 #the solid radius inside of the smoke
        Outside_Radius
: 8 #The randomised outside of the smoke
        Outside_Radius_Randomizer
: 0.2 # 2/10 Change to spawn a smoke on the outside
        Alive_Seconds
: 20 #Time in seconds to keep smoke
Don't forget to add an explosion module (example)

Flamethrower
Adds the ability to set the blocks and/or entities it hit on fire.
I suggest using this with the particle trails from WeaponMechanicsCosmetics.
Simply add this to the config of your gun:
Code (YAML):
 WeaponMechanicsAdditions:
    Flamethrower
:
      Fire_players
: true #enables players and other entity to set on fire when they get hit.
      Player_firetime
: 10 #amount of seconds a entity will be on fire
      Fire_blocks
: true #enables blocks that are hit to be set on fire
      Fire_Lifetime
: 10 #amount of seconds a block will be on fire for.


bStats
[​IMG]
Resource Information
Author:
----------
Total Downloads: 565
First Release: Nov 19, 2022
Last Update: Dec 16, 2022
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings