Описание
**Update stopped! A remake version is currently being produced!**
**已停止更新!正在制作重制版!**
English
**Please use JDK to run this mod.**
**Warning: Do not add `+` or `!` characters to the file name of this mod! Otherwise, the game will crash!**
**Need pre mod [apphhzpLIB](https://modrinth.com/mod/apphhzplib)!**
**[The deathrenderer.dll file in the Mod file has been open sourced!](https://github.com/apphhzp/deathrenderer/tree/master)**
This mod does not have any composition table, and the weapons inside are very excessive and not suitable for survival mode.
This mod includes the following items:
- **_Entity eraser_**: Left click to clear a single entity. Right click to clear all entities in the level except for the user. Shift + right click to enable interception of spawning. Shift + left click to intercept all events that post through `MinecraftForge.EVENT_BUS` (in order to kill some creatures that rely on the event system).
- **_Entity eraser controller_**: Can control more functions of _Entity eraser_. Shift + right click to prevent _Entity eraser_ from calling the methods of the entity class itself when attacking entities.
- **_Entity protector_**: Once held in hand, it cannot be thrown away. The holder can be immune to most attacks. Shift + right click to enable interception of GUIs and screens. In this mode, you cannot open any GUI or screen and will disable some rendering of Minecraft. Shift + left click to enable super protection of inventory, which provides more thorough protection for the inventory.
- **_All return control_**: It only works when the content in `enableAllReturn.txt` is `true`. Right click to activate allReturn, and most of the methods in other mods will be directly called `return;` or `return super.xxx();`. This can help players kill some special entities.
- **_Destroy Renderers_**: Right click to destroy Minecraft's OpenGL rendering system and hook some GDI functions. Normal rendering can only be restored by restarting the game.
- **_Rapid death_**: When the inventory ticks, left click or right click on this item, an attempt will be made to kill the current player.
- **_Rapid death(GDI)_**: This item only appears in the Windows system. When you tick, left click or right-click on this item, it will attempt to call GDI to render a dead screen.
Some special features require modifying the txt file in the jar file to enable or disable.
Including:
- `enableAllReturn.txt`: Add `if (allreturn) {return;}` or `if(allreturn){return super.xxx();}` to most Java method instructions.
- `enableAllReturnLog.txt`: Output the name of the method with the added return statement and the class it belongs to in the log file.
- `enableSetClassLoader.txt`: Forcefully replace the classloader by modifying the klass pointer of the classloader object (non Hotspot JVMs may crash).
- `setEventBus.txt`: Replace the bytecode instruction of `GETSTATIC net/minecraftforge/common/MinecraftForge.EVENT_BUS`.
- `superAllReturn.txt`: Ignore the return value limit of the method and forcefully add the `if(allreturn){return xxx;}` java code(The content of `enableAllReturn.txt` needs to be `true`).
- `useAgent.txt`: Enable local JavaAgent injection (version 0.0.7 or higher is required).
- `useOriginalBytecodes.txt`: Use the original bytecode from the jar file when determining class inheritance relationships in coremod.
- `hideFromStackTrace.txt`: Filter out the classes of this mod from the return value of `new Throwable().getStackTrace()`.
- `restoreVanillaMethods.txt`: Use coremod to forcibly restore a portion of the vanilla methods.
- `enableBadCoremod.txt`: Disable `ITransformer` and `ILaunchPluginService` of other mods.And also disable Mixin.
中文
**请使用JDK运行本mod!**
**警告:不要在此mod的文件名中添加`+`或`!`字符!否则游戏会崩溃!**
**需要前置模组[apphhzpLIB](https://modrinth.com/mod/apphhzplib)!如果你的游戏崩溃且在日志文件中发现`MISSING APPHHZP_LIB!`字样,说明它没有被正确加载!**
**[Mod文件中的deathrenderer.dll已开源!](https://github.com/apphhzp/deathrenderer/tree/master)**
这个Mod没有合成表,里面的武器很超标,不适合生存使用。
本模组包含以下物品:
- **_实体清除器_**:左键以清除单个实体;右键以清除世界内除使用者以外的所有实体;按下Shift+右键以禁止除玩家以外的实体生成;按下Shift+左键以拦截所有通过`MinecraftForge.EVENT_BUS`的事件(为了杀死一些依赖于事件系统的复活生物)。
- **_实体清除器控制器_**:可以控制 _实体清除器_ 的更多功能。按下Shift+右键以阻止 _实体清除器_ 在攻击实体时调用实体类自身的方法。
- **_实体保护器_**:一旦拿在手上就丢不掉,可以免疫绝大部分的攻击。按下Shift+右键以开启禁GUI模式,这个模式下你无法打开任何GUI,且会禁用游戏的部分渲染;按下Shift+左键以开启高级防缴械,这个模式下会提供更彻底的物品栏保护。
- **_allReturn控制器_**:仅在`enableAllReturn.txt`中内容为`true`时起效。右键以开启allReturn,此时其他mod的大部分方法会被直接调用`return;`或`return super.xxx();`,这可以帮助玩家杀死一些特殊实体。
- **_摧毁渲染_**:右键以摧毁Minecraft的OpenGL渲染系统,并inline hook部分GDI函数。只能通过重启游戏来恢复正常渲染。
- **_一键趋势_**:在物品栏tick、左键或右键该物品时,会尝试杀死当前玩家。
- **_GDI级一键趋势_**:此物品仅在Windows系统中出现。在物品栏tick、左键或右键该物品时,会尝试调用GDI渲染一个死亡窗口。
一些特殊功能需要修改jar文件中的txt文件来启用或关闭。
特殊功能包括:
- `enableAllReturn.txt`:在大部分Java方法体中加入`if(allreturn){return;或return super.xxx();}`。
- `enableAllReturnLog.txt`:在日志文件中输出被添加return语句的方法名和其所在的类。
- `enableSetClassLoader.txt`:通过修改classloader对象的klass指针来强行替换类加载器(非HotspotJVM可能会崩溃)。
- `setEventBus.txt`:替换`GETSTATIC net/minecraftforge/common/MinecraftForge.EVENT_BUS`的字节码指令。
- `superAllReturn.txt`:忽略方法返回值限制,强行添加`if(allreturn){return xxx;}`语句(需要`enableAllReturn.txt`内容为`true`)。
- `useAgent.txt`:启用本地JavaAgent注入(需要0.0.7或更高的版本)。
- `useOriginalBytecodes.txt`:在coremod判断类继承关系时使用jar文件中的原始字节码。
- `hideFromStackTrace.txt`:从`Throwable.getStackTrace()`的返回值中过滤掉本mod的类。
- `restoreVanillaMethods.txt`:使用coremod强行还原一部分原版的关键方法。
- `enableBadCoremod.txt`:禁用其他模组的`ITransformer`和`ILaunchPluginService`。并同时禁用Mixin。