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

VoiceChat Interaction

VoiceChat Interaction lets Sculk sensors and the Warden react to real player voice chat (Simple Voice Chat) in Minecraft.

954
3

VoiceChat Interaction 1.0.3

release8 ноября 2025 г.

Fixed

  • Static Analysis Improvements:
    • Added explicit null check in VoiceChatEventBridge.onMicrophonePacket() to eliminate potential null pointer access warning

VoiceChat Interaction 1.0.2

release8 ноября 2025 г.

Changed

  • Major code refactoring and optimization across all classes:
    • VoiceChatEventBridge: Improved code structure, method naming, and comprehensive JavaDoc documentation
    • VoiceChatInteractionCommand: Eliminated code duplication, split toggle logic into focused methods
    • VoiceChatInteraction: Enhanced error handling, better resource management, and startup validation
    • ServerConfig: Extracted validation logic into separate methods for better maintainability
  • Performance improvements:
    • Made constants static final and moved NamespacedKey to class level for better performance
    • Improved method parameter validation with @Nullable annotations
    • Enhanced thread safety and reduced unnecessary object creation
  • Code quality enhancements:
    • Added final parameters throughout for better compile-time optimization
    • Improved variable and method naming for better readability
    • Split large methods into smaller, focused methods with clear responsibilities

Fixed

  • Enhanced error handling:
    • Better exception handling during audio decoding operations
    • Robust configuration loading with proper error recovery
    • Command registration validation to prevent silent failures
  • Memory management:
    • Added memory leak prevention with cooldown cleanup mechanism
    • Improved resource cleanup and disposal
  • Dead code removal:
    • Removed unused static fields voicechatApi and voicechatServerApi from VoiceChatEventBridge
    • Eliminated unnecessary API reference storage for better performance

Added

  • New utility methods:
    • cleanupExpiredCooldowns() method to prevent memory leaks from old cooldown entries
    • Separate validation methods for configuration values
    • Helper methods for toggle command handling to reduce code duplication
  • Enhanced logging:
    • More detailed startup and error logging
    • Better status messages for voice chat server integration
    • Improved warning messages with specific value information

VoiceChat Interaction 1.0.1

release5 ноября 2025 г.

Changed

  • Improved thread safety in VoiceChatEventBridge by making OpusDecoder usage local.
  • Added null checks and consistent logging for error scenarios in VoiceChatEventBridge.
  • Optimized configuration loading and logging in ServerConfig.
  • Improved robustness and error handling in MessageProvider (file path, logging, resource fallback).
  • Minor code cleanups and improved maintainability across several classes.

Fixed

  • Ensured correct default values are used for all configuration options.
  • Fixed potential issues with player lookup and Sculk event triggering.

For previous changes, see earlier releases.

VoiceChat Interaction 1.0.0

release5 ноября 2025 г.

Release

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:MIT
Опубликован:4 месяца назад
Обновлён:4 месяца назад
Главная