mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
Remove Entity->length
This commit is contained in:
parent
d1852834de
commit
a52fa93998
@ -32,7 +32,6 @@ class Arrow extends Projectile{
|
||||
const NETWORK_ID = 80;
|
||||
|
||||
public $width = 0.5;
|
||||
public $length = 0.5;
|
||||
public $height = 0.5;
|
||||
|
||||
protected $gravity = 0.05;
|
||||
@ -98,4 +97,4 @@ class Arrow extends Projectile{
|
||||
|
||||
parent::spawnTo($player);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -296,8 +296,6 @@ abstract class Entity extends Location implements Metadatable{
|
||||
public $height;
|
||||
/** @var float */
|
||||
public $width;
|
||||
/** @var float */
|
||||
public $length;
|
||||
|
||||
/** @var float */
|
||||
protected $baseOffset = 0.0;
|
||||
|
@ -38,7 +38,6 @@ class FallingSand extends Entity{
|
||||
const NETWORK_ID = 66;
|
||||
|
||||
public $width = 0.98;
|
||||
public $length = 0.98;
|
||||
public $height = 0.98;
|
||||
|
||||
protected $baseOffset = 0.49;
|
||||
|
@ -59,7 +59,6 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
||||
protected $rawUUID;
|
||||
|
||||
public $width = 0.6;
|
||||
public $length = 0.6;
|
||||
public $height = 1.8;
|
||||
public $eyeHeight = 1.62;
|
||||
|
||||
|
@ -46,7 +46,6 @@ class Item extends Entity{
|
||||
protected $item;
|
||||
|
||||
public $width = 0.25;
|
||||
public $length = 0.25;
|
||||
public $height = 0.25;
|
||||
protected $baseOffset = 0.125;
|
||||
|
||||
|
@ -35,7 +35,6 @@ class PrimedTNT extends Entity implements Explosive{
|
||||
const NETWORK_ID = 65;
|
||||
|
||||
public $width = 0.98;
|
||||
public $length = 0.98;
|
||||
public $height = 0.98;
|
||||
|
||||
protected $baseOffset = 0.49;
|
||||
@ -129,4 +128,4 @@ class PrimedTNT extends Entity implements Explosive{
|
||||
|
||||
parent::spawnTo($player);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,7 +32,6 @@ class Snowball extends Projectile{
|
||||
const NETWORK_ID = 81;
|
||||
|
||||
public $width = 0.25;
|
||||
public $length = 0.25;
|
||||
public $height = 0.25;
|
||||
|
||||
protected $gravity = 0.03;
|
||||
@ -72,4 +71,4 @@ class Snowball extends Projectile{
|
||||
|
||||
parent::spawnTo($player);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,6 @@ class Squid extends WaterAnimal{
|
||||
const NETWORK_ID = 17;
|
||||
|
||||
public $width = 0.95;
|
||||
public $length = 0.95;
|
||||
public $height = 0.95;
|
||||
|
||||
/** @var Vector3 */
|
||||
|
@ -38,7 +38,6 @@ class Villager extends Creature implements NPC, Ageable{
|
||||
const NETWORK_ID = 15;
|
||||
|
||||
public $width = 0.6;
|
||||
public $length = 0.6;
|
||||
public $height = 1.8;
|
||||
|
||||
public function getName() : string{
|
||||
|
@ -33,7 +33,6 @@ class Zombie extends Monster{
|
||||
const NETWORK_ID = 32;
|
||||
|
||||
public $width = 0.6;
|
||||
public $length = 0.6;
|
||||
public $height = 1.8;
|
||||
|
||||
public function getName() : string{
|
||||
|
Loading…
x
Reference in New Issue
Block a user