▶️ ЗАБЕРИ СВОИ 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.

665
5
Все версииCRZ:CobblemonFieldMoves 1.1.1

CRZ:CobblemonFieldMoves 1.1.1

Release1 мес. назад

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

CobblemonFieldMoves - Server-Side Only Refactor

  1. Removed Client-Side Dependencies
  • Deleted CobblemonFieldClient.kt - Removed the client entrypoint that intercepted mouse clicks (left-click to attack, right-click to cycle moves)
  • Deleted FieldMovePayloads.kt - Removed the custom C2S network packet (UseMoveC2SPayload) that the client sent to the server
  • Deleted DiscParticleEmitterShapeMixin.java - Removed a client-only mixin that patched Cobblemon's particle crash
  • Updated fabric.mod.json - Changed environment from "*" to "server", removed "client" entrypoint, removed "mixins" section
  • Updated cobblemonfield.mixins.json - Removed the "client" array (no more mixins)
  • Updated CobblemonFieldMod.kt - Removed C2S packet registration (PayloadTypeRegistry, ServerPlayNetworking)
  1. Added Server-Side Attack Interception
  • AttackEntityCallback.EVENT in CobblemonFieldMod.kt - When a player left-clicks an entity while having an active Pokemon (riding or sent-out), the selected field move is executed instead of a normal attack. Shift + left-click cycles to the next move.
  1. Added Auto-Show Moves on Pokemon Activation
  • ServerTickEvents.END_SERVER_TICK in CobblemonFieldMod.kt - Detects when a player mounts a Pokemon or sends one out. Automatically displays a clickable move menu in chat and resets the selected move to slot 1.
  1. Added Server-Side Move Selection Tracking
  • FieldMoveHandler.kt - Added selectedMoves map, plus getSelectedMove(), setSelectedMove(), cycleMove(), and clearSelectedMove() methods to track which move each player has selected.
  1. Support for Sent-Out (Non-Mounted) Pokemon
  • FieldMoveHandler.findPlayerPokemon() - New helper that finds a player's active Pokemon by: a. Checking if the player is riding a PokemonEntity b. If not, searching for a nearby PokemonEntity (within 32 blocks) owned by the player
  • Updated FieldMoveHandler.handleMoveRequest() - Uses findPlayerPokemon() instead of only checking player.vehicle
  • Updated FieldMoveCommand.kt - /fm and /fm use <1-4> now work with sent-out Pokemon too
  • Updated CobblemonFieldAPI.kt - getPlayerMount() uses the new helper

Player Experience (No Client Mod Required)

  • Send out or mount a Pokemon → move menu appears in chat (clickable)
  • Left-click an entity → uses the selected move
  • Shift + left-click → cycles to the next move (shown in action bar)
  • /fm → shows move menu | /fm use <1-4> → uses a specific move
  • Cobblemon particles and animations still work (players already have Cobblemon installed)

Файлы

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

Метаданные

Канал релиза

Release

Номер версии

1.1.1

Загрузчики

Fabric

Версии игры

1.21.1

Загрузок

20

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

1 мес. назад

Загрузил

ID версии

Главная