https://github.com/ayfri/kore-template
A template repository for creating a Kore project.
https://github.com/ayfri/kore-template
Last synced: 2 months ago
JSON representation
A template repository for creating a Kore project.
- Host: GitHub
- URL: https://github.com/ayfri/kore-template
- Owner: Ayfri
- License: gpl-3.0
- Created: 2024-05-11T22:48:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-12T11:59:26.000Z (4 months ago)
- Last Synced: 2025-01-23T11:01:45.653Z (4 months ago)
- Language: Kotlin
- Size: 77.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kore Datapack Template for Minecraft
Welcome to the Kore Datapack Template project! This repository is designed to be a starting point for Minecraft enthusiasts and developers
looking to create custom datapacks with ease. By leveraging the power of the [Kore](https://kore.ayfri.com) library, you can streamline your
development workflow and bring your creative Minecraft ideas to life.## Getting Started
Before you begin, ensure you have the following prerequisite installed on your system:
- Java Development Kit (JDK) version 21 or higher
## Setting Up Your Development Environment
To set up your development environment, follow these simple steps:
1. Clone the repository to your local machine:
```shell
git clone https://github.com/Ayfri/Kore-Template.git
```
2. Change directory to the newly cloned repository:
```shell
cd yourreponame
```
3. Execute the project to generate your datapack:
```shell
./gradlew run
```After running the project, you'll find the generated datapack in the `out` directory, ready to be used in your Minecraft world.
## Making Changes to Your Datapack
When you're ready to make changes or updates to your datapack:
- Edit the `Main.kt` file with your desired changes, then rerun the project to apply them.
- If you need to update the Kore library or Kotlin version, adjust the `libs.versions.toml` file as needed, and rerun the project to ensure
the changes take effect.## Frequently Asked Questions (FAQ)
- **Q:** How do I add a new function to the datapack?
- **A:** Use the `function` keyword to create a new function and write your code within it.- **Q:** How do I add a new tag to the datapack?
- **A:** Use the `tag` keyword to create a new tag and include your elements within it.For detailed instructions and best practices on using the Kore library, refer to
the [official Kore documentation](https://kore.ayfri.com/docs/home).## Contributing to the Project
Your contributions are what make the community great. We encourage you to contribute to the project by forking the repository, making your
improvements, and submitting a pull request with your changes. Together, we can make the Kore Datapack Template even better!Thank you for supporting the project, and happy Datapacking!