
Reflection
Tinker with the minecraft code while in game using commands that use Java Reflection.
Screenshots

About this Mod
Dive into a new dimension of Minecraft gameplay with the Minecraft Reflection mod. This mod introduces a powerful toolset that enables you to manipulate the game's mechanics using custom commands, all powered by Java reflection.
Features:
- /jr Command: Access the mod's functionality through the
/jrcommand, opening the door to a world of possibilities.
Subcommands:
Primitive Data Storage: Use subcommands like
int,long,string,boolean,float, anddoubleto store essential data types at user-defined keys. Utilize preset keys for rounded numbers from -100 to 100. These include integers (e.g., 7), doubles (e.g., 21.0) or floats (e.g., -5f). There are also preset keys for the boolean values ("true" and "false").Entity Manipulation: Interact with specific entities using
entity, dimensions withdimension, scoreboard objectives withobjective, 3D vectors withvector, and the server command source withsource.Method Invocation: Invoke methods from the game's classes and store outcomes using the
methodsubcommand.Dynamic Object Creation: Create new objects with custom attributes using the
newsubcommand.Type Casting: Modify object types dynamically using the
castcommand.Field Extraction: Extract specific fields from objects using the
fieldcommand. Usesetto change orgetto store the field's value.Class Command: With the
classcommand, you can store any class to a key, allowing you to access static variables and methods.Command Execution: Run regular Minecraft commands with dynamic key replacement using the
runsubcommand. To use it surround the key with percentage signs.
Important Notes:
Caution: Be cautious when experimenting with the mod, as incorrect usage can lead to unintended consequences or instability in your Minecraft world. Always backup your saves before extensive experimentation.
Compatibility: Ensure that the mod version aligns with your Minecraft version for optimal performance.
Embrace Creativity:
Unleash your creativity and reshape the Minecraft world to your liking. Download Reflection now and start your journey of discovery and innovation.
I wrote most of this description together with mr chatgpt. If you find any problems, please let me know, I have not fully tested every feature of this mod. Also let me know if I should add anything, have any questions, or you did something cool with this mod.
Available Versions
How to Install Reflection on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "Reflection". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Reflection server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.
Is Reflection compatible with fabric?
Reflection officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Reflection – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Reflection consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Reflection with just one click on your server.