▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/CRZ:CobblemonFieldMoves
CRZ:CobblemonFieldMoves

CRZ:CobblemonFieldMoves

Server-side Fabric mod for Minecraft 1.21.1 + Cobblemon. Use your Pokemon's moves in the overworld while riding them.

659
5
Все версииCRZ:CobblemonFieldMoves 2.0.0

CRZ:CobblemonFieldMoves 2.0.0

Release3 нед. назад

Список изменений

Bug Fixes

  1. Memory leak - When players disconnected, some tracking data (particle rate limits, special effect timers) was never cleaned up. Over time on busy servers, this would slowly eat memory. Now everything gets properly cleaned when a player leaves.
  2. Disabled players could bypass restrictions - If a server admin disabled field moves for a player (e.g. for griefing), the player could just reconnect to get them back. Now the disabled status persists until the server restarts or an admin re-enables it.
  3. Status effects were always guaranteed - Every fire move would always burn, every ice move would always freeze. In real Pokemon games, these have a chance (not 100%). Now fire has 30% burn chance, ice 20% freeze, electric 25% paralysis, etc.
  4. Wrong controls shown in help - The /fieldmoves help command said "Left Click = Use move" but the actual controls are Right Click to use and Shift+Right Click to cycle. Fixed the help text to match reality.
  5. Voice commands could misfire on short words - If speech recognition picked up a short sound like "a", it could accidentally match a move. Now voice input must be at least 3 characters to do a fuzzy match.
  6. Voice system broke on server restart - In singleplayer, stopping and restarting a world would crash the voice command system because the background worker couldn't be restarted. Now it properly recreates itself.
  7. Unsafe code that could crash - One spot used a !! (force unwrap) that could theoretically crash the server. Replaced with a proper null safety check.

Performance Improvements

  1. Particle data is now cached - Every time a Pokemon used a move, the mod was building lists of 40-80 particle names from scratch. Now it builds them once and reuses them. Huge reduction in garbage collection pressure.
  2. Type chart was rebuilt on every hit - The full Pokemon type effectiveness table (18 types x all matchups) was being recreated as a new object every single time damage was calculated. Now it's created once at startup.
  3. Move category lookups are now instant - Over 20 sets of move names (mouth moves, hand moves, kick moves, etc.) were being recreated every time a move was used. Now they're pre-built constants.
  4. Move name normalization is cached - Converting move names like "Ice_Beam" to "icebeam" was happening 8-10 times per single move use. Now it's done once and remembered.
  5. Config saves are smarter - Changing multiple settings at once (e.g. from a plugin) used to write the config file to disk for each change. Now there's a batch mode that writes once at the end.
  6. Removed duplicated code - The type-to-color mapping function (Normal=white, Fire=red, Water=blue...) was copy-pasted in two files. Now there's one shared version.

Файлы

CobblemonFieldMoves-2.0.0.jar(144.09 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

2.0.0

Загрузчики

Fabric

Версии игры

1.21.1

Загрузок

41

Дата публикации

3 нед. назад

Загрузил

ID версии

Главная