-
Notifications
You must be signed in to change notification settings - Fork 12
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
174 changed files
with
8,415 additions
and
8,230 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
# Contributing | ||
|
||
Welcome contributions! | ||
* Use google-java-format | ||
|
||
According to Github Community Standards I put this file here. | ||
## How to add a new config item | ||
|
||
Define config item in class `AbstractConfig` | ||
|
||
```java | ||
public abstract class AbstractConfig { | ||
@Expose public double my_option = 0.5; | ||
} | ||
|
||
``` | ||
|
||
Use the config item somewhere. | ||
|
||
Find all screen builders in `ConfigScreenBuilder#builders`, and add the config item to the builder. | ||
|
||
Add translation to `resource/assets/minecraft/lang/*.json` |
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,5 +1,7 @@ | ||
The MIT License (MIT) | ||
Copyright (c) 2023 Leawind | ||
|
||
Copyright (c) 2023-2024 Leawind (Username) <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
|
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
Oops, something went wrong.