Commit 62eaf16e1d9d75ac6f59bb635e26cbb5b805daf1

Authored by Mumfrey
1 parent c8937f07

Quick and dirty update to 1.11.2

gradle.properties
@@ -5,6 +5,6 @@ description=LiteLoader @@ -5,6 +5,6 @@ description=LiteLoader
5 url=http://www.liteloader.com 5 url=http://www.liteloader.com
6 organization=LiteLoader 6 organization=LiteLoader
7 buildType=SNAPSHOT 7 buildType=SNAPSHOT
8 -buildVersion=1.11  
9 -mcVersion=1.11  
10 -mcMappings=snapshot_20161124  
11 \ No newline at end of file 8 \ No newline at end of file
  9 +buildVersion=1.11.2
  10 +mcVersion=1.11.2
  11 +mcMappings=snapshot_custom
12 \ No newline at end of file 12 \ No newline at end of file
src/client/java/com/mumfrey/liteloader/client/gui/modlist/GuiModInfoPanel.java
@@ -112,7 +112,7 @@ public class GuiModInfoPanel extends Gui @@ -112,7 +112,7 @@ public class GuiModInfoPanel extends Gui
112 112
113 private int drawText(int xPosition, int width, int yPos, String text, int colour) 113 private int drawText(int xPosition, int width, int yPos, String text, int colour)
114 { 114 {
115 - int totalHeight = this.fontRenderer.splitStringWidth(text, width); 115 + int totalHeight = this.fontRenderer.getWordWrappedHeight(text, width);
116 this.fontRenderer.drawSplitString(text, xPosition, yPos, width, colour); 116 this.fontRenderer.drawSplitString(text, xPosition, yPos, width, colour);
117 return totalHeight; 117 return totalHeight;
118 } 118 }
src/client/java/com/mumfrey/liteloader/client/mixin/MixinEntityRenderer.java
@@ -123,11 +123,11 @@ public abstract class MixinEntityRenderer implements IEntityRenderer @@ -123,11 +123,11 @@ public abstract class MixinEntityRenderer implements IEntityRenderer
123 ClientProxy.postRenderEntities(pass, partialTicks, timeSlice); 123 ClientProxy.postRenderEntities(pass, partialTicks, timeSlice);
124 } 124 }
125 125
126 - @Inject(method = "renderCloudsCheck(Lnet/minecraft/client/renderer/RenderGlobal;FI)V", at = @At( 126 + @Inject(method = "renderCloudsCheck(Lnet/minecraft/client/renderer/RenderGlobal;FIDDD)V", at = @At(
127 value = "INVOKE", 127 value = "INVOKE",
128 target = "Lnet/minecraft/profiler/Profiler;endStartSection(Ljava/lang/String;)V" 128 target = "Lnet/minecraft/profiler/Profiler;endStartSection(Ljava/lang/String;)V"
129 )) 129 ))
130 - private void onRenderClouds(RenderGlobal renderGlobalIn, float partialTicks, int pass, CallbackInfo ci) 130 + private void onRenderClouds(RenderGlobal renderGlobalIn, float partialTicks, int pass, double x, double y, double z, CallbackInfo ci)
131 { 131 {
132 ClientProxy.onRenderClouds(renderGlobalIn, partialTicks, pass); 132 ClientProxy.onRenderClouds(renderGlobalIn, partialTicks, pass);
133 } 133 }
src/main/java/com/mumfrey/liteloader/core/LiteLoaderVersion.java
@@ -12,7 +12,7 @@ import java.util.Set; @@ -12,7 +12,7 @@ import java.util.Set;
12 * LiteLoader version table 12 * LiteLoader version table
13 * 13 *
14 * @author Adam Mummery-Smith 14 * @author Adam Mummery-Smith
15 - * @version 1.11.0_00 15 + * @version 1.11.2_00
16 */ 16 */
17 public enum LiteLoaderVersion 17 public enum LiteLoaderVersion
18 { 18 {
@@ -49,12 +49,13 @@ public enum LiteLoaderVersion @@ -49,12 +49,13 @@ public enum LiteLoaderVersion
49 MC_1_9_4_R0(36, 1479472002, "1.9.4", "1.9.4", "1.9.4"), 49 MC_1_9_4_R0(36, 1479472002, "1.9.4", "1.9.4", "1.9.4"),
50 MC_1_10_R0(37, 0, "1.10", "1.10", "1.10", "1.10.0", "1.10.r1"), 50 MC_1_10_R0(37, 0, "1.10", "1.10", "1.10", "1.10.0", "1.10.r1"),
51 MC_1_10_2_R0(38, 1479473570, "1.10.2", "1.10.2", "1.10.2", "1.10.r1"), 51 MC_1_10_2_R0(38, 1479473570, "1.10.2", "1.10.2", "1.10.2", "1.10.r1"),
52 - MC_1_11_0_R0(39, 0, "1.11", "1.11", "1.11", "1.11.0", "1.11.r1"); 52 + MC_1_11_0_R0(39, 0, "1.11", "1.11", "1.11", "1.11.0", "1.11.r1"),
  53 + MC_1_11_2_R0(40, 0, "1.11.2", "1.11.2", "1.11.2", "1.11.r2");
53 54
54 /** 55 /**
55 * Current loader version 56 * Current loader version
56 */ 57 */
57 - public static final LiteLoaderVersion CURRENT = LiteLoaderVersion.MC_1_11_0_R0; 58 + public static final LiteLoaderVersion CURRENT = LiteLoaderVersion.MC_1_11_2_R0;
58 59
59 private static final LiteLoaderUpdateSite updateSite = new LiteLoaderUpdateSite(LiteLoaderVersion.CURRENT.getMinecraftVersion(), 60 private static final LiteLoaderUpdateSite updateSite = new LiteLoaderUpdateSite(LiteLoaderVersion.CURRENT.getMinecraftVersion(),
60 LiteLoaderVersion.CURRENT.getReleaseTimestamp()); 61 LiteLoaderVersion.CURRENT.getReleaseTimestamp());
src/main/java/com/mumfrey/liteloader/core/runtime/Obf.java
@@ -14,7 +14,7 @@ import java.util.Map; @@ -14,7 +14,7 @@ import java.util.Map;
14 * Centralised obfuscation table for LiteLoader 14 * Centralised obfuscation table for LiteLoader
15 * 15 *
16 * @author Adam Mummery-Smith 16 * @author Adam Mummery-Smith
17 - * TODO Obfuscation 1.11 17 + * TODO Obfuscation 1.11.2
18 */ 18 */
19 public class Obf 19 public class Obf
20 { 20 {
@@ -40,14 +40,14 @@ public class Obf @@ -40,14 +40,14 @@ public class Obf
40 40
41 // Classes 41 // Classes
42 // ----------------------------------------------------------------------------------------- 42 // -----------------------------------------------------------------------------------------
43 - public static final Obf Minecraft = new Obf("net.minecraft.client.Minecraft", "beq" );  
44 - public static final Obf EntityRenderer = new Obf("net.minecraft.client.renderer.EntityRenderer", "bqc" );  
45 - public static final Obf Blocks = new Obf("net.minecraft.init.Blocks", "alt" ); 43 + public static final Obf Minecraft = new Obf("net.minecraft.client.Minecraft", "bes" );
  44 + public static final Obf EntityRenderer = new Obf("net.minecraft.client.renderer.EntityRenderer", "bqe" );
  45 + public static final Obf Blocks = new Obf("net.minecraft.init.Blocks", "alv" );
46 public static final Obf CrashReport$6 = new Obf("net.minecraft.crash.CrashReport$6", "b$6" ); 46 public static final Obf CrashReport$6 = new Obf("net.minecraft.crash.CrashReport$6", "b$6" );
47 public static final Obf INetHandler = new Obf("net.minecraft.network.INetHandler", "ew" ); 47 public static final Obf INetHandler = new Obf("net.minecraft.network.INetHandler", "ew" );
48 - public static final Obf Items = new Obf("net.minecraft.init.Items", "afk" ); 48 + public static final Obf Items = new Obf("net.minecraft.init.Items", "afl" );
49 public static final Obf Profiler = new Obf("net.minecraft.profiler.Profiler", "ou" ); 49 public static final Obf Profiler = new Obf("net.minecraft.profiler.Profiler", "ou" );
50 - public static final Obf TileEntity = new Obf("net.minecraft.tileentity.TileEntity", "asa" ); 50 + public static final Obf TileEntity = new Obf("net.minecraft.tileentity.TileEntity", "asc" );
51 51
52 // Methods 52 // Methods
53 // ----------------------------------------------------------------------------------------- 53 // -----------------------------------------------------------------------------------------
src/main/java/com/mumfrey/liteloader/core/runtime/Packets.java
@@ -12,7 +12,7 @@ import java.util.Map; @@ -12,7 +12,7 @@ import java.util.Map;
12 * Packet obfuscation table 12 * Packet obfuscation table
13 * 13 *
14 * @author Adam Mummery-Smith 14 * @author Adam Mummery-Smith
15 - * TODO Obfuscation 1.11 15 + * TODO Obfuscation 1.11.2
16 */ 16 */
17 public final class Packets extends Obf 17 public final class Packets extends Obf
18 { 18 {
@@ -37,123 +37,123 @@ public final class Packets extends Obf @@ -37,123 +37,123 @@ public final class Packets extends Obf
37 37
38 private static Map<String, Packets> packetMap = new HashMap<String, Packets>(); 38 private static Map<String, Packets> packetMap = new HashMap<String, Packets>();
39 39
40 - public static Packets C00Handshake = new Packets("net/minecraft/network/handshake/client/C00Handshake", "jp", Context.SERVER);  
41 - public static Packets CPacketEncryptionResponse = new Packets("net/minecraft/network/login/client/CPacketEncryptionResponse", "jz", Context.SERVER);  
42 - public static Packets CPacketLoginStart = new Packets("net/minecraft/network/login/client/CPacketLoginStart", "jy", Context.SERVER);  
43 - public static Packets SPacketDisconnectLogin = new Packets("net/minecraft/network/login/server/SPacketDisconnect", "jw", Context.CLIENT);  
44 - public static Packets SPacketEnableCompression = new Packets("net/minecraft/network/login/server/SPacketEnableCompression", "jv", Context.CLIENT);  
45 - public static Packets SPacketEncryptionRequest = new Packets("net/minecraft/network/login/server/SPacketEncryptionRequest", "ju", Context.CLIENT);  
46 - public static Packets SPacketLoginSuccess = new Packets("net/minecraft/network/login/server/SPacketLoginSuccess", "jt", Context.CLIENT);  
47 - public static Packets CPacketAnimation = new Packets("net/minecraft/network/play/client/CPacketAnimation", "jk", Context.SERVER);  
48 - public static Packets CPacketChatMessage = new Packets("net/minecraft/network/play/client/CPacketChatMessage", "ip", Context.SERVER);  
49 - public static Packets CPacketClickWindow = new Packets("net/minecraft/network/play/client/CPacketClickWindow", "iu", Context.SERVER);  
50 - public static Packets CPacketClientSettings = new Packets("net/minecraft/network/play/client/CPacketClientSettings", "ir", Context.SERVER);  
51 - public static Packets CPacketClientStatus = new Packets("net/minecraft/network/play/client/CPacketClientStatus", "iq", Context.SERVER);  
52 - public static Packets CPacketCloseWindow = new Packets("net/minecraft/network/play/client/CPacketCloseWindow", "iv", Context.SERVER);  
53 - public static Packets CPacketConfirmTeleport = new Packets("net/minecraft/network/play/client/CPacketConfirmTeleport", "in", Context.SERVER);  
54 - public static Packets CPacketConfirmTransaction = new Packets("net/minecraft/network/play/client/CPacketConfirmTransaction", "is", Context.SERVER);  
55 - public static Packets CPacketCreativeInventoryAction = new Packets("net/minecraft/network/play/client/CPacketCreativeInventoryAction", "ji", Context.SERVER);  
56 - public static Packets CPacketCustomPayload = new Packets("net/minecraft/network/play/client/CPacketCustomPayload", "iw", Context.SERVER);  
57 - public static Packets CPacketEnchantItem = new Packets("net/minecraft/network/play/client/CPacketEnchantItem", "it", Context.SERVER);  
58 - public static Packets CPacketEntityAction = new Packets("net/minecraft/network/play/client/CPacketEntityAction", "je", Context.SERVER);  
59 - public static Packets CPacketHeldItemChange = new Packets("net/minecraft/network/play/client/CPacketHeldItemChange", "jh", Context.SERVER);  
60 - public static Packets CPacketInput = new Packets("net/minecraft/network/play/client/CPacketInput", "jf", Context.SERVER);  
61 - public static Packets CPacketKeepAlive = new Packets("net/minecraft/network/play/client/CPacketKeepAlive", "iy", Context.SERVER);  
62 - public static Packets CPacketPlayer = new Packets("net/minecraft/network/play/client/CPacketPlayer", "iz", Context.SERVER);  
63 - public static Packets CPacketPlayerPosition = new Packets("net/minecraft/network/play/client/CPacketPlayer$Position", "iz$a", Context.SERVER);  
64 - public static Packets CPacketPlayerPositionRotation = new Packets("net/minecraft/network/play/client/CPacketPlayer$PositionRotation", "iz$b", Context.SERVER);  
65 - public static Packets CPacketPlayerRotation = new Packets("net/minecraft/network/play/client/CPacketPlayer$Rotation", "iz$c", Context.SERVER);  
66 - public static Packets CPacketPlayerAbilities = new Packets("net/minecraft/network/play/client/CPacketPlayerAbilities", "jc", Context.SERVER);  
67 - public static Packets CPacketPlayerDigging = new Packets("net/minecraft/network/play/client/CPacketPlayerDigging", "jd", Context.SERVER);  
68 - public static Packets CPacketPlayerTryUseItem = new Packets("net/minecraft/network/play/client/CPacketPlayerTryUseItem", "jn", Context.SERVER);  
69 - public static Packets CPacketPlayerTryUseItemOnBlock = new Packets("net/minecraft/network/play/client/CPacketPlayerTryUseItemOnBlock", "jm", Context.SERVER);  
70 - public static Packets CPacketResourcePackStatus = new Packets("net/minecraft/network/play/client/CPacketResourcePackStatus", "jg", Context.SERVER);  
71 - public static Packets CPacketSpectate = new Packets("net/minecraft/network/play/client/CPacketSpectate", "jl", Context.SERVER);  
72 - public static Packets CPacketSteerBoat = new Packets("net/minecraft/network/play/client/CPacketSteerBoat", "jb", Context.SERVER);  
73 - public static Packets CPacketTabComplete = new Packets("net/minecraft/network/play/client/CPacketTabComplete", "io", Context.SERVER);  
74 - public static Packets CPacketUpdateSign = new Packets("net/minecraft/network/play/client/CPacketUpdateSign", "jj", Context.SERVER);  
75 - public static Packets CPacketUseEntity = new Packets("net/minecraft/network/play/client/CPacketUseEntity", "ix", Context.SERVER);  
76 - public static Packets CPacketVehicleMove = new Packets("net/minecraft/network/play/client/CPacketVehicleMove", "ja", Context.SERVER);  
77 - public static Packets SPacketAnimation = new Packets("net/minecraft/network/play/server/SPacketAnimation", "fw", Context.CLIENT);  
78 - public static Packets SPacketBlockAction = new Packets("net/minecraft/network/play/server/SPacketBlockAction", "ga", Context.CLIENT);  
79 - public static Packets SPacketBlockBreakAnim = new Packets("net/minecraft/network/play/server/SPacketBlockBreakAnim", "fy", Context.CLIENT);  
80 - public static Packets SPacketBlockChange = new Packets("net/minecraft/network/play/server/SPacketBlockChange", "gb", Context.CLIENT);  
81 - public static Packets SPacketCamera = new Packets("net/minecraft/network/play/server/SPacketCamera", "hp", Context.CLIENT);  
82 - public static Packets SPacketChangeGameState = new Packets("net/minecraft/network/play/server/SPacketChangeGameState", "gu", Context.CLIENT);  
83 - public static Packets SPacketChat = new Packets("net/minecraft/network/play/server/SPacketChat", "gf", Context.CLIENT);  
84 - public static Packets SPacketChunkData = new Packets("net/minecraft/network/play/server/SPacketChunkData", "gw", Context.CLIENT);  
85 - public static Packets SPacketCloseWindow = new Packets("net/minecraft/network/play/server/SPacketCloseWindow", "gi", Context.CLIENT);  
86 - public static Packets SPacketCollectItem = new Packets("net/minecraft/network/play/server/SPacketCollectItem", "ii", Context.CLIENT);  
87 - public static Packets SPacketCombatEvent = new Packets("net/minecraft/network/play/server/SPacketCombatEvent", "hf", Context.CLIENT);  
88 - public static Packets SPacketConfirmTransaction = new Packets("net/minecraft/network/play/server/SPacketConfirmTransaction", "gh", Context.CLIENT);  
89 - public static Packets SPacketCooldown = new Packets("net/minecraft/network/play/server/SPacketCooldown", "gn", Context.CLIENT);  
90 - public static Packets SPacketCustomPayload = new Packets("net/minecraft/network/play/server/SPacketCustomPayload", "go", Context.CLIENT);  
91 - public static Packets SPacketCustomSound = new Packets("net/minecraft/network/play/server/SPacketCustomSound", "gp", Context.CLIENT);  
92 - public static Packets SPacketDestroyEntities = new Packets("net/minecraft/network/play/server/SPacketDestroyEntities", "hj", Context.CLIENT);  
93 - public static Packets SPacketDisconnect = new Packets("net/minecraft/network/play/server/SPacketDisconnect", "gq", Context.CLIENT);  
94 - public static Packets SPacketDisplayObjective = new Packets("net/minecraft/network/play/server/SPacketDisplayObjective", "hr", Context.CLIENT);  
95 - public static Packets SPacketEffect = new Packets("net/minecraft/network/play/server/SPacketEffect", "gx", Context.CLIENT);  
96 - public static Packets SPacketEntity = new Packets("net/minecraft/network/play/server/SPacketEntity", "hb", Context.CLIENT);  
97 - public static Packets S15PacketEntityRelMove = new Packets("net/minecraft/network/play/server/SPacketEntity$S15PacketEntityRelMove", "hb$a", Context.CLIENT);  
98 - public static Packets S16PacketEntityLook = new Packets("net/minecraft/network/play/server/SPacketEntity$S16PacketEntityLook", "hb$c", Context.CLIENT);  
99 - public static Packets S17PacketEntityLookMove = new Packets("net/minecraft/network/play/server/SPacketEntity$S17PacketEntityLookMove", "hb$b", Context.CLIENT);  
100 - public static Packets SPacketEntityAttach = new Packets("net/minecraft/network/play/server/SPacketEntityAttach", "ht", Context.CLIENT);  
101 - public static Packets SPacketEntityEffect = new Packets("net/minecraft/network/play/server/SPacketEntityEffect", "il", Context.CLIENT);  
102 - public static Packets SPacketEntityEquipment = new Packets("net/minecraft/network/play/server/SPacketEntityEquipment", "hv", Context.CLIENT);  
103 - public static Packets SPacketEntityHeadLook = new Packets("net/minecraft/network/play/server/SPacketEntityHeadLook", "hn", Context.CLIENT);  
104 - public static Packets SPacketEntityMetadata = new Packets("net/minecraft/network/play/server/SPacketEntityMetadata", "hs", Context.CLIENT);  
105 - public static Packets SPacketEntityProperties = new Packets("net/minecraft/network/play/server/SPacketEntityProperties", "ik", Context.CLIENT);  
106 - public static Packets SPacketEntityStatus = new Packets("net/minecraft/network/play/server/SPacketEntityStatus", "gr", Context.CLIENT);  
107 - public static Packets SPacketEntityTeleport = new Packets("net/minecraft/network/play/server/SPacketEntityTeleport", "ij", Context.CLIENT);  
108 - public static Packets SPacketEntityVelocity = new Packets("net/minecraft/network/play/server/SPacketEntityVelocity", "hu", Context.CLIENT);  
109 - public static Packets SPacketExplosion = new Packets("net/minecraft/network/play/server/SPacketExplosion", "gs", Context.CLIENT);  
110 - public static Packets SPacketHeldItemChange = new Packets("net/minecraft/network/play/server/SPacketHeldItemChange", "hq", Context.CLIENT);  
111 - public static Packets SPacketJoinGame = new Packets("net/minecraft/network/play/server/SPacketJoinGame", "gz", Context.CLIENT);  
112 - public static Packets SPacketKeepAlive = new Packets("net/minecraft/network/play/server/SPacketKeepAlive", "gv", Context.CLIENT);  
113 - public static Packets SPacketMaps = new Packets("net/minecraft/network/play/server/SPacketMaps", "ha", Context.CLIENT);  
114 - public static Packets SPacketMoveVehicle = new Packets("net/minecraft/network/play/server/SPacketMoveVehicle", "hc", Context.CLIENT);  
115 - public static Packets SPacketMultiBlockChange = new Packets("net/minecraft/network/play/server/SPacketMultiBlockChange", "gg", Context.CLIENT);  
116 - public static Packets SPacketOpenWindow = new Packets("net/minecraft/network/play/server/SPacketOpenWindow", "gj", Context.CLIENT);  
117 - public static Packets SPacketParticles = new Packets("net/minecraft/network/play/server/SPacketParticles", "gy", Context.CLIENT);  
118 - public static Packets SPacketPlayerAbilities = new Packets("net/minecraft/network/play/server/SPacketPlayerAbilities", "he", Context.CLIENT);  
119 - public static Packets SPacketPlayerListHeaderFooter = new Packets("net/minecraft/network/play/server/SPacketPlayerListHeaderFooter", "ih", Context.CLIENT);  
120 - public static Packets SPacketPlayerListItem = new Packets("net/minecraft/network/play/server/SPacketPlayerListItem", "hg", Context.CLIENT);  
121 - public static Packets SPacketPlayerPosLook = new Packets("net/minecraft/network/play/server/SPacketPlayerPosLook", "hh", Context.CLIENT);  
122 - public static Packets SPacketRemoveEntityEffect = new Packets("net/minecraft/network/play/server/SPacketRemoveEntityEffect", "hk", Context.CLIENT);  
123 - public static Packets SPacketResourcePackSend = new Packets("net/minecraft/network/play/server/SPacketResourcePackSend", "hl", Context.CLIENT);  
124 - public static Packets SPacketRespawn = new Packets("net/minecraft/network/play/server/SPacketRespawn", "hm", Context.CLIENT);  
125 - public static Packets SPacketScoreboardObjective = new Packets("net/minecraft/network/play/server/SPacketScoreboardObjective", "hy", Context.CLIENT);  
126 - public static Packets SPacketServerDifficulty = new Packets("net/minecraft/network/play/server/SPacketServerDifficulty", "gd", Context.CLIENT);  
127 - public static Packets SPacketSetExperience = new Packets("net/minecraft/network/play/server/SPacketSetExperience", "hw", Context.CLIENT);  
128 - public static Packets SPacketSetPassengers = new Packets("net/minecraft/network/play/server/SPacketSetPassengers", "hz", Context.CLIENT);  
129 - public static Packets SPacketSetSlot = new Packets("net/minecraft/network/play/server/SPacketSetSlot", "gm", Context.CLIENT);  
130 - public static Packets SPacketSignEditorOpen = new Packets("net/minecraft/network/play/server/SPacketSignEditorOpen", "hd", Context.CLIENT);  
131 - public static Packets SPacketSoundEffect = new Packets("net/minecraft/network/play/server/SPacketSoundEffect", "ig", Context.CLIENT);  
132 - public static Packets SPacketSpawnExperienceOrb = new Packets("net/minecraft/network/play/server/SPacketSpawnExperienceOrb", "fr", Context.CLIENT);  
133 - public static Packets SPacketSpawnGlobalEntity = new Packets("net/minecraft/network/play/server/SPacketSpawnGlobalEntity", "fs", Context.CLIENT);  
134 - public static Packets SPacketSpawnMob = new Packets("net/minecraft/network/play/server/SPacketSpawnMob", "ft", Context.CLIENT);  
135 - public static Packets SPacketSpawnObject = new Packets("net/minecraft/network/play/server/SPacketSpawnObject", "fq", Context.CLIENT);  
136 - public static Packets SPacketSpawnPainting = new Packets("net/minecraft/network/play/server/SPacketSpawnPainting", "fu", Context.CLIENT);  
137 - public static Packets SPacketSpawnPlayer = new Packets("net/minecraft/network/play/server/SPacketSpawnPlayer", "fv", Context.CLIENT);  
138 - public static Packets SPacketSpawnPosition = new Packets("net/minecraft/network/play/server/SPacketSpawnPosition", "ic", Context.CLIENT);  
139 - public static Packets SPacketStatistics = new Packets("net/minecraft/network/play/server/SPacketStatistics", "fx", Context.CLIENT);  
140 - public static Packets SPacketTabComplete = new Packets("net/minecraft/network/play/server/SPacketTabComplete", "ge", Context.CLIENT);  
141 - public static Packets SPacketTeams = new Packets("net/minecraft/network/play/server/SPacketTeams", "ia", Context.CLIENT);  
142 - public static Packets SPacketTimeUpdate = new Packets("net/minecraft/network/play/server/SPacketTimeUpdate", "id", Context.CLIENT);  
143 - public static Packets SPacketTitle = new Packets("net/minecraft/network/play/server/SPacketTitle", "ie", Context.CLIENT);  
144 - public static Packets SPacketUnloadChunk = new Packets("net/minecraft/network/play/server/SPacketUnloadChunk", "gt", Context.CLIENT);  
145 - public static Packets SPacketUpdateBossInfo = new Packets("net/minecraft/network/play/server/SPacketUpdateBossInfo", "gc", Context.CLIENT);  
146 - public static Packets SPacketUpdateHealth = new Packets("net/minecraft/network/play/server/SPacketUpdateHealth", "hx", Context.CLIENT);  
147 - public static Packets SPacketUpdateScore = new Packets("net/minecraft/network/play/server/SPacketUpdateScore", "ib", Context.CLIENT);  
148 - public static Packets SPacketUpdateTileEntity = new Packets("net/minecraft/network/play/server/SPacketUpdateTileEntity", "fz", Context.CLIENT);  
149 - public static Packets SPacketUseBed = new Packets("net/minecraft/network/play/server/SPacketUseBed", "hi", Context.CLIENT);  
150 - public static Packets SPacketWindowItems = new Packets("net/minecraft/network/play/server/SPacketWindowItems", "gk", Context.CLIENT);  
151 - public static Packets SPacketWindowProperty = new Packets("net/minecraft/network/play/server/SPacketWindowProperty", "gl", Context.CLIENT);  
152 - public static Packets SPacketWorldBorder = new Packets("net/minecraft/network/play/server/SPacketWorldBorder", "ho", Context.CLIENT);  
153 - public static Packets CPacketPing = new Packets("net/minecraft/network/status/client/CPacketPing", "kh", Context.SERVER);  
154 - public static Packets CPacketServerQuery = new Packets("net/minecraft/network/status/client/CPacketServerQuery", "ki", Context.SERVER);  
155 - public static Packets SPacketPong = new Packets("net/minecraft/network/status/server/SPacketPong", "kd", Context.CLIENT);  
156 - public static Packets SPacketServerInfo = new Packets("net/minecraft/network/status/server/SPacketServerInfo", "ke", Context.CLIENT); 40 + public static Packets C00Handshake = new Packets("net/minecraft/network/handshake/client/C00Handshake", "jp", Context.SERVER);
  41 + public static Packets CPacketEncryptionResponse = new Packets("net/minecraft/network/login/client/CPacketEncryptionResponse", "jz", Context.SERVER);
  42 + public static Packets CPacketLoginStart = new Packets("net/minecraft/network/login/client/CPacketLoginStart", "jy", Context.SERVER);
  43 + public static Packets SPacketDisconnectLogin = new Packets("net/minecraft/network/login/server/SPacketDisconnect", "jw", Context.CLIENT);
  44 + public static Packets SPacketEnableCompression = new Packets("net/minecraft/network/login/server/SPacketEnableCompression", "jv", Context.CLIENT);
  45 + public static Packets SPacketEncryptionRequest = new Packets("net/minecraft/network/login/server/SPacketEncryptionRequest", "ju", Context.CLIENT);
  46 + public static Packets SPacketLoginSuccess = new Packets("net/minecraft/network/login/server/SPacketLoginSuccess", "jt", Context.CLIENT);
  47 + public static Packets CPacketAnimation = new Packets("net/minecraft/network/play/client/CPacketAnimation", "jk", Context.SERVER);
  48 + public static Packets CPacketChatMessage = new Packets("net/minecraft/network/play/client/CPacketChatMessage", "ip", Context.SERVER);
  49 + public static Packets CPacketClickWindow = new Packets("net/minecraft/network/play/client/CPacketClickWindow", "iu", Context.SERVER);
  50 + public static Packets CPacketClientSettings = new Packets("net/minecraft/network/play/client/CPacketClientSettings", "ir", Context.SERVER);
  51 + public static Packets CPacketClientStatus = new Packets("net/minecraft/network/play/client/CPacketClientStatus", "iq", Context.SERVER);
  52 + public static Packets CPacketCloseWindow = new Packets("net/minecraft/network/play/client/CPacketCloseWindow", "iv", Context.SERVER);
  53 + public static Packets CPacketConfirmTeleport = new Packets("net/minecraft/network/play/client/CPacketConfirmTeleport", "in", Context.SERVER);
  54 + public static Packets CPacketConfirmTransaction = new Packets("net/minecraft/network/play/client/CPacketConfirmTransaction", "is", Context.SERVER);
  55 + public static Packets CPacketCreativeInventoryAction = new Packets("net/minecraft/network/play/client/CPacketCreativeInventoryAction", "ji", Context.SERVER);
  56 + public static Packets CPacketCustomPayload = new Packets("net/minecraft/network/play/client/CPacketCustomPayload", "iw", Context.SERVER);
  57 + public static Packets CPacketEnchantItem = new Packets("net/minecraft/network/play/client/CPacketEnchantItem", "it", Context.SERVER);
  58 + public static Packets CPacketEntityAction = new Packets("net/minecraft/network/play/client/CPacketEntityAction", "je", Context.SERVER);
  59 + public static Packets CPacketHeldItemChange = new Packets("net/minecraft/network/play/client/CPacketHeldItemChange", "jh", Context.SERVER);
  60 + public static Packets CPacketInput = new Packets("net/minecraft/network/play/client/CPacketInput", "jf", Context.SERVER);
  61 + public static Packets CPacketKeepAlive = new Packets("net/minecraft/network/play/client/CPacketKeepAlive", "iy", Context.SERVER);
  62 + public static Packets CPacketPlayer = new Packets("net/minecraft/network/play/client/CPacketPlayer", "iz", Context.SERVER);
  63 + public static Packets CPacketPlayerPosition = new Packets("net/minecraft/network/play/client/CPacketPlayer$Position", "iz$a", Context.SERVER);
  64 + public static Packets CPacketPlayerPositionRotation = new Packets("net/minecraft/network/play/client/CPacketPlayer$PositionRotation", "iz$b", Context.SERVER);
  65 + public static Packets CPacketPlayerRotation = new Packets("net/minecraft/network/play/client/CPacketPlayer$Rotation", "iz$c", Context.SERVER);
  66 + public static Packets CPacketPlayerAbilities = new Packets("net/minecraft/network/play/client/CPacketPlayerAbilities", "jc", Context.SERVER);
  67 + public static Packets CPacketPlayerDigging = new Packets("net/minecraft/network/play/client/CPacketPlayerDigging", "jd", Context.SERVER);
  68 + public static Packets CPacketPlayerTryUseItem = new Packets("net/minecraft/network/play/client/CPacketPlayerTryUseItem", "jn", Context.SERVER);
  69 + public static Packets CPacketPlayerTryUseItemOnBlock = new Packets("net/minecraft/network/play/client/CPacketPlayerTryUseItemOnBlock", "jm", Context.SERVER);
  70 + public static Packets CPacketResourcePackStatus = new Packets("net/minecraft/network/play/client/CPacketResourcePackStatus", "jg", Context.SERVER);
  71 + public static Packets CPacketSpectate = new Packets("net/minecraft/network/play/client/CPacketSpectate", "jl", Context.SERVER);
  72 + public static Packets CPacketSteerBoat = new Packets("net/minecraft/network/play/client/CPacketSteerBoat", "jb", Context.SERVER);
  73 + public static Packets CPacketTabComplete = new Packets("net/minecraft/network/play/client/CPacketTabComplete", "io", Context.SERVER);
  74 + public static Packets CPacketUpdateSign = new Packets("net/minecraft/network/play/client/CPacketUpdateSign", "jj", Context.SERVER);
  75 + public static Packets CPacketUseEntity = new Packets("net/minecraft/network/play/client/CPacketUseEntity", "ix", Context.SERVER);
  76 + public static Packets CPacketVehicleMove = new Packets("net/minecraft/network/play/client/CPacketVehicleMove", "ja", Context.SERVER);
  77 + public static Packets SPacketAnimation = new Packets("net/minecraft/network/play/server/SPacketAnimation", "fw", Context.CLIENT);
  78 + public static Packets SPacketBlockAction = new Packets("net/minecraft/network/play/server/SPacketBlockAction", "ga", Context.CLIENT);
  79 + public static Packets SPacketBlockBreakAnim = new Packets("net/minecraft/network/play/server/SPacketBlockBreakAnim", "fy", Context.CLIENT);
  80 + public static Packets SPacketBlockChange = new Packets("net/minecraft/network/play/server/SPacketBlockChange", "gb", Context.CLIENT);
  81 + public static Packets SPacketCamera = new Packets("net/minecraft/network/play/server/SPacketCamera", "hp", Context.CLIENT);
  82 + public static Packets SPacketChangeGameState = new Packets("net/minecraft/network/play/server/SPacketChangeGameState", "gu", Context.CLIENT);
  83 + public static Packets SPacketChat = new Packets("net/minecraft/network/play/server/SPacketChat", "gf", Context.CLIENT);
  84 + public static Packets SPacketChunkData = new Packets("net/minecraft/network/play/server/SPacketChunkData", "gw", Context.CLIENT);
  85 + public static Packets SPacketCloseWindow = new Packets("net/minecraft/network/play/server/SPacketCloseWindow", "gi", Context.CLIENT);
  86 + public static Packets SPacketCollectItem = new Packets("net/minecraft/network/play/server/SPacketCollectItem", "ii", Context.CLIENT);
  87 + public static Packets SPacketCombatEvent = new Packets("net/minecraft/network/play/server/SPacketCombatEvent", "hf", Context.CLIENT);
  88 + public static Packets SPacketConfirmTransaction = new Packets("net/minecraft/network/play/server/SPacketConfirmTransaction", "gh", Context.CLIENT);
  89 + public static Packets SPacketCooldown = new Packets("net/minecraft/network/play/server/SPacketCooldown", "gn", Context.CLIENT);
  90 + public static Packets SPacketCustomPayload = new Packets("net/minecraft/network/play/server/SPacketCustomPayload", "go", Context.CLIENT);
  91 + public static Packets SPacketCustomSound = new Packets("net/minecraft/network/play/server/SPacketCustomSound", "gp", Context.CLIENT);
  92 + public static Packets SPacketDestroyEntities = new Packets("net/minecraft/network/play/server/SPacketDestroyEntities", "hj", Context.CLIENT);
  93 + public static Packets SPacketDisconnect = new Packets("net/minecraft/network/play/server/SPacketDisconnect", "gq", Context.CLIENT);
  94 + public static Packets SPacketDisplayObjective = new Packets("net/minecraft/network/play/server/SPacketDisplayObjective", "hr", Context.CLIENT);
  95 + public static Packets SPacketEffect = new Packets("net/minecraft/network/play/server/SPacketEffect", "gx", Context.CLIENT);
  96 + public static Packets SPacketEntity = new Packets("net/minecraft/network/play/server/SPacketEntity", "hb", Context.CLIENT);
  97 + public static Packets S15PacketEntityRelMove = new Packets("net/minecraft/network/play/server/SPacketEntity$S15PacketEntityRelMove", "hb$a", Context.CLIENT);
  98 + public static Packets S16PacketEntityLook = new Packets("net/minecraft/network/play/server/SPacketEntity$S16PacketEntityLook", "hb$c", Context.CLIENT);
  99 + public static Packets S17PacketEntityLookMove = new Packets("net/minecraft/network/play/server/SPacketEntity$S17PacketEntityLookMove", "hb$b", Context.CLIENT);
  100 + public static Packets SPacketEntityAttach = new Packets("net/minecraft/network/play/server/SPacketEntityAttach", "ht", Context.CLIENT);
  101 + public static Packets SPacketEntityEffect = new Packets("net/minecraft/network/play/server/SPacketEntityEffect", "il", Context.CLIENT);
  102 + public static Packets SPacketEntityEquipment = new Packets("net/minecraft/network/play/server/SPacketEntityEquipment", "hv", Context.CLIENT);
  103 + public static Packets SPacketEntityHeadLook = new Packets("net/minecraft/network/play/server/SPacketEntityHeadLook", "hn", Context.CLIENT);
  104 + public static Packets SPacketEntityMetadata = new Packets("net/minecraft/network/play/server/SPacketEntityMetadata", "hs", Context.CLIENT);
  105 + public static Packets SPacketEntityProperties = new Packets("net/minecraft/network/play/server/SPacketEntityProperties", "ik", Context.CLIENT);
  106 + public static Packets SPacketEntityStatus = new Packets("net/minecraft/network/play/server/SPacketEntityStatus", "gr", Context.CLIENT);
  107 + public static Packets SPacketEntityTeleport = new Packets("net/minecraft/network/play/server/SPacketEntityTeleport", "ij", Context.CLIENT);
  108 + public static Packets SPacketEntityVelocity = new Packets("net/minecraft/network/play/server/SPacketEntityVelocity", "hu", Context.CLIENT);
  109 + public static Packets SPacketExplosion = new Packets("net/minecraft/network/play/server/SPacketExplosion", "gs", Context.CLIENT);
  110 + public static Packets SPacketHeldItemChange = new Packets("net/minecraft/network/play/server/SPacketHeldItemChange", "hq", Context.CLIENT);
  111 + public static Packets SPacketJoinGame = new Packets("net/minecraft/network/play/server/SPacketJoinGame", "gz", Context.CLIENT);
  112 + public static Packets SPacketKeepAlive = new Packets("net/minecraft/network/play/server/SPacketKeepAlive", "gv", Context.CLIENT);
  113 + public static Packets SPacketMaps = new Packets("net/minecraft/network/play/server/SPacketMaps", "ha", Context.CLIENT);
  114 + public static Packets SPacketMoveVehicle = new Packets("net/minecraft/network/play/server/SPacketMoveVehicle", "hc", Context.CLIENT);
  115 + public static Packets SPacketMultiBlockChange = new Packets("net/minecraft/network/play/server/SPacketMultiBlockChange", "gg", Context.CLIENT);
  116 + public static Packets SPacketOpenWindow = new Packets("net/minecraft/network/play/server/SPacketOpenWindow", "gj", Context.CLIENT);
  117 + public static Packets SPacketParticles = new Packets("net/minecraft/network/play/server/SPacketParticles", "gy", Context.CLIENT);
  118 + public static Packets SPacketPlayerAbilities = new Packets("net/minecraft/network/play/server/SPacketPlayerAbilities", "he", Context.CLIENT);
  119 + public static Packets SPacketPlayerListHeaderFooter = new Packets("net/minecraft/network/play/server/SPacketPlayerListHeaderFooter", "ih", Context.CLIENT);
  120 + public static Packets SPacketPlayerListItem = new Packets("net/minecraft/network/play/server/SPacketPlayerListItem", "hg", Context.CLIENT);
  121 + public static Packets SPacketPlayerPosLook = new Packets("net/minecraft/network/play/server/SPacketPlayerPosLook", "hh", Context.CLIENT);
  122 + public static Packets SPacketRemoveEntityEffect = new Packets("net/minecraft/network/play/server/SPacketRemoveEntityEffect", "hk", Context.CLIENT);
  123 + public static Packets SPacketResourcePackSend = new Packets("net/minecraft/network/play/server/SPacketResourcePackSend", "hl", Context.CLIENT);
  124 + public static Packets SPacketRespawn = new Packets("net/minecraft/network/play/server/SPacketRespawn", "hm", Context.CLIENT);
  125 + public static Packets SPacketScoreboardObjective = new Packets("net/minecraft/network/play/server/SPacketScoreboardObjective", "hy", Context.CLIENT);
  126 + public static Packets SPacketServerDifficulty = new Packets("net/minecraft/network/play/server/SPacketServerDifficulty", "gd", Context.CLIENT);
  127 + public static Packets SPacketSetExperience = new Packets("net/minecraft/network/play/server/SPacketSetExperience", "hw", Context.CLIENT);
  128 + public static Packets SPacketSetPassengers = new Packets("net/minecraft/network/play/server/SPacketSetPassengers", "hz", Context.CLIENT);
  129 + public static Packets SPacketSetSlot = new Packets("net/minecraft/network/play/server/SPacketSetSlot", "gm", Context.CLIENT);
  130 + public static Packets SPacketSignEditorOpen = new Packets("net/minecraft/network/play/server/SPacketSignEditorOpen", "hd", Context.CLIENT);
  131 + public static Packets SPacketSoundEffect = new Packets("net/minecraft/network/play/server/SPacketSoundEffect", "ig", Context.CLIENT);
  132 + public static Packets SPacketSpawnExperienceOrb = new Packets("net/minecraft/network/play/server/SPacketSpawnExperienceOrb", "fr", Context.CLIENT);
  133 + public static Packets SPacketSpawnGlobalEntity = new Packets("net/minecraft/network/play/server/SPacketSpawnGlobalEntity", "fs", Context.CLIENT);
  134 + public static Packets SPacketSpawnMob = new Packets("net/minecraft/network/play/server/SPacketSpawnMob", "ft", Context.CLIENT);
  135 + public static Packets SPacketSpawnObject = new Packets("net/minecraft/network/play/server/SPacketSpawnObject", "fq", Context.CLIENT);
  136 + public static Packets SPacketSpawnPainting = new Packets("net/minecraft/network/play/server/SPacketSpawnPainting", "fu", Context.CLIENT);
  137 + public static Packets SPacketSpawnPlayer = new Packets("net/minecraft/network/play/server/SPacketSpawnPlayer", "fv", Context.CLIENT);
  138 + public static Packets SPacketSpawnPosition = new Packets("net/minecraft/network/play/server/SPacketSpawnPosition", "ic", Context.CLIENT);
  139 + public static Packets SPacketStatistics = new Packets("net/minecraft/network/play/server/SPacketStatistics", "fx", Context.CLIENT);
  140 + public static Packets SPacketTabComplete = new Packets("net/minecraft/network/play/server/SPacketTabComplete", "ge", Context.CLIENT);
  141 + public static Packets SPacketTeams = new Packets("net/minecraft/network/play/server/SPacketTeams", "ia", Context.CLIENT);
  142 + public static Packets SPacketTimeUpdate = new Packets("net/minecraft/network/play/server/SPacketTimeUpdate", "id", Context.CLIENT);
  143 + public static Packets SPacketTitle = new Packets("net/minecraft/network/play/server/SPacketTitle", "ie", Context.CLIENT);
  144 + public static Packets SPacketUnloadChunk = new Packets("net/minecraft/network/play/server/SPacketUnloadChunk", "gt", Context.CLIENT);
  145 + public static Packets SPacketUpdateBossInfo = new Packets("net/minecraft/network/play/server/SPacketUpdateBossInfo", "gc", Context.CLIENT);
  146 + public static Packets SPacketUpdateHealth = new Packets("net/minecraft/network/play/server/SPacketUpdateHealth", "hx", Context.CLIENT);
  147 + public static Packets SPacketUpdateScore = new Packets("net/minecraft/network/play/server/SPacketUpdateScore", "ib", Context.CLIENT);
  148 + public static Packets SPacketUpdateTileEntity = new Packets("net/minecraft/network/play/server/SPacketUpdateTileEntity", "fz", Context.CLIENT);
  149 + public static Packets SPacketUseBed = new Packets("net/minecraft/network/play/server/SPacketUseBed", "hi", Context.CLIENT);
  150 + public static Packets SPacketWindowItems = new Packets("net/minecraft/network/play/server/SPacketWindowItems", "gk", Context.CLIENT);
  151 + public static Packets SPacketWindowProperty = new Packets("net/minecraft/network/play/server/SPacketWindowProperty", "gl", Context.CLIENT);
  152 + public static Packets SPacketWorldBorder = new Packets("net/minecraft/network/play/server/SPacketWorldBorder", "ho", Context.CLIENT);
  153 + public static Packets CPacketPing = new Packets("net/minecraft/network/status/client/CPacketPing", "kh", Context.SERVER);
  154 + public static Packets CPacketServerQuery = new Packets("net/minecraft/network/status/client/CPacketServerQuery", "ki", Context.SERVER);
  155 + public static Packets SPacketPong = new Packets("net/minecraft/network/status/server/SPacketPong", "kd", Context.CLIENT);
  156 + public static Packets SPacketServerInfo = new Packets("net/minecraft/network/status/server/SPacketServerInfo", "ke", Context.CLIENT);
157 157
158 // CHECKSTYLE:ON 158 // CHECKSTYLE:ON
159 159
src/main/java/com/mumfrey/liteloader/launch/LiteLoaderTweaker.java
@@ -38,8 +38,8 @@ public class LiteLoaderTweaker implements ITweaker @@ -38,8 +38,8 @@ public class LiteLoaderTweaker implements ITweaker
38 public static final int ENV_TYPE_CLIENT = 0; 38 public static final int ENV_TYPE_CLIENT = 0;
39 public static final int ENV_TYPE_DEDICATEDSERVER = 1; 39 public static final int ENV_TYPE_DEDICATEDSERVER = 1;
40 40
41 - // TODO Version - 1.11  
42 - public static final String VERSION = "1.11"; 41 + // TODO Version - 1.11.2
  42 + public static final String VERSION = "1.11.2";
43 43
44 protected static final String bootstrapClassName = "com.mumfrey.liteloader.core.LiteLoaderBootstrap"; 44 protected static final String bootstrapClassName = "com.mumfrey.liteloader.core.LiteLoaderBootstrap";
45 45