Skip to content

RenaudRl/BetterModel

 
 

Repository files navigation

BetterModel

Java Version Build Status Target

BetterModel is a high-performance, strictly optimized fork of toxicity188's BetterModel, engineered specifically for the BTC Studio infrastructure. This fork drops support for legacy platforms (Spigot, Bukkit, older NMS) to provide native, blazingly fast integration with Paper and Folia.

Warning

PLATFORM COMPATIBILITY NOTICE This fork is STRICTLY for Paper 1.21.11+ and Folia 1.21.11+. Legacy compatibility layers have been removed to maximize performance. If you are not running modern Paper/Folia, this plugin will not function.


🚀 Key Features in Detail

⚡ Concurrency & Threading (Folia Native)

  • Native Folia Support: Deeply integrated PaperScheduler ensures that all tasks (Global & Region-synced) are handled correctly using the region scheduler.
  • Zero-Overhead Logic: Slashed unnecessary logic checks for non-Folia/non-Paper platforms, resulting in faster tick-to-task execution.

🛠️ Core Optimisations & Debloating

  • Java 21 Native: Leveraging the latest JVM optimizations for maximum throughput and memory efficiency.
  • Legacy Cleanup: Removed support for legacy NMS versions (1.17 - 1.21.10) and Spigot-specific compatibility.
  • BTC Core Integration: Native detection of BTC Core platform to enable specialized optimizations.

🌍 Deployment & Startup

  • Steamlined Loading: Faster startup times through reduced library dependencies and compatibility checks.
  • Plug & Play: Automatic threading context detection for both Paper and Folia environments.

⚙️ Configuration

BetterModel is optimized out-of-the-box, but stays configurable via config.yml.

Key Settings

Key Default Description
metrics true Enables/Disables bStats metrics.
debug false Enables debug mode for development.
local_model_folder blueprints Folder for local model blueprints.

🛠 Building & Deployment

Requires Java 21.

# Clean and compile the project
./gradlew clean build

🤝 Credits & Inspiration

This project is built upon the innovation of the broader Minecraft development community:


📜 License

  • Custom BTC-CORE Patches: Proprietary to BTC Studio.
  • Upstream Source: Original licenses apply to their respective components from BetterModel (MIT).

Fork maintained by BTCSTUDIO

About

Modern Bedrock model engine for Bukkit

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 69.4%
  • Kotlin 29.1%
  • GLSL 1.5%