Skip to content

Commit

Permalink
Backported to 1.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Majrusz committed Jan 23, 2023
1 parent 3f4d1d6 commit dc92cd4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ apply plugin: 'org.spongepowered.mixin'

version = '1.8.0'
group = 'com.majruszsenchantments'
archivesBaseName = 'majruszs-enchantments-1.19.3'
archivesBaseName = 'majruszs-enchantments-1.19.2'

java.toolchain.languageVersion = JavaLanguageVersion.of(17)
compileJava {
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
}

minecraft {
mappings channel: 'official', version: '1.19.3'
mappings channel: 'official', version: '1.19.2'

accessTransformer = file( 'src/main/resources/META-INF/accesstransformer.cfg' ) // Currently, this location cannot be changed from the default.

Expand Down Expand Up @@ -97,8 +97,8 @@ repositories {
}

dependencies {
minecraft 'net.minecraftforge:forge:1.19.3-44.0.18'
implementation fg.deobf( 'com.mlib:majrusz-library-1.19.3:3.1.0' )
minecraft 'net.minecraftforge:forge:1.19.2-43.2.0'
implementation fg.deobf( 'com.mlib:majrusz-library-1.19.2:3.1.0' )
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
}

Expand Down
Binary file not shown.
3 changes: 3 additions & 0 deletions src/main/java/com/majruszsenchantments/Registries.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ public static void initialize() {
HELPER.registerAll();
modEventBus.addListener( PacketHandler::registerPacket );
DistExecutor.unsafeRunWhenOn( Dist.CLIENT, ()->RegistriesClient::initialize );
ItemHelper.addEnchantmentTypesToItemGroup( CreativeModeTab.TAB_COMBAT, SHIELD, BOW_AND_CROSSBOW, MELEE_MINECRAFT, MELEE );
ItemHelper.addEnchantmentTypesToItemGroup( CreativeModeTab.TAB_TOOLS, HOE, GOLDEN, TOOLS );
ItemHelper.addEnchantmentTypeToItemGroup( CreativeModeTab.TAB_MISC, HORSE_ARMOR );

SERVER_CONFIG.register( ModLoadingContext.get() );
CLIENT_CONFIG.register( ModLoadingContext.get() );
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader="javafml"
loaderVersion="[44,)"
loaderVersion="[43,)"
license="MIT License"
issueTrackerURL="https://github.com/Majrusz/MajruszsEnchantmentsMod/issues"

Expand All @@ -17,14 +17,14 @@ issueTrackerURL="https://github.com/Majrusz/MajruszsEnchantmentsMod/issues"
[[dependencies.majruszsenchantments]]
modId="forge"
mandatory=true
versionRange="[44.0.0,)"
versionRange="[43.2.0,)"
ordering="NONE"
side="BOTH"

[[dependencies.majruszsenchantments]]
modId="minecraft"
mandatory=true
versionRange="[1.19.3,1.20)"
versionRange="[1.19.2,1.20)"
ordering="NONE"
side="BOTH"

Expand Down

0 comments on commit dc92cd4

Please sign in to comment.