aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-09-18 00:41:27 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-09-18 00:41:27 +0200
commit562e32e83555119fd10385076906cb7f0a263dcb (patch)
tree56823457b8711929f9800e14b396b8918c73841e
parent536d8f9ae188824e0e613cef8bcbb61a5e63c9a5 (diff)
downloadparquet-562e32e83555119fd10385076906cb7f0a263dcb.tar.gz
-> Minecraft 1.16.3
update yarn 1.16.3+build.7
-rw-r--r--gradle.properties4
-rw-r--r--src/main/java/re/jag/parquet/commands/Calculator.java2
-rw-r--r--src/main/java/re/jag/parquet/commands/CameraMode.java2
-rw-r--r--src/main/java/re/jag/parquet/commands/Savedata.java2
-rw-r--r--src/main/java/re/jag/parquet/mixin/ServerPlayerEntityMixin.java5
5 files changed, 8 insertions, 7 deletions
diff --git a/gradle.properties b/gradle.properties
index 715347c..c6f6b6c 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,8 +1,8 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G
-minecraft_version=1.16.1
-yarn_mappings=1.16.1+build.21
+minecraft_version=1.16.3
+yarn_mappings=1.16.3+build.7
loader_version=0.9.3+build.207
# Mod Properties
diff --git a/src/main/java/re/jag/parquet/commands/Calculator.java b/src/main/java/re/jag/parquet/commands/Calculator.java
index 64b28a2..ee8bc53 100644
--- a/src/main/java/re/jag/parquet/commands/Calculator.java
+++ b/src/main/java/re/jag/parquet/commands/Calculator.java
@@ -6,7 +6,7 @@ import static net.minecraft.server.command.CommandManager.literal;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
-import net.minecraft.command.arguments.MessageArgumentType;
+import net.minecraft.command.argument.MessageArgumentType;
import net.minecraft.entity.Entity;
import net.minecraft.server.command.ServerCommandSource;
import net.minecraft.text.LiteralText;
diff --git a/src/main/java/re/jag/parquet/commands/CameraMode.java b/src/main/java/re/jag/parquet/commands/CameraMode.java
index 55f7687..5131915 100644
--- a/src/main/java/re/jag/parquet/commands/CameraMode.java
+++ b/src/main/java/re/jag/parquet/commands/CameraMode.java
@@ -6,7 +6,7 @@ import static net.minecraft.server.command.CommandManager.literal;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
-import net.minecraft.command.arguments.EntityArgumentType;
+import net.minecraft.command.argument.EntityArgumentType;
import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.network.packet.s2c.play.EntityVelocityUpdateS2CPacket;
diff --git a/src/main/java/re/jag/parquet/commands/Savedata.java b/src/main/java/re/jag/parquet/commands/Savedata.java
index 08bd46a..b0a2622 100644
--- a/src/main/java/re/jag/parquet/commands/Savedata.java
+++ b/src/main/java/re/jag/parquet/commands/Savedata.java
@@ -16,7 +16,7 @@ import com.mojang.authlib.GameProfile;
import net.minecraft.server.command.ServerCommandSource;
import net.minecraft.server.network.ServerPlayerEntity;
-import net.minecraft.command.arguments.ObjectiveArgumentType;
+import net.minecraft.command.argument.ObjectiveArgumentType;
import net.minecraft.scoreboard.ScoreboardObjective;
import net.minecraft.scoreboard.ScoreboardPlayerScore;
import net.minecraft.scoreboard.ServerScoreboard;
diff --git a/src/main/java/re/jag/parquet/mixin/ServerPlayerEntityMixin.java b/src/main/java/re/jag/parquet/mixin/ServerPlayerEntityMixin.java
index b1466f6..2a96568 100644
--- a/src/main/java/re/jag/parquet/mixin/ServerPlayerEntityMixin.java
+++ b/src/main/java/re/jag/parquet/mixin/ServerPlayerEntityMixin.java
@@ -1,5 +1,6 @@
package re.jag.parquet.mixin;
+import net.minecraft.server.network.ServerPlayerInteractionManager;
import net.minecraft.util.Identifier;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.registry.Registry;
@@ -25,8 +26,8 @@ import net.minecraft.nbt.Tag;
@Mixin(ServerPlayerEntity.class)
public abstract class ServerPlayerEntityMixin extends PlayerEntity implements CameraModeData{
- public ServerPlayerEntityMixin(World world, BlockPos pos, GameProfile profile) {
- super(world, pos, profile);
+ public ServerPlayerEntityMixin(World world, BlockPos pos, float yaw, GameProfile profile) {
+ super(world, pos, yaw, profile);
}
private double saved_x, saved_y, saved_z;