暂时移除无用mixin

This commit is contained in:
17146 2025-03-11 21:23:58 +08:00
parent 629b71c11b
commit 708b0e27b1
2 changed files with 3 additions and 7 deletions

View file

@ -1,10 +1,7 @@
package com.atsuishio.superbwarfare.mixins;
import net.minecraft.world.entity.Entity;
import org.spongepowered.asm.mixin.Mixin;
@Mixin(Entity.class)
public class EntityMixin {
//@Mixin(Entity.class)
//public class EntityMixin {
// TODO 优化后续逻辑
// @Redirect(method = "turn(DD)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/entity/Entity;setXRot(F)V", ordinal = 1))
@ -21,4 +18,4 @@ public class EntityMixin {
// instance.setXRot(Mth.clamp(instance.getXRot(), -90.0F, 90.0F));
// }
// }
}
//}

View file

@ -6,7 +6,6 @@
"mixins": [
"ClientboundSetEntityMotionPacketMixin",
"ClientboundSetPassengersPacketMixin",
"EntityMixin",
"ExplosionMixin",
"LivingEntityMixin",
"PlayerEntityMixin"