Get 1.7.10 working with source remapping

Requires changing the 'core' version to 1.8 before compiling
This commit is contained in:
Jonas Herzig
2019-04-24 16:43:17 +02:00
parent 2ee91515f7
commit 7cff2e0cf3
7 changed files with 28 additions and 14 deletions

View File

@@ -28,6 +28,7 @@ import net.minecraftforge.eventbus.api.SubscribeEvent;
//$$ import cpw.mods.fml.common.eventhandler.EventPriority;
//$$ import cpw.mods.fml.common.eventhandler.SubscribeEvent;
//$$ import net.minecraftforge.client.event.RenderPlayerEvent;
//$$ import java.util.stream.Collectors;
//#endif
import java.io.IOException;

View File

@@ -29,7 +29,7 @@ import net.minecraft.util.SoundEvent;
//#if MC>=10800
import net.minecraft.util.math.BlockPos;
//#else
//$$ import net.minecraft.util.math.MathHelper;
//$$ import net.minecraft.util.MathHelper;
//#endif
import java.util.Objects;
@@ -153,7 +153,7 @@ public class RecordingEventHandler {
//$$ // Note: this leaves the lastY value offset by the eye height but because it's only used for relative
//$$ // movement, that doesn't matter.
//$$ S18PacketEntityTeleport teleportPacket = new S18PacketEntityTeleport(e.player);
//$$ teleportPacket.field_149457_c = MathHelper.floor(e.player.boundingBox.minY * 32);
//$$ teleportPacket.field_149457_c = MathHelper.floor_double(e.player.boundingBox.minY * 32);
//$$ packet = teleportPacket;
//#endif
} else {