Skip to content

Xiao-MoMi/Custom-Crops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Custom-Crops 🌱

CodeFactor Grade Gitbook Scc Count Badge Code Size bStats Servers bStats Players GitHub

πŸ“Œ 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

  1. Install JDK 17 & 21.
  2. Open a terminal and navigate to the project directory.
  3. Run:
    ./gradlew build
  4. The generated artifact can be found in the /target folder.

πŸ› οΈ Using an IDE

  1. Import the project into your preferred IDE.
  2. Execute the Gradle build action.
  3. Locate the artifact in the /target folder.

🀝 Contributing

🌍 Translations

  1. Clone the repository.
  2. Create a new language file in:
    /plugin/src/main/resources/translations
    
  3. Submit a pull request with your changes for review. We appreciate your contributions! πŸ’–

πŸš€ Areas for Improvement

  • Enhance thread scheduler efficiency and reduce ConcurrentHashMap usage.
  • 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! πŸ˜†

About

Ultra-customizable planting experience for Minecraft servers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 19

Languages