
CombatGunSSS
CombatGunSSS - мощный плагин для Minecraft 1.21+, добавляющий 46 видов оружия с реалистичной отдачей, хитсканами и продвинутым крафтом. Идеально для тактического PvP.
Оцените первым
1.8K
6
Список изменений
[1.0.1] - 2026-04-05
Fixed
Crafting System
registerVanillaRecipes()was never called — component recipes were not registered with Bukkit on startup or after/gun reload, so the vanilla Recipe Book showed no entries. Fixed by callingregisterVanillaRecipes()inonEnable()andhandleReload().- Best-match recipe resolution —
ar_ammo,smg_ammo, andhg_ammoshare the same four ingredient types (brass_casing,gunpowder,steel_scrap,primer_cap). The old first-match algorithm could produce the wrong ammo type when a player placed slightly more ingredients than the minimum required. Replaced with a lowest-surplus algorithm that always selects the recipe whose ingredient amounts are closest to what the player put in. breakonly exited the inner loop inregisterVanillaRecipes()— when a component recipe required more than 9 items total (the BukkitShapelessRecipecap), the warning was logged but the outer ingredient loop continued, resulting in a partially-built recipe being registered silently. Changed to a labeledbreak outerso the entire recipe is skipped on overflow.- Double-click (COLLECT) could pull ingredients out of the Mechanical Crafting Table — Bukkit's COLLECT click type sweeps the entire open inventory for matching items, bypassing the station's input-slot guard and corrupting the crafting preview. Added an explicit
ClickType.DOUBLE_CLICKcancel at the top ofonInventoryClick. - Recipe book identified by display name instead of PDC tag — any
written_bookwith "Recipe Guide" in its name would hijack the recipe GUI. The book now carries arecipe_book_markerPDC key set at creation time;RecipeBookListenerchecks this key instead. RecipeCategory.valueOfcould throw uncaughtIllegalArgumentException— if PDC data was corrupt or written by a different plugin version, the category click handler would crash with an unhandled exception. Wrapped in try-catch with a warning log.
Combat
- Removed 5
[DEBUG]log statements fromGunListener.traceProjectile()— these were left in from development and spammed the server console with 4–5 lines per bullet fired.
Файлы
CombatGunSSS-1.0.1.jar(159.51 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.1
Загрузчики
PaperPurpur
Версии игры
1.21–1.21.11
Загрузок
27
Дата публикации
05.04.2026
