File tree Expand file tree Collapse file tree 4 files changed +15
-11
lines changed
client/java/io/github/discusser/toomanyentities Expand file tree Collapse file tree 4 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,7 @@ dependencies {
6868 }
6969
7070 // Entity Culling
71- // implementation 'com.github.tr7zw:EntityCulling:1.6.6'
72- modImplementation " maven.modrinth:entityculling:1.6.6"
71+ modImplementation " maven.modrinth:entityculling:${ project.entityculling_version} "
7372}
7473
7574processResources {
@@ -81,7 +80,7 @@ processResources {
8180}
8281
8382tasks. withType(JavaCompile ). configureEach {
84- it. options. release = 21
83+ it. options. release = project . java_version as Integer
8584}
8685
8786java {
Original file line number Diff line number Diff line change @@ -4,16 +4,18 @@ org.gradle.parallel=true
44
55# Fabric Properties
66# check these on https://fabricmc.net/develop
7- minecraft_version =1.20.6
8- yarn_mappings =1.20.6 +build.3
7+ minecraft_version =1.21
8+ yarn_mappings =1.21 +build.9
99loader_version =0.15.11
1010
1111# Mod Properties
1212mod_version =1.0.0
1313maven_group =io.github.discusser.toomanyentities
1414archives_base_name =too-many-entities
15+ java_version =21
1516
1617# Dependencies
17- fabric_version =0.100.4+1.20.6
18- clothconfig_version =14.0.126
19- modmenu_version =10.0.0
18+ fabric_version =0.100.6+1.21
19+ clothconfig_version =15.0.127
20+ modmenu_version =11.0.0
21+ entityculling_version =1.6.6
Original file line number Diff line number Diff line change @@ -19,9 +19,12 @@ public class TooManyEntitiesClient implements ClientModInitializer {
1919
2020 @ Override
2121 public void onInitializeClient () {
22+ // Register our config class to AutoConfig
2223 AutoConfig .register (TooManyEntitiesConfig .class , GsonConfigSerializer ::new );
24+ // Register our custom GUI providers and transformers
2325 GuiRegistry registry = AutoConfig .getGuiRegistry (TooManyEntitiesConfig .class );
2426 registry .registerPredicateProvider (new MapGuiProvider (), field -> Map .class .isAssignableFrom (field .getType ()));
27+
2528 TooManyEntitiesConfig .instance = AutoConfig .getConfigHolder (TooManyEntitiesConfig .class ).getConfig ();
2629 }
2730}
Original file line number Diff line number Diff line change 3030 ],
3131 "depends" : {
3232 "fabricloader" : " >=0.15.11" ,
33- "minecraft" : " ~1.20.6 " ,
33+ "minecraft" : " ~1.21 " ,
3434 "java" : " >=21" ,
3535 "fabric-api" : " *"
3636 },
3737 "recommends" : {
38- "entityculling" : " >=1.6.4 " ,
39- "modmenu" : " >=10.0 .0"
38+ "entityculling" : " * " ,
39+ "modmenu" : " ~11 .0"
4040 },
4141 "custom" : {
4242 "modmenu" : {
You can’t perform that action at this time.
0 commit comments