暂时移除无用mixin
This commit is contained in:
parent
629b71c11b
commit
708b0e27b1
2 changed files with 3 additions and 7 deletions
|
@ -1,10 +1,7 @@
|
||||||
package com.atsuishio.superbwarfare.mixins;
|
package com.atsuishio.superbwarfare.mixins;
|
||||||
|
|
||||||
import net.minecraft.world.entity.Entity;
|
//@Mixin(Entity.class)
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
//public class EntityMixin {
|
||||||
|
|
||||||
@Mixin(Entity.class)
|
|
||||||
public class EntityMixin {
|
|
||||||
|
|
||||||
// TODO 优化后续逻辑
|
// TODO 优化后续逻辑
|
||||||
// @Redirect(method = "turn(DD)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/entity/Entity;setXRot(F)V", ordinal = 1))
|
// @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));
|
// instance.setXRot(Mth.clamp(instance.getXRot(), -90.0F, 90.0F));
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
}
|
//}
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"ClientboundSetEntityMotionPacketMixin",
|
"ClientboundSetEntityMotionPacketMixin",
|
||||||
"ClientboundSetPassengersPacketMixin",
|
"ClientboundSetPassengersPacketMixin",
|
||||||
"EntityMixin",
|
|
||||||
"ExplosionMixin",
|
"ExplosionMixin",
|
||||||
"LivingEntityMixin",
|
"LivingEntityMixin",
|
||||||
"PlayerEntityMixin"
|
"PlayerEntityMixin"
|
||||||
|
|
Loading…
Add table
Reference in a new issue