From a51337dda2daccf35f760b00042bb60cfb106c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=8F=E3=83=A0=E3=82=B9=E3=82=B1=20=E3=83=8F=E3=83=A0?= Date: Tue, 4 May 2021 19:50:06 +0900 Subject: [PATCH] 1.15.2 --- build.gradle | 7 ++++--- gradle.properties | 9 +++++---- .../flycommod/command/CommandEntityAbilities.java | 2 +- .../com/hamusuke/flycommod/command/CommandFlying.java | 2 +- src/main/resources/fabric.mod.json | 2 +- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 5d82db9..08c547e 100644 --- a/build.gradle +++ b/build.gradle @@ -19,11 +19,12 @@ repositories { } dependencies { - minecraft "com.mojang:minecraft:1.16.5" - mappings "net.fabricmc:yarn:1.16.5+build.8:v2" + minecraft "com.mojang:minecraft:1.15.2" + mappings "net.fabricmc:yarn:1.15.2+build.17:v2" modImplementation "net.fabricmc:fabric-loader:0.11.3" - modImplementation "net.fabricmc.fabric-api:fabric-api:0.34.0+1.16" + //Fabric api + modImplementation "net.fabricmc.fabric-api:fabric-api:0.28.5+1.15" } processResources { diff --git a/gradle.properties b/gradle.properties index 06e378e..914ba28 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,11 +1,12 @@ org.gradle.jvmargs=-Xmx1G - minecraft_version=1.16.5 - yarn_mappings=1.16.5+build.8 + minecraft_version=1.15.2 + yarn_mappings=1.15.2+build.17 loader_version=0.11.3 - fabric_version=0.34.0+1.16 + #Fabric api + fabric_version=0.28.5+1.15 - mod_version = 1.1 + mod_version = 1.0 maven_group = com.hamusuke archives_base_name = fly-command-mod \ No newline at end of file diff --git a/src/main/java/com/hamusuke/flycommod/command/CommandEntityAbilities.java b/src/main/java/com/hamusuke/flycommod/command/CommandEntityAbilities.java index 219dd63..2432c29 100644 --- a/src/main/java/com/hamusuke/flycommod/command/CommandEntityAbilities.java +++ b/src/main/java/com/hamusuke/flycommod/command/CommandEntityAbilities.java @@ -3,7 +3,7 @@ import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.arguments.BoolArgumentType; import com.mojang.brigadier.builder.LiteralArgumentBuilder; -import net.minecraft.command.argument.EntityArgumentType; +import net.minecraft.command.arguments.EntityArgumentType; import net.minecraft.entity.Entity; import net.minecraft.server.command.CommandManager; import net.minecraft.server.command.ServerCommandSource; diff --git a/src/main/java/com/hamusuke/flycommod/command/CommandFlying.java b/src/main/java/com/hamusuke/flycommod/command/CommandFlying.java index 22312a7..887277d 100644 --- a/src/main/java/com/hamusuke/flycommod/command/CommandFlying.java +++ b/src/main/java/com/hamusuke/flycommod/command/CommandFlying.java @@ -5,7 +5,7 @@ import com.mojang.brigadier.arguments.FloatArgumentType; import com.mojang.brigadier.builder.LiteralArgumentBuilder; import com.mojang.brigadier.context.CommandContext; -import net.minecraft.command.argument.EntityArgumentType; +import net.minecraft.command.arguments.EntityArgumentType; import net.minecraft.server.command.CommandManager; import net.minecraft.server.command.ServerCommandSource; import net.minecraft.server.network.ServerPlayerEntity; diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 806fbc3..057244f 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -21,7 +21,7 @@ "depends": { "fabricloader": ">=0.7.4", "fabric": "*", - "minecraft": "1.16.x" + "minecraft": "1.15.x" }, "suggests": { "another-mod": "*"