This commit is contained in:
LZX committed 2026-07-28 00:01:38 +08:00
1 parent af4cfa8f8b
commit dbb6783d18
22 files changed
+270 -21

No files matched your search

@@ -73,6 +73,8 @@ public class TungstenBullet extends BasicBulletAmmo {
Vec3 motion = summon.getLookAngle().normalize().scale(getSpeed());
summon.setDeltaMovement(motion);
if(summon.level().isClientSide()) return;
//碰撞检测
AABB hitBox = new AABB(summon.position(), summon.position().add(motion)).inflate(0.25);
List<Entity> targets = summon.level().getEntitiesOfClass(