canon ending dev build

This commit is contained in:
sainagh
2025-03-04 16:51:19 -08:00
parent ec9d201b26
commit 792ec88708
2165 changed files with 15429 additions and 556355 deletions
-29
View File
@@ -1,29 +0,0 @@
#loader mixin
import native.net.minecraftforge.event.entity.living.LivingDeathEvent;
import mixin.CallbackInfo;
import native.mustapelto.deepmoblearning.common.events.EntityDeathEventHandler;
/*
Fix random crashes related to modifying UUID blacklist concurrently.
Here until floppaxd/DeepMobEvolution#65 is merged.
Created by ChaosStrikez for Deep Mob Evolution 1.2.2.
*/
#mixin Mixin
#{targets: "mustapelto.deepmoblearning.common.events.EntityDeathEventHandler"}
zenClass MixinEntityDeathEventHandler {
#mixin Static
#mixin Inject
#{
# method: "entityDeath",
# at: {value: "HEAD"},
# cancellable: true
#}
function mbc_checkSide(event as LivingDeathEvent, ci as CallbackInfo) as void {
if (event.getEntityLiving().world.isRemote) {
ci.cancel();
}
}
}