command entities
This commit is contained in:
parent
e88958e2f4
commit
460a58e062
32 changed files with 293 additions and 37 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue