Posted June 29, 20205 yr Okay - so as of 1.16.1, some methods which were known are currently obfuscated again. How do I submit the methods we are identifying while upgrading our mods to 1.16.1? Thanks! MacTso Mactso & Lupicus (Beekeeper, Harder Branch Mining, Nasty Mobs, Regrowth, Enameled Armor, Easy Redstone Extras, Vending Machine)
June 30, 20205 yr Right now, we can't. All of the mappings for 1.16 are being made by hand, because the system we used to use has acquired far too much tech debt. There's a new system on the way, it's called the Mod Mapping Management System, or MMMS for short. You can keep an eye on its development here: https://github.com/ModMappings/
June 30, 20205 yr Are the 1.16 mappings are custom / adjusted 1.15.1 mappings from http://mcpbot.bspk.rs? And when 1.16 mappings from mcpbot are available I should prefer this, if want newer mappings, right? Edited June 30, 20205 yr by Maxi07
June 30, 20205 yr Author Thanks for the information! FYI- the player.getPosition() and entity.getPosition() are pretty significant. if you fix them, you'll save people a lot of coding. This wrapper made changing the code easier. Any entity.getPosition() call getBlockPos( entity) until it's deobfuscated. Quote private BlockPos getBlockPos (Entity e) { return e.func_233580_cy_(); } Note quite as important but some folks might have been using entity.onground . Quote private boolean isOnGround (Entity e) { return e.func_233570_aj_(); } The Dimension Number was key to two of my mods.. Quote DimensionType dimensionType = p.world.func_230315_m_(); int dimensionNumber = dimensionType.func_241513_m_(); Finally the player chat code looks really noisy with obfuscated code. You can drop in these "sendChat ()" methods to smooth the noise. Quote // This chat method has dark green text by default. public static void sendChat(PlayerEntity p, String chatMessage) { StringTextComponent component = new StringTextComponent (chatMessage); // set to Dark Green Style chatStyle = Style.field_240709_b_.func_240712_a_(TextFormatting.DARK_GREEN); p.sendMessage(component.func_230530_a_(chatStyle) , p.getUniqueID()); } // this chat method support for any color public static void sendChat(PlayerEntity p, String chatMessage, TextFormatting textColor) { StringTextComponent component = new StringTextComponent (chatMessage); Style chatStyle = Style.field_240709_b_.func_240712_a_(textColor); p.sendMessage(component.func_230530_a_(chatStyle) , p.getUniqueID()); } // this chat method supports any color, optionally bold text. public static void sendChat(PlayerEntity p, String chatMessage, TextFormatting textColor, boolean boldText) { StringTextComponent component = new StringTextComponent (chatMessage); // set to Dark Green Bold Style chatStyle = Style.field_240709_b_.func_240712_a_(textColor).func_240713_a_(boldText); p.sendMessage(component.func_230530_a_(chatStyle) , p.getUniqueID()); } Thanks for your quick response! Hope these methods help some other folks. And maybe someone can get these obfuscated methods implemented soon too.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.