How does LiquidBounce remap the obfuscated Minecraft types in runtime to allow script…
Private research annotation
Sign in to add a private research label or note.
- User
How does LiquidBounce remap the obfuscated Minecraft types in runtime to allow script execution?
Assistant
LiquidBounce uses the
EnvironmentRemapperclass to handle the remapping of obfuscated Minecraft types at runtime. This allows scripts written against a known, non-obfuscated set of Minecraft classes and members to function correctly regardless of the specific Minecraft version and its obfuscation mappings.The
ScriptReflectionUtilobject provides a set of functions that scripts use to interact with Minecraft classes. Crucially, these functions incorporate theEnvironmentRemapperto translate the provided class, field, and method names into their obfuscated equivalents before performing reflection.Here's a breakdown:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.