EntityEraser
ModLicenseRef-All-Rights-Reserved

EntityEraser

This is destructive effect mod. 这是一个秒杀mod。

1.4K
Downloads
8
Followers
2 months ago
Updated
📦
15
Versions

📖About EntityEraser

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!

The deathrenderer.dll file in the Mod file has been open sourced!

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!如果你的游戏崩溃且在日志文件中发现MISSING APPHHZP_LIB!字样,说明它没有被正确加载!

Mod文件中的deathrenderer.dll已开源!

这个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:禁用其他模组的ITransformerILaunchPluginService。并同时禁用Mixin。