6958 Commits

Author SHA1 Message Date
d800aa9316 Update Italian Translation (#5230) 2025-11-30 13:37:49 -08:00
3533c50489 Spring-cleaning round 1: remove deprecated Player.updateInventory 2025-11-09 09:57:28 -08:00
2a8be52be5 back to snapshots 2025-11-08 13:57:14 -08:00
59093c5f22 2.2.045 2025-11-08 13:49:59 -08:00
1f123a4eb2 Add missing permission nodes for copper repair and salvage Fixes #5225 2025-11-08 13:44:35 -08:00
c96cb95443 Fixed bug where salvage and repair configs would re-add any deleted entry that existed in the default config Fixes #5223 2025-11-08 13:40:05 -08:00
9f5994596a Fixed ageable cast class exception Fixes #5224
Fixed Herbalism not replanting certain crops
2025-11-08 13:27:53 -08:00
ec6dce0cb2 back to snapshots 2025-11-02 12:30:55 -08:00
80a61d2d89 2.2.044 Fix copper repair and salvage 2025-11-02 12:25:25 -08:00
f71fe0de70 snapshots here we go 2025-10-05 13:55:04 -07:00
eafa53e5b4 2.2.043 2025-10-05 13:46:32 -07:00
5dfea51c5e slightly better logs 2025-10-05 13:46:13 -07:00
00c0b2e5ec fix bug where armor stand could be renamed to heart symbols 2025-10-05 13:30:24 -07:00
c79b3fe024 optimize imports 2025-10-05 13:19:17 -07:00
24888d13c2 Fix potion names Fixes #5211 Fixes #5180 2025-10-05 13:18:35 -07:00
2f624e329d misc optimization 2025-10-05 12:34:18 -07:00
07d18e2eba 1.21.9 support for treasures.yml, experience.yml, fishing_treasures.yml, and settings for mannequins and a fix for armor stands 2025-10-05 12:27:20 -07:00
c958a86aa3 add 1.21.9 support for repair, salvage, copper tool and armor (wip) 2025-10-04 14:20:32 -07:00
22231dfa32 back to snapshots 2025-09-21 12:31:34 -07:00
fdc652fd63 2.2.042 2025-09-21 12:24:42 -07:00
c07b73d3d6 Merge branch 'master' of https://github.com/mcMMO-Dev/mcMMO 2025-09-21 12:20:06 -07:00
d38d74f82a new event McMMOModifyBlockDropItemEvent and mcMMO now modifies the drop list in BlockDropItemEvent instead of spawning items
Fixes #5214
2025-09-21 12:19:55 -07:00
9a59200c0b Add null-safety and helper methods to AbilityAPI (#5217) 2025-09-21 10:53:32 -07:00
8e049822a3 better phrasing 2025-08-30 12:08:14 -07:00
06f979d7bf Reduce Blast Mining PVP damage Fixes #5213 2025-08-30 12:03:50 -07:00
f78586675d different default for CustomSoundId in sounds.yml 2025-08-30 11:40:23 -07:00
46bcd29998 update changelog with info about custom sound playing 2025-08-30 11:20:31 -07:00
df69410e67 (Improvement) Implement playing sound by string ID (#5201)
* (improvement) implement playing sound by string ID

I've replaced enum-based sound playing events with string-based equivalents, which should open the door for server customization and other enhancements in the future

- Added SoundLookup class with different registry lookup methods depending on server version.
- Added the ability to configure what sounds are played depending on event, with a fallback built into SoundType.
- Removed getCrippleSound as SoundLookup can now fall back to the original default sound if the mace sound doesn't exist on the server's Minecraft version.
- Added a EnableCustomSounds config variable that will skip SoundLookup ID checking and just pass the sound string directly to the client, mainly due to the fact that it isn't possible to verify if resource pack values exist.
 - Cleaned up a few switch statements to match how the original getSound had it formatted.

I'd love to see/do a further expansion of sound configuration for each ability now that we can just fall back to generic, but that may be for another PR.

* Fix getIsEnabled using wrong key

* always use registry, simplify custom sound enabling logic, optimize reflection calls

* forgot we need this for legacy versions

---------

Co-authored-by: nossr50 <nossr50@gmail.com>
2025-08-30 11:15:26 -07:00
99f7437d9d back to dev builds 2025-08-23 13:16:59 -07:00
4bfbfa2de7 2.2.041 2025-08-23 13:12:58 -07:00
724b66afaa expand Block Cracker to other blocks with cracked variants 2025-08-23 13:09:52 -07:00
6ba4475a77 Fix Berserk block cracker not functioning Fixes #5207 2025-08-23 13:01:11 -07:00
2c1c1fe53f update changelog 2025-08-23 12:38:30 -07:00
ba673a02d0 Add early return for brewing stand hopper check (#5208) 2025-08-23 12:37:11 -07:00
7cf4409c35 Add static to the method of the private class DatabaseAPI. (#5198) 2025-08-02 12:48:46 -07:00
f9513a8b40 fix(experience): parse diminished returns value from correct field (#5196) 2025-07-11 14:43:29 -07:00
b12f86a04d update changelog 2025-07-09 14:24:43 -07:00
c377544fa2 RepairManager: Fix unsafe enchantments being stripped, CombatUtils: Use instanceof for IronGolem (#5192)
* RepairManager: Fix unsafe enchantments being stripped

* CombatUtils: Use instanceof for IronGolem check to avoid cast exceptions for pets/npcs/...

---------

Co-authored-by: Dieu <info@l4b.org>
2025-07-09 14:23:34 -07:00
e6c62beed9 update changelog 2025-07-09 14:21:12 -07:00
0424a5dd12 When burnTime is less than or equal to 0, do not process (#5194) 2025-07-09 14:19:02 -07:00
b91fa2cf37 back to dev 2025-07-08 13:08:08 -07:00
6acc4b1ec6 2.2.040 2025-07-06 12:27:25 -07:00
41b5667cd4 Some more unit test coverage for tree feller 2025-07-04 13:27:38 -07:00
b60e478aec Fix parties unintentionally becoming leader-less Fixes #3771 2025-07-04 13:06:31 -07:00
6aa4deedc0 oopsie 2025-07-04 12:25:08 -07:00
4c578eb1c5 update changelog 2025-07-04 12:15:05 -07:00
e6199c0a7a prevent simulateBlockBreak from calling itself fixes #5188 2025-07-04 12:13:37 -07:00
87277a0d6f remove some unused code 2025-07-03 15:12:58 -07:00
3c853a266a change enum format back to old style 2025-07-03 15:11:41 -07:00
e52371aeb3 formatting applied to most of the source code to tidy things up, and misc refactors 2025-07-03 15:07:31 -07:00