LiquidBounce | free mixin-based injection hacked client | Video Game library
kandi X-RAY | LiquidBounce Summary
kandi X-RAY | LiquidBounce Summary
liquidbounce.net | Forum | Guilded | YouTube | Twitter. LiquidBounce is a free and open-source mixin-based injection hacked client using the Fabric API for Minecraft.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of LiquidBounce
LiquidBounce Key Features
LiquidBounce Examples and Code Snippets
Community Discussions
Trending Discussions on LiquidBounce
QUESTION
I am currently trying to make JavaScript support for the game "Minecraft" using Nashorn. My goal is to give users the ability to create their own commands and features. For the most part it is working fine so far but the problem is that Minecraft's code is obfuscated when using it with Forge.
For that reason all field and method calls have to be re-mapped with their corresponding srg names.
Example: mc.thePlayer.swingItem();
to mc.field_71439_g.func_71038_i();
I am able to inject code into the Nashorn library using Mixin and I have already made a parser for the srg file. In a nutshell, what I need is the method I can use to replace thePlayer
with field_71439_g
or swingItem()V
with func_71038_i()V
before actually executing the code.
I have already tried finding the proper methods for hours.
https://github.com/CCBlueX/LiquidBounce1.8-Issues/issues/2649
...ANSWER
Answered 2018-Oct-12 at 03:40Or rather, its mappings exports.
Note that MCPbot, as its name implies, is a bot. Specifically one on an IRC channel so that mod developers can go "hey I figured out what func_12345_a
does" and tell the bot, giving it a human-readable name, named parameters, and javadoc and the next build of Forge will include these updated mappings for modders to use.
(The "MCP" part stands for "Minecraft Coder Pack.")
You can find exports of the SRG name mappings on the MCPbot website of which you'll need both csv files: Fields and Methods (as they're exported separately).
I will note, however, that including these mappings in your mod will probably violate copyright and you should check with Prof Mobius before using them in this manner.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install LiquidBounce
Clone the repository using git clone --recurse-submodules https://github.com/CCBlueX/LiquidBounce.
CD into the local repository.
Run gradlew genSources.
Open the folder as a Gradle project in your preferred IDE.
Run the client.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page