generated from Legacy-Fabric/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
47 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,13 @@ | ||
# Fabric Example Mod | ||
# legacy-vulkanmod | ||
A port of [xCollateral's VulkanMod](https://github.com/xCollateral/VulkanMod) to Legacy Fabric 1.8.9 | ||
|
||
- [Quick start guide](#quick-start-guide) | ||
- [Introduction to the folder structure](#introduction-to-the-folder-structure) | ||
- [Creating your mod](#creating-your-mod) | ||
- [Useful gradle commands](#useful-gradle-commands) | ||
- [More info](#more-info) | ||
- [License](#license) | ||
# Why? | ||
To get more experience developing Minecraft mods and also understanding Minecraft, OpenGL, and Vulkan. | ||
|
||
## Quick start guide | ||
And also because why not? | ||
|
||
### Introduction to the folder structure | ||
# Credits | ||
- xCollateral: for the original VulkanMod | ||
|
||
**Build files:** | ||
|
||
| File | Description | | ||
| ------------------- | -------------------------------------------------------- | | ||
| `build.gradle` | Configures the compilation process. | | ||
| `gradle.properties` | Contains properties for Minecraft, fabric, and your mod. | | ||
| `settings.gradle` | Configures the plugin repositories. | | ||
|
||
**Fabric files:** | ||
|
||
These files are located at `src/main/resources`. | ||
|
||
| File | Description | Additional information | | ||
| ----------------------- | ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | ||
| `fabric.mod.json` | Contains metadata about your mod. | [wiki:fabric_mod_json_spec](https://fabricmc.net/wiki/documentation:fabric_mod_json_spec) | | ||
| `modid.mixins.json` | Contains a list of all your mixin files. | [wiki:mixin_registration](https://fabricmc.net/wiki/tutorial:mixin_registration) | | ||
| `assets/modid/icon.png` | The icon of your mod. | [wiki:fabric_mod_json_spec#icon](https://fabricmc.net/wiki/documentation:fabric_mod_json_spec?s[]=icon#custom_fields) | | ||
|
||
|
||
### Creating your mod | ||
|
||
First of you must replace all occurrences of `modid` with the id of your mod. | ||
|
||
If your mod doesn't use mixins you can safely remove the mixin entry in your `fabric.mod.json` as well as delete any `*.mixin.json` files. | ||
|
||
This template has the legacy fabric api included in it's build script, more info about the api can be found at it's [github repo](https://github.com/Legacy-Fabric/fabric). | ||
If you know what you are doing you can also safely remove the api from the build script as it isn't required. | ||
|
||
### Useful gradle commands | ||
|
||
```sh | ||
# Compile your mod | ||
./gradlew build | ||
|
||
# Remove old build files | ||
./gradlew clean | ||
|
||
# Generate Minecraft sources | ||
./gradlew genSources | ||
|
||
# Launch a modded Minecraft client | ||
./gradlew runClient | ||
|
||
# Kill gradle if it's doing stupid things | ||
./gradlew --stop | ||
``` | ||
|
||
## More info | ||
|
||
Additional tutorials and tips can be found in the [wiki](https://github.com/Legacy-Fabric/fabric-example-mod/wiki). | ||
|
||
For more detailed setup instructions please see the [fabric wiki](https://fabricmc.net/wiki/tutorial:setup). | ||
|
||
If you are new to fabric or Minecraft modding in general then [this wiki page](https://fabricmc.net/wiki/tutorial:primer) may help you. | ||
|
||
## License | ||
|
||
This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects. | ||
# License | ||
Haven't got any time to pick a proper license but it will probably be the same as VulkanMod's license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
src/main/java/com/thatmg393/legacyvkm/vulkan/state/VkStateManager.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
src/main/java/com/thatmg393/legacyvkm/vulkan/synchronization/SyncFences.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters