Commit 0bc7907fc95b0fb51480524d2676d2303c63cbd3

Authored by Mumfrey
1 parent d25ab603

Update to 1.12.1

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.12  
9 -mcVersion=1.12  
10 -mcMappings=snapshot_20170627  
11 \ No newline at end of file 8 \ No newline at end of file
  9 +buildVersion=1.12.1
  10 +mcVersion=1.12.1
  11 +mcMappings=snapshot_20170804
12 \ No newline at end of file 12 \ No newline at end of file
src/main/java/com/mumfrey/liteloader/core/LiteLoaderVersion.java
@@ -51,12 +51,13 @@ public enum LiteLoaderVersion @@ -51,12 +51,13 @@ public enum LiteLoaderVersion
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 MC_1_11_2_R0(40, 0, "1.11.2", "1.11.2", "1.11.2", "1.11.r2"),
54 - MC_1_12_0_R0(41, 0, "1.12", "1.12", "1.12", "1.12.0", "1.12.r1"); 54 + MC_1_12_0_R0(41, 0, "1.12", "1.12", "1.12", "1.12.0", "1.12.r1"),
  55 + MC_1_12_1_R0(41, 0, "1.12.1", "1.12.1", "1.12.1", "1.12.r2");
55 56
56 /** 57 /**
57 * Current loader version 58 * Current loader version
58 */ 59 */
59 - public static final LiteLoaderVersion CURRENT = LiteLoaderVersion.MC_1_12_0_R0; 60 + public static final LiteLoaderVersion CURRENT = LiteLoaderVersion.MC_1_12_1_R0;
60 61
61 private static final LiteLoaderUpdateSite updateSite = new LiteLoaderUpdateSite(LiteLoaderVersion.CURRENT.getMinecraftVersion(), 62 private static final LiteLoaderUpdateSite updateSite = new LiteLoaderUpdateSite(LiteLoaderVersion.CURRENT.getMinecraftVersion(),
62 LiteLoaderVersion.CURRENT.getReleaseTimestamp()); 63 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.12 17 + * TODO Obfuscation 1.12.1
18 */ 18 */
19 public class Obf 19 public class Obf
20 { 20 {
@@ -37,14 +37,14 @@ public class Obf @@ -37,14 +37,14 @@ public class Obf
37 37
38 // Classes 38 // Classes
39 // ----------------------------------------------------------------------------------------- 39 // -----------------------------------------------------------------------------------------
40 - public static final Obf Minecraft = new Obf("net.minecraft.client.Minecraft", "bhz" );  
41 - public static final Obf EntityRenderer = new Obf("net.minecraft.client.renderer.EntityRenderer", "buo" );  
42 - public static final Obf Blocks = new Obf("net.minecraft.init.Blocks", "aov" ); 40 + public static final Obf Minecraft = new Obf("net.minecraft.client.Minecraft", "bib" );
  41 + public static final Obf EntityRenderer = new Obf("net.minecraft.client.renderer.EntityRenderer", "buq" );
  42 + public static final Obf Blocks = new Obf("net.minecraft.init.Blocks", "aox" );
43 public static final Obf CrashReport$6 = new Obf("net.minecraft.crash.CrashReport$6", "b$6" ); 43 public static final Obf CrashReport$6 = new Obf("net.minecraft.crash.CrashReport$6", "b$6" );
44 public static final Obf INetHandler = new Obf("net.minecraft.network.INetHandler", "hb" ); 44 public static final Obf INetHandler = new Obf("net.minecraft.network.INetHandler", "hb" );
45 - public static final Obf Items = new Obf("net.minecraft.init.Items", "aip" );  
46 - public static final Obf Profiler = new Obf("net.minecraft.profiler.Profiler", "rj" );  
47 - public static final Obf TileEntity = new Obf("net.minecraft.tileentity.TileEntity", "avh" ); 45 + public static final Obf Items = new Obf("net.minecraft.init.Items", "air" );
  46 + public static final Obf Profiler = new Obf("net.minecraft.profiler.Profiler", "rl" );
  47 + public static final Obf TileEntity = new Obf("net.minecraft.tileentity.TileEntity", "avj" );
48 48
49 // Methods 49 // Methods
50 // ----------------------------------------------------------------------------------------- 50 // -----------------------------------------------------------------------------------------
src/main/java/com/mumfrey/liteloader/core/runtime/Packets.java
@@ -13,7 +13,7 @@ import java.util.Map; @@ -13,7 +13,7 @@ import java.util.Map;
13 * Packet obfuscation table 13 * Packet obfuscation table
14 * 14 *
15 * @author Adam Mummery-Smith 15 * @author Adam Mummery-Smith
16 - * TODO Obfuscation 1.12 16 + * TODO Obfuscation 1.12.1
17 */ 17 */
18 public final class Packets extends Obf 18 public final class Packets extends Obf
19 { 19 {
@@ -38,129 +38,130 @@ public final class Packets extends Obf @@ -38,129 +38,130 @@ public final class Packets extends Obf
38 38
39 private static Map<String, Packets> packetMap = new HashMap<String, Packets>(); 39 private static Map<String, Packets> packetMap = new HashMap<String, Packets>();
40 40
41 - public static Packets C00Handshake = new Packets("net/minecraft/network/handshake/client/C00Handshake", "mc", Context.SERVER);  
42 - public static Packets CPacketEncryptionResponse = new Packets("net/minecraft/network/login/client/CPacketEncryptionResponse", "mm", Context.SERVER);  
43 - public static Packets CPacketLoginStart = new Packets("net/minecraft/network/login/client/CPacketLoginStart", "ml", Context.SERVER);  
44 - public static Packets SPacketDisconnectLogin = new Packets("net/minecraft/network/login/server/SPacketDisconnect", "mj", Context.CLIENT);  
45 - public static Packets SPacketEnableCompression = new Packets("net/minecraft/network/login/server/SPacketEnableCompression", "mi", Context.CLIENT);  
46 - public static Packets SPacketEncryptionRequest = new Packets("net/minecraft/network/login/server/SPacketEncryptionRequest", "mh", Context.CLIENT);  
47 - public static Packets SPacketLoginSuccess = new Packets("net/minecraft/network/login/server/SPacketLoginSuccess", "mg", Context.CLIENT);  
48 - public static Packets CPacketAnimation = new Packets("net/minecraft/network/play/client/CPacketAnimation", "lx", Context.SERVER);  
49 - public static Packets CPacketChatMessage = new Packets("net/minecraft/network/play/client/CPacketChatMessage", "la", Context.SERVER);  
50 - public static Packets CPacketClickWindow = new Packets("net/minecraft/network/play/client/CPacketClickWindow", "lf", Context.SERVER);  
51 - public static Packets CPacketClientSettings = new Packets("net/minecraft/network/play/client/CPacketClientSettings", "lc", Context.SERVER);  
52 - public static Packets CPacketClientStatus = new Packets("net/minecraft/network/play/client/CPacketClientStatus", "lb", Context.SERVER);  
53 - public static Packets CPacketCloseWindow = new Packets("net/minecraft/network/play/client/CPacketCloseWindow", "lg", Context.SERVER);  
54 - public static Packets CPacketConfirmTeleport = new Packets("net/minecraft/network/play/client/CPacketConfirmTeleport", "kx", Context.SERVER);  
55 - public static Packets CPacketConfirmTransaction = new Packets("net/minecraft/network/play/client/CPacketConfirmTransaction", "ld", Context.SERVER);  
56 - public static Packets CPacketCreativeInventoryAction = new Packets("net/minecraft/network/play/client/CPacketCreativeInventoryAction", "lv", Context.SERVER);  
57 - public static Packets CPacketCustomPayload = new Packets("net/minecraft/network/play/client/CPacketCustomPayload", "lh", Context.SERVER);  
58 - public static Packets CPacketEnchantItem = new Packets("net/minecraft/network/play/client/CPacketEnchantItem", "le", Context.SERVER);  
59 - public static Packets CPacketEntityAction = new Packets("net/minecraft/network/play/client/CPacketEntityAction", "lp", Context.SERVER);  
60 - public static Packets CPacketHeldItemChange = new Packets("net/minecraft/network/play/client/CPacketHeldItemChange", "lu", Context.SERVER);  
61 - public static Packets CPacketInput = new Packets("net/minecraft/network/play/client/CPacketInput", "lq", Context.SERVER);  
62 - public static Packets CPacketKeepAlive = new Packets("net/minecraft/network/play/client/CPacketKeepAlive", "lj", Context.SERVER);  
63 - public static Packets CPacketPlayer = new Packets("net/minecraft/network/play/client/CPacketPlayer", "lk", Context.SERVER);  
64 - public static Packets CPacketPlayerPosition = new Packets("net/minecraft/network/play/client/CPacketPlayer$Position", "lk$a", Context.SERVER);  
65 - public static Packets CPacketPlayerPositionRotation = new Packets("net/minecraft/network/play/client/CPacketPlayer$PositionRotation", "lk$b", Context.SERVER);  
66 - public static Packets CPacketPlayerRotation = new Packets("net/minecraft/network/play/client/CPacketPlayer$Rotation", "lk$c", Context.SERVER);  
67 - public static Packets CPacketPlayerAbilities = new Packets("net/minecraft/network/play/client/CPacketPlayerAbilities", "ln", Context.SERVER);  
68 - public static Packets CPacketPlayerDigging = new Packets("net/minecraft/network/play/client/CPacketPlayerDigging", "lo", Context.SERVER);  
69 - public static Packets CPacketPlayerTryUseItem = new Packets("net/minecraft/network/play/client/CPacketPlayerTryUseItem", "ma", Context.SERVER);  
70 - public static Packets CPacketPlayerTryUseItemOnBlock = new Packets("net/minecraft/network/play/client/CPacketPlayerTryUseItemOnBlock", "lz", Context.SERVER);  
71 - public static Packets CPacketRecipeInfo = new Packets("net/minecraft/network/play/client/CPacketRecipeInfo", "lr", Context.SERVER);  
72 - public static Packets CPacketRecipePlacement = new Packets("net/minecraft/network/play/client/CPacketRecipePlacement", "ky", Context.SERVER);  
73 - public static Packets CPacketResourcePackStatus = new Packets("net/minecraft/network/play/client/CPacketResourcePackStatus", "ls", Context.SERVER);  
74 - public static Packets CPacketSeenAdvancements = new Packets("net/minecraft/network/play/client/CPacketSeenAdvancements", "lt", Context.SERVER);  
75 - public static Packets CPacketSpectate = new Packets("net/minecraft/network/play/client/CPacketSpectate", "ly", Context.SERVER);  
76 - public static Packets CPacketSteerBoat = new Packets("net/minecraft/network/play/client/CPacketSteerBoat", "lm", Context.SERVER);  
77 - public static Packets CPacketTabComplete = new Packets("net/minecraft/network/play/client/CPacketTabComplete", "kz", Context.SERVER);  
78 - public static Packets CPacketUpdateSign = new Packets("net/minecraft/network/play/client/CPacketUpdateSign", "lw", Context.SERVER);  
79 - public static Packets CPacketUseEntity = new Packets("net/minecraft/network/play/client/CPacketUseEntity", "li", Context.SERVER);  
80 - public static Packets CPacketVehicleMove = new Packets("net/minecraft/network/play/client/CPacketVehicleMove", "ll", Context.SERVER);  
81 - public static Packets SPacketAdvancementInfo = new Packets("net/minecraft/network/play/server/SPacketAdvancementInfo", "kt", Context.CLIENT);  
82 - public static Packets SPacketAnimation = new Packets("net/minecraft/network/play/server/SPacketAnimation", "id", Context.CLIENT);  
83 - public static Packets SPacketBlockAction = new Packets("net/minecraft/network/play/server/SPacketBlockAction", "ii", Context.CLIENT);  
84 - public static Packets SPacketBlockBreakAnim = new Packets("net/minecraft/network/play/server/SPacketBlockBreakAnim", "ig", Context.CLIENT);  
85 - public static Packets SPacketBlockChange = new Packets("net/minecraft/network/play/server/SPacketBlockChange", "ij", Context.CLIENT);  
86 - public static Packets SPacketCamera = new Packets("net/minecraft/network/play/server/SPacketCamera", "jz", Context.CLIENT);  
87 - public static Packets SPacketChangeGameState = new Packets("net/minecraft/network/play/server/SPacketChangeGameState", "jc", Context.CLIENT);  
88 - public static Packets SPacketChat = new Packets("net/minecraft/network/play/server/SPacketChat", "in", Context.CLIENT);  
89 - public static Packets SPacketChunkData = new Packets("net/minecraft/network/play/server/SPacketChunkData", "je", Context.CLIENT);  
90 - public static Packets SPacketCloseWindow = new Packets("net/minecraft/network/play/server/SPacketCloseWindow", "iq", Context.CLIENT);  
91 - public static Packets SPacketCollectItem = new Packets("net/minecraft/network/play/server/SPacketCollectItem", "kr", Context.CLIENT);  
92 - public static Packets SPacketCombatEvent = new Packets("net/minecraft/network/play/server/SPacketCombatEvent", "jn", Context.CLIENT);  
93 - public static Packets SPacketConfirmTransaction = new Packets("net/minecraft/network/play/server/SPacketConfirmTransaction", "ip", Context.CLIENT);  
94 - public static Packets SPacketCooldown = new Packets("net/minecraft/network/play/server/SPacketCooldown", "iv", Context.CLIENT);  
95 - public static Packets SPacketCustomPayload = new Packets("net/minecraft/network/play/server/SPacketCustomPayload", "iw", Context.CLIENT);  
96 - public static Packets SPacketCustomSound = new Packets("net/minecraft/network/play/server/SPacketCustomSound", "ix", Context.CLIENT);  
97 - public static Packets SPacketDestroyEntities = new Packets("net/minecraft/network/play/server/SPacketDestroyEntities", "js", Context.CLIENT);  
98 - public static Packets SPacketDisconnect = new Packets("net/minecraft/network/play/server/SPacketDisconnect", "iy", Context.CLIENT);  
99 - public static Packets SPacketDisplayObjective = new Packets("net/minecraft/network/play/server/SPacketDisplayObjective", "kb", Context.CLIENT);  
100 - public static Packets SPacketEffect = new Packets("net/minecraft/network/play/server/SPacketEffect", "jf", Context.CLIENT);  
101 - public static Packets SPacketEntity = new Packets("net/minecraft/network/play/server/SPacketEntity", "jj", Context.CLIENT);  
102 - public static Packets S15PacketEntityRelMove = new Packets("net/minecraft/network/play/server/SPacketEntity$S15PacketEntityRelMove", "jj$a", Context.CLIENT);  
103 - public static Packets S16PacketEntityLook = new Packets("net/minecraft/network/play/server/SPacketEntity$S16PacketEntityLook", "jj$c", Context.CLIENT);  
104 - public static Packets S17PacketEntityLookMove = new Packets("net/minecraft/network/play/server/SPacketEntity$S17PacketEntityLookMove", "jj$b", Context.CLIENT);  
105 - public static Packets SPacketEntityAttach = new Packets("net/minecraft/network/play/server/SPacketEntityAttach", "kd", Context.CLIENT);  
106 - public static Packets SPacketEntityEffect = new Packets("net/minecraft/network/play/server/SPacketEntityEffect", "kv", Context.CLIENT);  
107 - public static Packets SPacketEntityEquipment = new Packets("net/minecraft/network/play/server/SPacketEntityEquipment", "kf", Context.CLIENT);  
108 - public static Packets SPacketEntityHeadLook = new Packets("net/minecraft/network/play/server/SPacketEntityHeadLook", "jw", Context.CLIENT);  
109 - public static Packets SPacketEntityMetadata = new Packets("net/minecraft/network/play/server/SPacketEntityMetadata", "kc", Context.CLIENT);  
110 - public static Packets SPacketEntityProperties = new Packets("net/minecraft/network/play/server/SPacketEntityProperties", "ku", Context.CLIENT);  
111 - public static Packets SPacketEntityStatus = new Packets("net/minecraft/network/play/server/SPacketEntityStatus", "iz", Context.CLIENT);  
112 - public static Packets SPacketEntityTeleport = new Packets("net/minecraft/network/play/server/SPacketEntityTeleport", "ks", Context.CLIENT);  
113 - public static Packets SPacketEntityVelocity = new Packets("net/minecraft/network/play/server/SPacketEntityVelocity", "ke", Context.CLIENT);  
114 - public static Packets SPacketExplosion = new Packets("net/minecraft/network/play/server/SPacketExplosion", "ja", Context.CLIENT);  
115 - public static Packets SPacketHeldItemChange = new Packets("net/minecraft/network/play/server/SPacketHeldItemChange", "ka", Context.CLIENT);  
116 - public static Packets SPacketJoinGame = new Packets("net/minecraft/network/play/server/SPacketJoinGame", "jh", Context.CLIENT);  
117 - public static Packets SPacketKeepAlive = new Packets("net/minecraft/network/play/server/SPacketKeepAlive", "jd", Context.CLIENT);  
118 - public static Packets SPacketMaps = new Packets("net/minecraft/network/play/server/SPacketMaps", "ji", Context.CLIENT);  
119 - public static Packets SPacketMoveVehicle = new Packets("net/minecraft/network/play/server/SPacketMoveVehicle", "jk", Context.CLIENT);  
120 - public static Packets SPacketMultiBlockChange = new Packets("net/minecraft/network/play/server/SPacketMultiBlockChange", "io", Context.CLIENT);  
121 - public static Packets SPacketOpenWindow = new Packets("net/minecraft/network/play/server/SPacketOpenWindow", "ir", Context.CLIENT);  
122 - public static Packets SPacketParticles = new Packets("net/minecraft/network/play/server/SPacketParticles", "jg", Context.CLIENT);  
123 - public static Packets SPacketPlayerAbilities = new Packets("net/minecraft/network/play/server/SPacketPlayerAbilities", "jm", Context.CLIENT);  
124 - public static Packets SPacketPlayerListHeaderFooter = new Packets("net/minecraft/network/play/server/SPacketPlayerListHeaderFooter", "kq", Context.CLIENT);  
125 - public static Packets SPacketPlayerListItem = new Packets("net/minecraft/network/play/server/SPacketPlayerListItem", "jo", Context.CLIENT);  
126 - public static Packets SPacketPlayerPosLook = new Packets("net/minecraft/network/play/server/SPacketPlayerPosLook", "jp", Context.CLIENT);  
127 - public static Packets SPacketRecipeBook = new Packets("net/minecraft/network/play/server/SPacketRecipeBook", "jr", Context.CLIENT);  
128 - public static Packets SPacketRemoveEntityEffect = new Packets("net/minecraft/network/play/server/SPacketRemoveEntityEffect", "jt", Context.CLIENT);  
129 - public static Packets SPacketResourcePackSend = new Packets("net/minecraft/network/play/server/SPacketResourcePackSend", "ju", Context.CLIENT);  
130 - public static Packets SPacketRespawn = new Packets("net/minecraft/network/play/server/SPacketRespawn", "jv", Context.CLIENT);  
131 - public static Packets SPacketScoreboardObjective = new Packets("net/minecraft/network/play/server/SPacketScoreboardObjective", "ki", Context.CLIENT);  
132 - public static Packets SPacketSelectAdvancementsTab = new Packets("net/minecraft/network/play/server/SPacketSelectAdvancementsTab", "jx", Context.CLIENT);  
133 - public static Packets SPacketServerDifficulty = new Packets("net/minecraft/network/play/server/SPacketServerDifficulty", "il", Context.CLIENT);  
134 - public static Packets SPacketSetExperience = new Packets("net/minecraft/network/play/server/SPacketSetExperience", "kg", Context.CLIENT);  
135 - public static Packets SPacketSetPassengers = new Packets("net/minecraft/network/play/server/SPacketSetPassengers", "kj", Context.CLIENT);  
136 - public static Packets SPacketSetSlot = new Packets("net/minecraft/network/play/server/SPacketSetSlot", "iu", Context.CLIENT);  
137 - public static Packets SPacketSignEditorOpen = new Packets("net/minecraft/network/play/server/SPacketSignEditorOpen", "jl", Context.CLIENT);  
138 - public static Packets SPacketSoundEffect = new Packets("net/minecraft/network/play/server/SPacketSoundEffect", "kp", Context.CLIENT);  
139 - public static Packets SPacketSpawnExperienceOrb = new Packets("net/minecraft/network/play/server/SPacketSpawnExperienceOrb", "hy", Context.CLIENT);  
140 - public static Packets SPacketSpawnGlobalEntity = new Packets("net/minecraft/network/play/server/SPacketSpawnGlobalEntity", "hz", Context.CLIENT);  
141 - public static Packets SPacketSpawnMob = new Packets("net/minecraft/network/play/server/SPacketSpawnMob", "ia", Context.CLIENT);  
142 - public static Packets SPacketSpawnObject = new Packets("net/minecraft/network/play/server/SPacketSpawnObject", "hx", Context.CLIENT);  
143 - public static Packets SPacketSpawnPainting = new Packets("net/minecraft/network/play/server/SPacketSpawnPainting", "ib", Context.CLIENT);  
144 - public static Packets SPacketSpawnPlayer = new Packets("net/minecraft/network/play/server/SPacketSpawnPlayer", "ic", Context.CLIENT);  
145 - public static Packets SPacketSpawnPosition = new Packets("net/minecraft/network/play/server/SPacketSpawnPosition", "km", Context.CLIENT);  
146 - public static Packets SPacketStatistics = new Packets("net/minecraft/network/play/server/SPacketStatistics", "ie", Context.CLIENT);  
147 - public static Packets SPacketTabComplete = new Packets("net/minecraft/network/play/server/SPacketTabComplete", "im", Context.CLIENT);  
148 - public static Packets SPacketTeams = new Packets("net/minecraft/network/play/server/SPacketTeams", "kk", Context.CLIENT);  
149 - public static Packets SPacketTimeUpdate = new Packets("net/minecraft/network/play/server/SPacketTimeUpdate", "kn", Context.CLIENT);  
150 - public static Packets SPacketTitle = new Packets("net/minecraft/network/play/server/SPacketTitle", "ko", Context.CLIENT);  
151 - public static Packets SPacketUnloadChunk = new Packets("net/minecraft/network/play/server/SPacketUnloadChunk", "jb", Context.CLIENT);  
152 - public static Packets SPacketUpdateBossInfo = new Packets("net/minecraft/network/play/server/SPacketUpdateBossInfo", "ik", Context.CLIENT);  
153 - public static Packets SPacketUpdateHealth = new Packets("net/minecraft/network/play/server/SPacketUpdateHealth", "kh", Context.CLIENT);  
154 - public static Packets SPacketUpdateScore = new Packets("net/minecraft/network/play/server/SPacketUpdateScore", "kl", Context.CLIENT);  
155 - public static Packets SPacketUpdateTileEntity = new Packets("net/minecraft/network/play/server/SPacketUpdateTileEntity", "ih", Context.CLIENT);  
156 - public static Packets SPacketUseBed = new Packets("net/minecraft/network/play/server/SPacketUseBed", "jq", Context.CLIENT);  
157 - public static Packets SPacketWindowItems = new Packets("net/minecraft/network/play/server/SPacketWindowItems", "is", Context.CLIENT);  
158 - public static Packets SPacketWindowProperty = new Packets("net/minecraft/network/play/server/SPacketWindowProperty", "it", Context.CLIENT);  
159 - public static Packets SPacketWorldBorder = new Packets("net/minecraft/network/play/server/SPacketWorldBorder", "jy", Context.CLIENT);  
160 - public static Packets CPacketPing = new Packets("net/minecraft/network/status/client/CPacketPing", "mu", Context.SERVER);  
161 - public static Packets CPacketServerQuery = new Packets("net/minecraft/network/status/client/CPacketServerQuery", "mv", Context.SERVER);  
162 - public static Packets SPacketPong = new Packets("net/minecraft/network/status/server/SPacketPong", "mq", Context.CLIENT);  
163 - public static Packets SPacketServerInfo = new Packets("net/minecraft/network/status/server/SPacketServerInfo", "mr", Context.CLIENT); 41 + public static Packets C00Handshake = new Packets("net/minecraft/network/handshake/client/C00Handshake", "md", Context.SERVER);
  42 + public static Packets CPacketEncryptionResponse = new Packets("net/minecraft/network/login/client/CPacketEncryptionResponse", "mn", Context.SERVER);
  43 + public static Packets CPacketLoginStart = new Packets("net/minecraft/network/login/client/CPacketLoginStart", "mm", Context.SERVER);
  44 + public static Packets SPacketDisconnectLogin = new Packets("net/minecraft/network/login/server/SPacketDisconnect", "mk", Context.CLIENT);
  45 + public static Packets SPacketEnableCompression = new Packets("net/minecraft/network/login/server/SPacketEnableCompression", "mj", Context.CLIENT);
  46 + public static Packets SPacketEncryptionRequest = new Packets("net/minecraft/network/login/server/SPacketEncryptionRequest", "mi", Context.CLIENT);
  47 + public static Packets SPacketLoginSuccess = new Packets("net/minecraft/network/login/server/SPacketLoginSuccess", "mh", Context.CLIENT);
  48 + public static Packets CPacketAnimation = new Packets("net/minecraft/network/play/client/CPacketAnimation", "ly", Context.SERVER);
  49 + public static Packets CPacketChatMessage = new Packets("net/minecraft/network/play/client/CPacketChatMessage", "la", Context.SERVER);
  50 + public static Packets CPacketClickWindow = new Packets("net/minecraft/network/play/client/CPacketClickWindow", "lf", Context.SERVER);
  51 + public static Packets CPacketClientSettings = new Packets("net/minecraft/network/play/client/CPacketClientSettings", "lc", Context.SERVER);
  52 + public static Packets CPacketClientStatus = new Packets("net/minecraft/network/play/client/CPacketClientStatus", "lb", Context.SERVER);
  53 + public static Packets CPacketCloseWindow = new Packets("net/minecraft/network/play/client/CPacketCloseWindow", "lg", Context.SERVER);
  54 + public static Packets CPacketConfirmTeleport = new Packets("net/minecraft/network/play/client/CPacketConfirmTeleport", "ky", Context.SERVER);
  55 + public static Packets CPacketConfirmTransaction = new Packets("net/minecraft/network/play/client/CPacketConfirmTransaction", "ld", Context.SERVER);
  56 + public static Packets CPacketCreativeInventoryAction = new Packets("net/minecraft/network/play/client/CPacketCreativeInventoryAction", "lw", Context.SERVER);
  57 + public static Packets CPacketCustomPayload = new Packets("net/minecraft/network/play/client/CPacketCustomPayload", "lh", Context.SERVER);
  58 + public static Packets CPacketEnchantItem = new Packets("net/minecraft/network/play/client/CPacketEnchantItem", "le", Context.SERVER);
  59 + public static Packets CPacketEntityAction = new Packets("net/minecraft/network/play/client/CPacketEntityAction", "lq", Context.SERVER);
  60 + public static Packets CPacketHeldItemChange = new Packets("net/minecraft/network/play/client/CPacketHeldItemChange", "lv", Context.SERVER);
  61 + public static Packets CPacketInput = new Packets("net/minecraft/network/play/client/CPacketInput", "lr", Context.SERVER);
  62 + public static Packets CPacketKeepAlive = new Packets("net/minecraft/network/play/client/CPacketKeepAlive", "lj", Context.SERVER);
  63 + public static Packets CPacketPlaceRecipe = new Packets("net/minecraft/network/play/client/CPacketPlaceRecipe", "ln", Context.SERVER);
  64 + public static Packets CPacketPlayer = new Packets("net/minecraft/network/play/client/CPacketPlayer", "lk", Context.SERVER);
  65 + public static Packets CPacketPlayerPosition = new Packets("net/minecraft/network/play/client/CPacketPlayer$Position", "lk$a", Context.SERVER);
  66 + public static Packets CPacketPlayerPositionRotation = new Packets("net/minecraft/network/play/client/CPacketPlayer$PositionRotation", "lk$b", Context.SERVER);
  67 + public static Packets CPacketPlayerRotation = new Packets("net/minecraft/network/play/client/CPacketPlayer$Rotation", "lk$c", Context.SERVER);
  68 + public static Packets CPacketPlayerAbilities = new Packets("net/minecraft/network/play/client/CPacketPlayerAbilities", "lo", Context.SERVER);
  69 + public static Packets CPacketPlayerDigging = new Packets("net/minecraft/network/play/client/CPacketPlayerDigging", "lp", Context.SERVER);
  70 + public static Packets CPacketPlayerTryUseItem = new Packets("net/minecraft/network/play/client/CPacketPlayerTryUseItem", "mb", Context.SERVER);
  71 + public static Packets CPacketPlayerTryUseItemOnBlock = new Packets("net/minecraft/network/play/client/CPacketPlayerTryUseItemOnBlock", "ma", Context.SERVER);
  72 + public static Packets CPacketRecipeInfo = new Packets("net/minecraft/network/play/client/CPacketRecipeInfo", "ls", Context.SERVER);
  73 + public static Packets CPacketResourcePackStatus = new Packets("net/minecraft/network/play/client/CPacketResourcePackStatus", "lt", Context.SERVER);
  74 + public static Packets CPacketSeenAdvancements = new Packets("net/minecraft/network/play/client/CPacketSeenAdvancements", "lu", Context.SERVER);
  75 + public static Packets CPacketSpectate = new Packets("net/minecraft/network/play/client/CPacketSpectate", "lz", Context.SERVER);
  76 + public static Packets CPacketSteerBoat = new Packets("net/minecraft/network/play/client/CPacketSteerBoat", "lm", Context.SERVER);
  77 + public static Packets CPacketTabComplete = new Packets("net/minecraft/network/play/client/CPacketTabComplete", "kz", Context.SERVER);
  78 + public static Packets CPacketUpdateSign = new Packets("net/minecraft/network/play/client/CPacketUpdateSign", "lx", Context.SERVER);
  79 + public static Packets CPacketUseEntity = new Packets("net/minecraft/network/play/client/CPacketUseEntity", "li", Context.SERVER);
  80 + public static Packets CPacketVehicleMove = new Packets("net/minecraft/network/play/client/CPacketVehicleMove", "ll", Context.SERVER);
  81 + public static Packets SPacketAdvancementInfo = new Packets("net/minecraft/network/play/server/SPacketAdvancementInfo", "ku", Context.CLIENT);
  82 + public static Packets SPacketAnimation = new Packets("net/minecraft/network/play/server/SPacketAnimation", "id", Context.CLIENT);
  83 + public static Packets SPacketBlockAction = new Packets("net/minecraft/network/play/server/SPacketBlockAction", "ii", Context.CLIENT);
  84 + public static Packets SPacketBlockBreakAnim = new Packets("net/minecraft/network/play/server/SPacketBlockBreakAnim", "ig", Context.CLIENT);
  85 + public static Packets SPacketBlockChange = new Packets("net/minecraft/network/play/server/SPacketBlockChange", "ij", Context.CLIENT);
  86 + public static Packets SPacketCamera = new Packets("net/minecraft/network/play/server/SPacketCamera", "ka", Context.CLIENT);
  87 + public static Packets SPacketChangeGameState = new Packets("net/minecraft/network/play/server/SPacketChangeGameState", "jc", Context.CLIENT);
  88 + public static Packets SPacketChat = new Packets("net/minecraft/network/play/server/SPacketChat", "in", Context.CLIENT);
  89 + public static Packets SPacketChunkData = new Packets("net/minecraft/network/play/server/SPacketChunkData", "je", Context.CLIENT);
  90 + public static Packets SPacketCloseWindow = new Packets("net/minecraft/network/play/server/SPacketCloseWindow", "iq", Context.CLIENT);
  91 + public static Packets SPacketCollectItem = new Packets("net/minecraft/network/play/server/SPacketCollectItem", "ks", Context.CLIENT);
  92 + public static Packets SPacketCombatEvent = new Packets("net/minecraft/network/play/server/SPacketCombatEvent", "jo", Context.CLIENT);
  93 + public static Packets SPacketConfirmTransaction = new Packets("net/minecraft/network/play/server/SPacketConfirmTransaction", "ip", Context.CLIENT);
  94 + public static Packets SPacketCooldown = new Packets("net/minecraft/network/play/server/SPacketCooldown", "iv", Context.CLIENT);
  95 + public static Packets SPacketCustomPayload = new Packets("net/minecraft/network/play/server/SPacketCustomPayload", "iw", Context.CLIENT);
  96 + public static Packets SPacketCustomSound = new Packets("net/minecraft/network/play/server/SPacketCustomSound", "ix", Context.CLIENT);
  97 + public static Packets SPacketDestroyEntities = new Packets("net/minecraft/network/play/server/SPacketDestroyEntities", "jt", Context.CLIENT);
  98 + public static Packets SPacketDisconnect = new Packets("net/minecraft/network/play/server/SPacketDisconnect", "iy", Context.CLIENT);
  99 + public static Packets SPacketDisplayObjective = new Packets("net/minecraft/network/play/server/SPacketDisplayObjective", "kc", Context.CLIENT);
  100 + public static Packets SPacketEffect = new Packets("net/minecraft/network/play/server/SPacketEffect", "jf", Context.CLIENT);
  101 + public static Packets SPacketEntity = new Packets("net/minecraft/network/play/server/SPacketEntity", "jj", Context.CLIENT);
  102 + public static Packets S15PacketEntityRelMove = new Packets("net/minecraft/network/play/server/SPacketEntity$S15PacketEntityRelMove", "jj$a", Context.CLIENT);
  103 + public static Packets S16PacketEntityLook = new Packets("net/minecraft/network/play/server/SPacketEntity$S16PacketEntityLook", "jj$c", Context.CLIENT);
  104 + public static Packets S17PacketEntityLookMove = new Packets("net/minecraft/network/play/server/SPacketEntity$S17PacketEntityLookMove", "jj$b", Context.CLIENT);
  105 + public static Packets SPacketEntityAttach = new Packets("net/minecraft/network/play/server/SPacketEntityAttach", "ke", Context.CLIENT);
  106 + public static Packets SPacketEntityEffect = new Packets("net/minecraft/network/play/server/SPacketEntityEffect", "kw", Context.CLIENT);
  107 + public static Packets SPacketEntityEquipment = new Packets("net/minecraft/network/play/server/SPacketEntityEquipment", "kg", Context.CLIENT);
  108 + public static Packets SPacketEntityHeadLook = new Packets("net/minecraft/network/play/server/SPacketEntityHeadLook", "jx", Context.CLIENT);
  109 + public static Packets SPacketEntityMetadata = new Packets("net/minecraft/network/play/server/SPacketEntityMetadata", "kd", Context.CLIENT);
  110 + public static Packets SPacketEntityProperties = new Packets("net/minecraft/network/play/server/SPacketEntityProperties", "kv", Context.CLIENT);
  111 + public static Packets SPacketEntityStatus = new Packets("net/minecraft/network/play/server/SPacketEntityStatus", "iz", Context.CLIENT);
  112 + public static Packets SPacketEntityTeleport = new Packets("net/minecraft/network/play/server/SPacketEntityTeleport", "kt", Context.CLIENT);
  113 + public static Packets SPacketEntityVelocity = new Packets("net/minecraft/network/play/server/SPacketEntityVelocity", "kf", Context.CLIENT);
  114 + public static Packets SPacketExplosion = new Packets("net/minecraft/network/play/server/SPacketExplosion", "ja", Context.CLIENT);
  115 + public static Packets SPacketHeldItemChange = new Packets("net/minecraft/network/play/server/SPacketHeldItemChange", "kb", Context.CLIENT);
  116 + public static Packets SPacketJoinGame = new Packets("net/minecraft/network/play/server/SPacketJoinGame", "jh", Context.CLIENT);
  117 + public static Packets SPacketKeepAlive = new Packets("net/minecraft/network/play/server/SPacketKeepAlive", "jd", Context.CLIENT);
  118 + public static Packets SPacketMaps = new Packets("net/minecraft/network/play/server/SPacketMaps", "ji", Context.CLIENT);
  119 + public static Packets SPacketMoveVehicle = new Packets("net/minecraft/network/play/server/SPacketMoveVehicle", "jk", Context.CLIENT);
  120 + public static Packets SPacketMultiBlockChange = new Packets("net/minecraft/network/play/server/SPacketMultiBlockChange", "io", Context.CLIENT);
  121 + public static Packets SPacketOpenWindow = new Packets("net/minecraft/network/play/server/SPacketOpenWindow", "ir", Context.CLIENT);
  122 + public static Packets SPacketParticles = new Packets("net/minecraft/network/play/server/SPacketParticles", "jg", Context.CLIENT);
  123 + public static Packets SPacketPlaceGhostRecipe = new Packets("net/minecraft/network/play/server/SPacketPlaceGhostRecipe", "jm", Context.CLIENT);
  124 + public static Packets SPacketPlayerAbilities = new Packets("net/minecraft/network/play/server/SPacketPlayerAbilities", "jn", Context.CLIENT);
  125 + public static Packets SPacketPlayerListHeaderFooter = new Packets("net/minecraft/network/play/server/SPacketPlayerListHeaderFooter", "kr", Context.CLIENT);
  126 + public static Packets SPacketPlayerListItem = new Packets("net/minecraft/network/play/server/SPacketPlayerListItem", "jp", Context.CLIENT);
  127 + public static Packets SPacketPlayerPosLook = new Packets("net/minecraft/network/play/server/SPacketPlayerPosLook", "jq", Context.CLIENT);
  128 + public static Packets SPacketRecipeBook = new Packets("net/minecraft/network/play/server/SPacketRecipeBook", "js", Context.CLIENT);
  129 + public static Packets SPacketRemoveEntityEffect = new Packets("net/minecraft/network/play/server/SPacketRemoveEntityEffect", "ju", Context.CLIENT);
  130 + public static Packets SPacketResourcePackSend = new Packets("net/minecraft/network/play/server/SPacketResourcePackSend", "jv", Context.CLIENT);
  131 + public static Packets SPacketRespawn = new Packets("net/minecraft/network/play/server/SPacketRespawn", "jw", Context.CLIENT);
  132 + public static Packets SPacketScoreboardObjective = new Packets("net/minecraft/network/play/server/SPacketScoreboardObjective", "kj", Context.CLIENT);
  133 + public static Packets SPacketSelectAdvancementsTab = new Packets("net/minecraft/network/play/server/SPacketSelectAdvancementsTab", "jy", Context.CLIENT);
  134 + public static Packets SPacketServerDifficulty = new Packets("net/minecraft/network/play/server/SPacketServerDifficulty", "il", Context.CLIENT);
  135 + public static Packets SPacketSetExperience = new Packets("net/minecraft/network/play/server/SPacketSetExperience", "kh", Context.CLIENT);
  136 + public static Packets SPacketSetPassengers = new Packets("net/minecraft/network/play/server/SPacketSetPassengers", "kk", Context.CLIENT);
  137 + public static Packets SPacketSetSlot = new Packets("net/minecraft/network/play/server/SPacketSetSlot", "iu", Context.CLIENT);
  138 + public static Packets SPacketSignEditorOpen = new Packets("net/minecraft/network/play/server/SPacketSignEditorOpen", "jl", Context.CLIENT);
  139 + public static Packets SPacketSoundEffect = new Packets("net/minecraft/network/play/server/SPacketSoundEffect", "kq", Context.CLIENT);
  140 + public static Packets SPacketSpawnExperienceOrb = new Packets("net/minecraft/network/play/server/SPacketSpawnExperienceOrb", "hy", Context.CLIENT);
  141 + public static Packets SPacketSpawnGlobalEntity = new Packets("net/minecraft/network/play/server/SPacketSpawnGlobalEntity", "hz", Context.CLIENT);
  142 + public static Packets SPacketSpawnMob = new Packets("net/minecraft/network/play/server/SPacketSpawnMob", "ia", Context.CLIENT);
  143 + public static Packets SPacketSpawnObject = new Packets("net/minecraft/network/play/server/SPacketSpawnObject", "hx", Context.CLIENT);
  144 + public static Packets SPacketSpawnPainting = new Packets("net/minecraft/network/play/server/SPacketSpawnPainting", "ib", Context.CLIENT);
  145 + public static Packets SPacketSpawnPlayer = new Packets("net/minecraft/network/play/server/SPacketSpawnPlayer", "ic", Context.CLIENT);
  146 + public static Packets SPacketSpawnPosition = new Packets("net/minecraft/network/play/server/SPacketSpawnPosition", "kn", Context.CLIENT);
  147 + public static Packets SPacketStatistics = new Packets("net/minecraft/network/play/server/SPacketStatistics", "ie", Context.CLIENT);
  148 + public static Packets SPacketTabComplete = new Packets("net/minecraft/network/play/server/SPacketTabComplete", "im", Context.CLIENT);
  149 + public static Packets SPacketTeams = new Packets("net/minecraft/network/play/server/SPacketTeams", "kl", Context.CLIENT);
  150 + public static Packets SPacketTimeUpdate = new Packets("net/minecraft/network/play/server/SPacketTimeUpdate", "ko", Context.CLIENT);
  151 + public static Packets SPacketTitle = new Packets("net/minecraft/network/play/server/SPacketTitle", "kp", Context.CLIENT);
  152 + public static Packets SPacketUnloadChunk = new Packets("net/minecraft/network/play/server/SPacketUnloadChunk", "jb", Context.CLIENT);
  153 + public static Packets SPacketUpdateBossInfo = new Packets("net/minecraft/network/play/server/SPacketUpdateBossInfo", "ik", Context.CLIENT);
  154 + public static Packets SPacketUpdateHealth = new Packets("net/minecraft/network/play/server/SPacketUpdateHealth", "ki", Context.CLIENT);
  155 + public static Packets SPacketUpdateScore = new Packets("net/minecraft/network/play/server/SPacketUpdateScore", "km", Context.CLIENT);
  156 + public static Packets SPacketUpdateTileEntity = new Packets("net/minecraft/network/play/server/SPacketUpdateTileEntity", "ih", Context.CLIENT);
  157 + public static Packets SPacketUseBed = new Packets("net/minecraft/network/play/server/SPacketUseBed", "jr", Context.CLIENT);
  158 + public static Packets SPacketWindowItems = new Packets("net/minecraft/network/play/server/SPacketWindowItems", "is", Context.CLIENT);
  159 + public static Packets SPacketWindowProperty = new Packets("net/minecraft/network/play/server/SPacketWindowProperty", "it", Context.CLIENT);
  160 + public static Packets SPacketWorldBorder = new Packets("net/minecraft/network/play/server/SPacketWorldBorder", "jz", Context.CLIENT);
  161 + public static Packets CPacketPing = new Packets("net/minecraft/network/status/client/CPacketPing", "mv", Context.SERVER);
  162 + public static Packets CPacketServerQuery = new Packets("net/minecraft/network/status/client/CPacketServerQuery", "mw", Context.SERVER);
  163 + public static Packets SPacketPong = new Packets("net/minecraft/network/status/server/SPacketPong", "mr", Context.CLIENT);
  164 + public static Packets SPacketServerInfo = new Packets("net/minecraft/network/status/server/SPacketServerInfo", "ms", Context.CLIENT);
164 165
165 // CHECKSTYLE:ON 166 // CHECKSTYLE:ON
166 167
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.12  
42 - public static final String VERSION = "1.12.0"; 41 + // TODO Version - 1.12.1
  42 + public static final String VERSION = "1.12.1";
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