Advertisement
MHProDev

Untitled

Dec 22nd, 2024 (edited)
511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.07 KB | None | 0 0
  1. # Ammo Settings
  2. Ammo:
  3.   - name: "9mm"               # Ammo Name
  4.     clusters: 1               # Number of clusters per shot
  5.     damage:
  6.       normal: 5               # Normal damage value
  7.       pure: 0                 # Pure damage value
  8.       piercing: 3             # Piercing damage value
  9.       explosive:
  10.         damage: 0             # Explosive damage value
  11.         radius: 0             # Explosive radius
  12.         fuse: 0               # Explosive fuse time (disabled for this ammo)
  13.     effectiveRange: 50        # Effective range in blocks
  14.     penetration: 2            # Penetration capability
  15.     gravity: 0.05             # Gravity of the ammo (bullet drop)
  16.     material:
  17.       type: "GOLD_NUGGET"      # Material type of the ammo
  18.       nbt:
  19.         CustomModelData: 2    # Custom model data for the ammo
  20.     particles:
  21.       on_hit:
  22.        - 1;CRIT             # Particles triggered upon hitting a target
  23.       on_going:
  24.        - 1;SMOKE_NORMAL     # Particles during flight
  25.       on_ricochet:
  26.        - 1;CRIT_MAGIC       # Particles triggered upon ricochet
  27.     sounds:
  28.       on_hit:
  29.        - 1;entity.arrow.hit
  30.       on_going:
  31.        - 1;block.note_block.snare
  32.       on_ricochet:
  33.        - 1;block.anvil.hit
  34.  
  35. # Magazine Settings
  36. Magazine:
  37.   - name: "1911 Magazine"        # Magazine Name
  38.     capacity: 7                  # Ammo capacity of the magazine
  39.     reloadTime: 2.5              # Time (in seconds) to reload
  40.     targetAmmo: "9mm"            # Compatible ammo type
  41.     material:
  42.       type: "INK_SACK"           # Material type of the magazine
  43.       nbt:
  44.         CustomModelData: 3       # Custom model data for the magazine
  45.  
  46. # Weapon Settings
  47. Weapons:
  48.   - name: "&cPistol 1911"        # Weapon Display Name (Supports Formatting Codes)
  49.     type: "NormalGun"            # Weapon Type
  50.     maxDurability: 500           # Maximum durability of the weapon
  51.     fireMode:
  52.       burst: 1                   # Number of bullets per burst
  53.       burstTime: 0.0             # Time (in seconds) between bursts (single shot)
  54.       fireRate: 5                # Fire rate (bullets per second)
  55.       auto: false                # Whether the weapon is automatic
  56.     heat:
  57.       max: 100                   # Maximum heat value before overheating
  58.       charge: 10                 # Heat generated per shot
  59.       decay: 5                   # Heat decay per second
  60.       durabilityDamage: 1        # Damage to durability per 50 heat points
  61.     magazineType: "1911 Magazine"  # Compatible Magazine Type
  62.     accuracy:
  63.       baseSpread: 0.05           # Base spread (accuracy) of the weapon
  64.       movingPenalty: 0.1         # Additional spread when moving
  65.       crouchBonus: -0.02         # Reduced spread when crouching
  66.       aimingBonus: -0.03         # Reduced spread when aiming
  67.     recoil:
  68.       vertical: 1.0             # Vertical recoil per shot
  69.       horizontal: 0.5           # Horizontal recoil per shot
  70.       recovery: 2.0             # Recovery rate of recoil
  71.     sounds:
  72.       on_overheat:
  73.        - 1;block.lava.extinguish
  74.       on_shot:
  75.        - 1;entity.firework_rocket.blast
  76.         - 1;item.crossbow.shoot
  77.       on_reload:
  78.        - 1;item.shield.block
  79.       on_empty:
  80.        - 1;entity.item.break   # Sound when the magazine is empty
  81.     particles:
  82.       on_overheat:
  83.        - 1;LAVA
  84.       on_reload:
  85.        - 1;CLOUD
  86.       on_shot:
  87.        - 1;SMOKE_LARGE
  88.       on_empty:
  89.        - 1;CLOUD              # Particles when the magazine is empty
  90.     material:
  91.       type: "IRON_AXE"           # Material type of the weapon
  92.       nbt:
  93.         CustomModelData: 1       # Custom model data for the weapon
  94.       lore:
  95.        - "&6Pistol 1911"       # Weapon lore line 1
  96.         - "&eRight click to fire" # Weapon lore line 2
  97.         - "&7Compatible with Suppressor, Laser Sight, and Extended Magazine"
  98.       on_shot:
  99.         nbt:
  100.           CustomModelData: 17
  101.       on_reload:
  102.         nbt:
  103.           CustomModelData: 18
  104.       on_break:
  105.         nbt:
  106.           CustomModelData: 19
  107.       on_overheat:
  108.         nbt:
  109.           CustomModelData: 20
  110.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement