-
Notifications
You must be signed in to change notification settings - Fork 14
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
1 parent
c7eccd1
commit 0a32b6e
Showing
9 changed files
with
103 additions
and
37 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
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,12 +1,13 @@ | ||
org.gradle.jvmargs=-Xmx1G | ||
|
||
minecraft_version=1.18.2 | ||
yarn_mappings=1.18.2+build.2 | ||
yarn_mappings=1.18.2+build.3 | ||
loader_version=0.13.3 | ||
|
||
mod_version=1.0.0 | ||
maven_group=io.github.mattidragon | ||
archives_base_name=ExtendedDrawers | ||
|
||
fabric_version=0.51.0+1.18.2 | ||
fabric_version=0.51.1+1.18.2 | ||
mconfig_version=1.1.0 | ||
|
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: 17 additions & 0 deletions
17
src/main/java/io/github/mattidragon/extendeddrawers/config/ClientConfig.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package io.github.mattidragon.extendeddrawers.config; | ||
|
||
import io.github.mattidragon.mconfig.config.Comment; | ||
import io.github.mattidragon.mconfig.config.Config; | ||
import io.github.mattidragon.mconfig.config.ConfigManager; | ||
import io.github.mattidragon.mconfig.config.ConfigType; | ||
|
||
public record ClientConfig( | ||
@Comment("The render distance of the item icon on drawers") | ||
int itemRenderDistance, | ||
@Comment("The render distance of the lock and upgrade icons on drawers") | ||
int iconRenderDistance, | ||
@Comment("The render distance of the number of items on the drawers") | ||
int textRenderDistance | ||
) { | ||
public static final Config<ClientConfig> HANDLE = ConfigManager.register(ConfigType.CLIENT, "extended_drawers", new ClientConfig(64, 16, 32)); | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/java/io/github/mattidragon/extendeddrawers/config/CommonConfig.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package io.github.mattidragon.extendeddrawers.config; | ||
|
||
import io.github.mattidragon.mconfig.config.Comment; | ||
import io.github.mattidragon.mconfig.config.Config; | ||
import io.github.mattidragon.mconfig.config.ConfigManager; | ||
import io.github.mattidragon.mconfig.config.ConfigType; | ||
|
||
public record CommonConfig( | ||
@Comment("The max distance that blocks will search for other blocks on a network") | ||
int networkSearchDistance, | ||
@Comment("The max time between the clicks of a double insert") | ||
int insertAllTime, | ||
@Comment("Whether to add a small cooldown to extractions to avoid double ones caused by a vanilla bug") | ||
boolean deduplicateExtraction | ||
) { | ||
public static final Config<CommonConfig> HANDLE = ConfigManager.register(ConfigType.COMMON, "extended_drawers", new CommonConfig(64, 10, true)); | ||
} |
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