- Perfect the TimeStop function.
- You can use the
Disable Spawn
function to kill pig2-2.6.0, but this will make the game lag. - About Pig2mod: Pig2mod attach a JavaAgent with the
premain()
method by restarting the game, and modifies thecandidates(Path)
method of theModDirTransformerDiscoverer
class.This will prevent ServiceLoader from searching for other coremods. So other coremods' classes won't even be loaded. Countering this method requires a higher priority than pig2mod. The priority is usually determined by the file name and other factors, which is difficult to control. Therefore, it is not guaranteed that future versions of entityeraser can defeat pig2.
- 完善了时停功能。
- 可以使用禁生成功能杀死pig2-2.6.0,但这会使游戏非常卡顿。
- 关于pig2mod:pig2mod通过重启游戏来注入带
premain
函数的JavaAgent,并修改ModDirTransformerDiscoverer
类的candidates
方法。这会使ServiceLoader无法搜索到其他coremod,所以其他coremod的类甚至不会被加载。反制这种方法需要比pig2mod更高的加载优先级。而优先级通常由文件名和其他因素决定,难以控制。所以不保证后续版本的entityeraser能击败pig2。