Repository navigation
SimpleMobSwitch Mod - ChangeLog
[1.0.0] - 2025-5-30
🎉 初回リリース / Initial Release
✨ 新機能 / New Features
-
動的モブキャップ制御システム / Dynamic Mob Cap Control System
- プレイヤー数に応じて自動的にダミーモブ(シュルカー)をスポーン / Automatically spawns dummy mobs (Shulkers) based on player count
- 基本計算式:
プレイヤー数 × 70体 = 必要ダミーモブ数/ Basic formula:Player count × 70 = Required dummy mobs - リアルタイムでのモブ数調整機能 / Real-time mob count adjustment
-
コマンドシステム / Command System
/mobswitch on- モブスイッチ有効化 / Enable mob switch/mobswitch off- モブスイッチ無効化 / Disable mob switch- OP権限(レベル2以上)による制御 / Requires OP permission (level 2+)
-
永続化システム / Persistence System
- サーバー再起動後の状態復元機能 / State restoration after server restart
- NBTCompound形式でのワールドデータ保存 / World data saved in NBTCompound format
- ダミーモブUUIDの管理 / Dummy mob UUID management
-
スポーンチャンク方式採用 / Spawn Chunk Method
- 常時ロードされるスポーンチャンクを利用 / Utilizes always-loaded spawn chunks
- 安定したチャンクローディング / Stable chunk loading
- ネザーポータル方式に依存しない設計 / Independent from nether portal methods
🔧 技術仕様 / Technical Specifications
- 対応バージョン / Supported Version: Minecraft 1.20.x + Fabric
- 配置位置 / Placement: スポーンチャンクから3チャンク離れた地点(Y=1000) / 3 chunks away from spawn chunk (Y=1000)
- エンティティタイプ / Entity Type: シュルカー(
EntityType.SHULKER) / Shulker (EntityType.SHULKER)
⚡ パフォーマンス最適化 / Performance Optimization
-
AI処理最適化 / AI Processing Optimization
- ダミーモブのAI無効化(
setAiDisabled(true)) / Dummy mob AI disabled (setAiDisabled(true)) - 物理演算無効化(
setNoGravity(true)) / Physics disabled (setNoGravity(true)) - 音響処理無効化(
setSilent(true)) / Sound processing disabled (setSilent(true))
- ダミーモブのAI無効化(
-
視覚的最適化 / Visual Optimization
- ダミーモブの透明化(
setInvisible(true)) / Dummy mobs invisible (setInvisible(true)) - カスタム名非表示(
setCustomNameVisible(false)) / Custom name hidden (setCustomNameVisible(false)) - 無敵化による意図しない削除防止(
setInvulnerable(true)) / Invulnerable to prevent accidental removal (setInvulnerable(true))
- ダミーモブの透明化(
-
メモリ効率化 / Memory Efficiency
- UUIDベースの軽量な状態管理 / Lightweight UUID-based state management
- 最小限のデータ保存 / Minimal data storage
🛡️ 安全性機能 / Safety Features
-
エラーハンドリング / Error Handling
- スポーン失敗時の適切な処理 / Proper handling of spawn failures
- 状態整合性チェック機能 / State consistency checking
- 詳細なログ出力(INFO、ERRORレベル) / Detailed logging (INFO, ERROR levels)
-
サーバーライフサイクル管理 / Server Lifecycle Management
- 起動時の自動状態復元 / Automatic state restoration on startup
- 終了時の適切なクリーンアップ / Proper cleanup on shutdown
- プレイヤー参加/退出時の動的調整 / Dynamic adjustment on player join/leave
📋 制約事項 / Limitations
- ディメンション制限 / Dimension Limitation: オーバーワールドのみ対応 / Overworld only
- 権限要件 / Permission Requirement: OP権限(レベル2以上)が必要 / Requires OP permission (level 2+)
- 影響範囲 / Impact Scope: サーバー全体のモブスポーンに影響 / Affects server-wide mob spawning
🔍 実装詳細 / Implementation Details
- Mixin使用 / Mixin Usage: MinecraftServerクラスへの軽微な介入 / Minimal intervention to MinecraftServer class
- 非侵襲的設計 / Non-invasive Design: 既存のゲームシステムへの最小限の影響 / Minimal impact on existing game systems
- Fabric API: 標準的なFabric MOD開発手法を採用 / Standard Fabric mod development practices
📖 使用方法 / Usage
- MODをサーバーの
modsフォルダに配置 / Place the mod in the server'smodsfolder - サーバーを起動 / Start the server
- OP権限で
/mobswitch onコマンドを実行 / Execute/mobswitch oncommand with OP permission - プレイヤー数に応じて自動的にモブスポーンが制御されます / Mob spawning will be automatically controlled based on player count
🎯 対象ユーザー / Target Users
- サーバー管理者 / Server administrators
- モブファーム運営者 / Mob farm operators
- パフォーマンス重視のサーバー運営者 / Performance-focused server operators
- 建築プロジェクトでモブスポーンを制御したいプレイヤー / Players who want to control mob spawning for building projects
🔗 参考資料 / References
注意 / Warning: このMODはサーバー全体のモブスポーンに影響を与えます。使用前に必ずバックアップを取得し、テスト環境での動作確認を推奨します。 / This mod affects server-wide mob spawning. Always create backups and test in a development environment before use.