File tree Expand file tree Collapse file tree
src/main/java/mcinterface1165
src/main/java/mcinterface1182
src/main/java/mcinterface1192
src/main/java/mcinterface1201 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ minecraft {
6969repositories {
7070 // JEI
7171 maven { url = " https://dvs1.progwml6.com/files/maven/" }
72+ // Jade
73+ maven { url = " https://www.cursemaven.com" }
7274}
7375
7476// Configuration that holds jars to include in the jar
@@ -91,6 +93,9 @@ dependencies {
9193 compileOnly fg. deobf(" mezz.jei:${ project.jei_api_version} " )
9294 // At runtime, use the full JEI jar
9395 runtimeOnly fg. deobf(" mezz.jei:${ project.jei_run_version} " )
96+
97+ // Compile against the Jade API but do not include it at runtime
98+ compileOnly fg. deobf(" curse.maven:jade-324717:${ project.jade_file_id} " )
9499}
95100
96101mixin {
Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ mappings_version=2022.03.06
1717forge_version =36.2.34
1818jei_api_version =jei-1.16.5:7.7.1.152:api
1919jei_run_version =jei-1.16.5:7.7.1.152
20+ jade_file_id =3910873
2021
2122# mixins
2223mixin_tweaker =org.spongepowere.dasm.launch.MixinTweaker
2324mixin_config =mts.mixins.json
2425mixin_refmap =mts.refmap.json
25- mixin_connector =mcinterface1165.mixin.MixinConnector
26+ mixin_connector =mcinterface1165.mixin.MixinConnector
Original file line number Diff line number Diff line change 1+ package mcinterface1165 ;
2+
3+ import mcp .mobius .waila .api .IEntityAccessor ;
4+ import mcp .mobius .waila .api .IEntityComponentProvider ;
5+ import mcp .mobius .waila .api .IPluginConfig ;
6+ import mcp .mobius .waila .api .IRegistrar ;
7+ import mcp .mobius .waila .api .IWailaPlugin ;
8+ import mcp .mobius .waila .api .WailaPlugin ;
9+ import net .minecraft .entity .Entity ;
10+
11+ @ WailaPlugin
12+ public class InterfaceJade implements IWailaPlugin , IEntityComponentProvider {
13+ @ Override
14+ public void register (IRegistrar registrar ) {
15+ registrar .registerOverrideEntityProvider (this , BuilderEntityRenderForwarder .class );
16+ }
17+
18+ @ Override
19+ public Entity getOverride (IEntityAccessor accessor , IPluginConfig config ) {
20+ return null ;
21+ }
22+ }
Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ minecraft {
6868repositories {
6969 // JEI
7070 maven { url = " https://dvs1.progwml6.com/files/maven/" }
71+ // Jade
72+ maven { url = " https://www.cursemaven.com" }
7173}
7274
7375// Configuration that holds jars to include in the jar
@@ -92,6 +94,8 @@ dependencies {
9294 compileOnly fg. deobf(" mezz.jei:${ project.jei_api_version} " )
9395 // At runtime, use the full JEI jar
9496 runtimeOnly fg. deobf(" mezz.jei:${ project.jei_run_version} " )
97+ // Compile against the Jade API but do not include it at runtime
98+ compileOnly fg. deobf(" curse.maven:jade-324717:${ project.jade_file_id} " )
9599}
96100
97101mixin {
Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ mappings_version=2022.11.06
1717forge_version =40.2.0
1818jei_api_version =jei-1.18.2:9.7.2.281:api
1919jei_run_version =jei-1.18.2:9.7.2.281
20+ jade_file_id =5079263
2021
2122# mixins
2223mixin_tweaker =org.spongepowere.dasm.launch.MixinTweaker
2324mixin_config =mts.mixins.json
2425mixin_refmap =mts.refmap.json
25- mixin_connector =mcinterface1182.mixin.MixinConnector
26+ mixin_connector =mcinterface1182.mixin.MixinConnector
Original file line number Diff line number Diff line change 1+ package mcinterface1182 ;
2+
3+ import mcp .mobius .waila .api .IWailaClientRegistration ;
4+ import mcp .mobius .waila .api .IWailaPlugin ;
5+ import mcp .mobius .waila .api .WailaPlugin ;
6+
7+ @ WailaPlugin
8+ public class InterfaceJade implements IWailaPlugin {
9+ @ Override
10+ public void registerClient (IWailaClientRegistration registration ) {
11+ registration .hideTarget (BuilderEntityRenderForwarder .E_TYPE4 .get ());
12+ }
13+ }
Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ repositories {
7070 maven { url = " https://dvs1.progwml6.com/files/maven/" }
7171 // location of the maven that hosts JEI files since January 2023
7272 maven { url = " https://maven.blamejared.com/" }
73+ // location of the maven that hosts Jade files
74+ maven { url = " https://www.cursemaven.com" }
7375}
7476
7577// Configuration that holds jars to include in the jar
@@ -94,6 +96,8 @@ dependencies {
9496 compileOnly fg. deobf(" mezz.jei:${ project.jei_api_version} " )
9597 // At runtime, use the full JEI jar
9698 runtimeOnly fg. deobf(" mezz.jei:${ project.jei_run_version} " )
99+ // Compile against the Jade API but do not include it at runtime
100+ compileOnly fg. deobf(" curse.maven:jade-324717:${ project.jade_file_id} " )
97101}
98102
99103mixin {
Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ mappings_version=2022.11.27
1717forge_version =43.4.0
1818jei_api_version =jei-1.19.2-forge:11.8.1.1034
1919jei_run_version =jei-1.19.2-forge:11.8.1.1034
20+ jade_file_id =4914105
2021
2122# mixins
2223mixin_tweaker =org.spongepowere.dasm.launch.MixinTweaker
2324mixin_config =mts.mixins.json
2425mixin_refmap =mts.refmap.json
25- mixin_connector =mcinterface1192.mixin.MixinConnector
26+ mixin_connector =mcinterface1192.mixin.MixinConnector
Original file line number Diff line number Diff line change 1+ package mcinterface1192 ;
2+
3+ import snownee .jade .api .IWailaClientRegistration ;
4+ import snownee .jade .api .IWailaPlugin ;
5+ import snownee .jade .api .WailaPlugin ;
6+
7+ @ WailaPlugin
8+ public class InterfaceJade implements IWailaPlugin {
9+ @ Override
10+ public void registerClient (IWailaClientRegistration registration ) {
11+ registration .hideTarget (BuilderEntityRenderForwarder .E_TYPE4 .get ());
12+ }
13+ }
Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ repositories {
7070 maven { url = " https://dvs1.progwml6.com/files/maven/" }
7171 // location of the maven that hosts JEI files since January 2023
7272 maven { url = " https://maven.blamejared.com/" }
73+ // location of the maven that hosts Jade files
74+ maven { url = " https://www.cursemaven.com" }
7375}
7476
7577// Configuration that holds jars to include in the jar
@@ -94,6 +96,8 @@ dependencies {
9496 compileOnly fg. deobf(" mezz.jei:${ project.jei_api_version} " )
9597 // At runtime, use the full JEI jar
9698 runtimeOnly fg. deobf(" mezz.jei:${ project.jei_run_version} " )
99+ // Compile against the Jade API but do not include it at runtime
100+ compileOnly fg. deobf(" curse.maven:jade-324717:${ project.jade_file_id} " )
97101}
98102
99103mixin {
You can’t perform that action at this time.
0 commit comments