跳到正文

Reflection

作者:Loedje

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

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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 /jr command, opening the door to a world of possibilities.

Subcommands:

  • Primitive Data Storage: Use subcommands like int, long, string, boolean, float, and double to 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 with dimension, scoreboard objectives with objective, 3D vectors with vector, and the server command source with source.
  • Method Invocation: Invoke methods from the game’s classes and store outcomes using the method subcommand.
  • Dynamic Object Creation: Create new objects with custom attributes using the new subcommand.
  • Type Casting: Modify object types dynamically using the cast command.
  • Field Extraction: Extract specific fields from objects using the field command. Use set to change or get to store the field’s value.
  • Class Command: With the class command, 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 run subcommand. 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._

常见问题

Reflection 支持哪些 Minecraft 版本?

Reflection 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Reflection 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Loedje 的其他作品

查看全部 →