v1.6.0
This commit is contained in:
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(
|
||||
|
||||
Reference in new issue
Block a user