mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-19 15:09:25 +00:00
85459c57a695f3d2f3539f899548ba27ba2a8465
Custom-Crops 🌱
📌 Overview
CustomCrops is a high-performance Paper plugin designed to enhance the planting experience on Minecraft servers. It focuses on customization and efficiency, utilizing advanced techniques for optimal performance. 🌾
🔥 Key Features
- Zstd Compression: Efficient data serialization comparable to Minecraft's native methods.
- ⚡ Multi-threaded Tick System: Improves server performance by distributing tasks across multiple threads.
- 🛠️ Comprehensive API: Enables developers to create custom block mechanisms with specific interactions and behaviors.
🔧 Building the Project
💻 Command Line
- Install JDK 17 & 21.
- Open a terminal and navigate to the project directory.
- Run:
./gradlew build - The generated artifact can be found in the
/targetfolder.
🛠️ Using an IDE
- Import the project into your preferred IDE.
- Execute the Gradle build action.
- Locate the artifact in the /target folder.
🤝 Contributing
🌍 Translations
- Clone the repository.
- Create a new language file in:
/plugin/src/main/resources/translations - Submit a pull request with your changes for review. We appreciate your contributions! 💖
🚀 Areas for Improvement
- Enhance thread scheduler efficiency and reduce
ConcurrentHashMapusage. - Optimize map storage in sections using a palette system.
- Replace the current sponge flow-nbt library with a more efficient alternative (e.g.,
sparrow-nbt). - Implement an improved region file format with file headers and sectors for random read/write operations (4.0 milestone).
💖 Support the Developer
If you enjoy using CustomCrops, consider supporting the developer! 🥰
📚 CustomCrops API
📌 Repository
repositories {
maven("https://repo.momirealms.net/releases/")
}
📌 Dependency
dependencies {
compileOnly("net.momirealms:custom-crops:3.6.40")
}
🎉 Fun Fact
I misspelled "mechanism" as "mechanic"—I should have caught that earlier! 😆
Languages
Java
100%