command entities

This commit is contained in:
Sen 2025-03-26 15:43:58 +01:00
parent e88958e2f4
commit 460a58e062
32 changed files with 293 additions and 37 deletions

View file

@ -6,6 +6,7 @@ import game.block.Block;
import game.enchantment.EnchantmentHelper;
import game.entity.DamageSource;
import game.entity.Entity;
import game.entity.EntityType;
import game.entity.npc.EntityNPC;
import game.entity.types.EntityLiving;
import game.entity.types.IObjectData;
@ -631,4 +632,8 @@ public class EntityArrow extends Entity implements IProjectile, IObjectData
public boolean hasSpawnVelocity() {
return true;
}
public EntityType getType() {
return EntityType.PROJECTILE;
}
}