mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Optimize Imports
This commit is contained in:
parent
b3a2d3164f
commit
a84f756fd5
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine;
|
namespace PocketMine;
|
||||||
|
|
||||||
use PocketMine\Level\Level;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Level\Position;
|
use PocketMine\Level\Position;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\NBT\Tag\Int;
|
use PocketMine\NBT\Tag\Int;
|
||||||
|
@ -21,13 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine;
|
namespace PocketMine;
|
||||||
|
|
||||||
use PocketMine\Level\Level;
|
|
||||||
use PocketMine\Entity\RealHuman;
|
use PocketMine\Entity\RealHuman;
|
||||||
use PocketMine\Event;
|
|
||||||
use PocketMine\Event\EventHandler;
|
use PocketMine\Event\EventHandler;
|
||||||
use PocketMine\Event\Server\DataPacketReceiveEvent;
|
use PocketMine\Event;
|
||||||
use PocketMine\Event\Server\DataPacketSendEvent;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Level\Position;
|
use PocketMine\Level\Position;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\NBT\NBT;
|
use PocketMine\NBT\NBT;
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Network\Protocol\ChatPacket;
|
use PocketMine\Network\Protocol\ChatPacket;
|
||||||
use PocketMine\ServerAPI;
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Bed extends Transparent{
|
class Bed extends Transparent{
|
||||||
public function __construct($type = 0){
|
public function __construct($type = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Beetroot extends Flowable{
|
class Beetroot extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -24,11 +24,11 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
|
use PocketMine;
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Level\Position;
|
use PocketMine\Level\Position;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
use PocketMine;
|
|
||||||
|
|
||||||
abstract class Block extends Position{
|
abstract class Block extends Position{
|
||||||
const AIR = 0;
|
const AIR = 0;
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class BrownMushroom extends Flowable{
|
class BrownMushroom extends Flowable{
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\NBT\Tag\Enum;
|
use PocketMine\NBT\Tag\Enum;
|
||||||
@ -29,6 +28,7 @@ use PocketMine\NBT\Tag\Int;
|
|||||||
use PocketMine\NBT\Tag\String;
|
use PocketMine\NBT\Tag\String;
|
||||||
use PocketMine\Tile\Furnace;
|
use PocketMine\Tile\Furnace;
|
||||||
use PocketMine\Tile\Tile;
|
use PocketMine\Tile\Tile;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class BurningFurnace extends Solid{
|
class BurningFurnace extends Solid{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\ServerAPI;
|
use PocketMine\ServerAPI;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine;
|
||||||
|
|
||||||
class Cactus extends Transparent{
|
class Cactus extends Transparent{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Cake extends Transparent{
|
class Cake extends Transparent{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Carpet extends Flowable{
|
class Carpet extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Carrot extends Flowable{
|
class Carrot extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\NBT\Tag\Enum;
|
use PocketMine\NBT\Tag\Enum;
|
||||||
@ -29,6 +28,7 @@ use PocketMine\NBT\Tag\Int;
|
|||||||
use PocketMine\NBT\Tag\String;
|
use PocketMine\NBT\Tag\String;
|
||||||
use PocketMine\Tile\Chest as TileChest;
|
use PocketMine\Tile\Chest as TileChest;
|
||||||
use PocketMine\Tile\Tile;
|
use PocketMine\Tile\Tile;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Chest extends Transparent{
|
class Chest extends Transparent{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class CyanFlower extends Flowable{
|
class CyanFlower extends Flowable{
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Dandelion extends Flowable{
|
class Dandelion extends Flowable{
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Network\Protocol\LevelEventPacket;
|
use PocketMine\Network\Protocol\LevelEventPacket;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine;
|
||||||
|
|
||||||
|
|
||||||
abstract class Door extends Transparent{
|
abstract class Door extends Transparent{
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\ServerAPI;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Fallable extends Solid{
|
class Fallable extends Solid{
|
||||||
|
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Fire extends Flowable{
|
class Fire extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\ServerAPI;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Generic extends Block{
|
class Generic extends Block{
|
||||||
|
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class GlowingRedstoneOre extends Solid{
|
class GlowingRedstoneOre extends Solid{
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Generator\Object\TallGrass;
|
use PocketMine\Level\Generator\Object\TallGrass;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Grass extends Solid{
|
class Grass extends Solid{
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Ladder extends Transparent{
|
class Ladder extends Transparent{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Level\Position;
|
use PocketMine\Level\Position;
|
||||||
use PocketMine\ServerAPI;
|
use PocketMine\ServerAPI;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine;
|
||||||
|
|
||||||
class Lava extends Liquid{
|
class Lava extends Liquid{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\ServerAPI;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Leaves extends Transparent{
|
class Leaves extends Transparent{
|
||||||
const OAK = 0;
|
const OAK = 0;
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class MelonStem extends Flowable{
|
class MelonStem extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Potato extends Flowable{
|
class Potato extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class PumpkinStem extends Flowable{
|
class PumpkinStem extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class RedMushroom extends Flowable{
|
class RedMushroom extends Flowable{
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class RedstoneOre extends Solid{
|
class RedstoneOre extends Solid{
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Generator\Object\Tree;
|
use PocketMine\Level\Generator\Object\Tree;
|
||||||
use PocketMine\Utils\Random;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Sapling extends Flowable{
|
class Sapling extends Flowable{
|
||||||
const OAK = 0;
|
const OAK = 0;
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class SignPost extends Transparent{
|
class SignPost extends Transparent{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class SnowLayer extends Flowable{
|
class SnowLayer extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Sugarcane extends Flowable{
|
class Sugarcane extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class TallGrass extends Flowable{
|
class TallGrass extends Flowable{
|
||||||
public function __construct($meta = 1){
|
public function __construct($meta = 1){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Torch extends Flowable{
|
class Torch extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\ServerAPI;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Water extends Liquid{
|
class Water extends Liquid{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Block;
|
namespace PocketMine\Block;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Wheat extends Flowable{
|
class Wheat extends Flowable{
|
||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Entity;
|
namespace PocketMine\Entity;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Event\Entity\EntityLevelChangeEvent;
|
use PocketMine\Event\Entity\EntityLevelChangeEvent;
|
||||||
use PocketMine\Event\Entity\EntityMotionEvent;
|
use PocketMine\Event\Entity\EntityMotionEvent;
|
||||||
use PocketMine\Event\Entity\EntityMoveEvent;
|
use PocketMine\Event\Entity\EntityMoveEvent;
|
||||||
@ -41,6 +40,7 @@ use PocketMine\Network\Protocol\RemoveEntityPacket;
|
|||||||
use PocketMine\Network\Protocol\SetEntityMotionPacket;
|
use PocketMine\Network\Protocol\SetEntityMotionPacket;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
use PocketMine\PMF\LevelFormat;
|
use PocketMine\PMF\LevelFormat;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
abstract class Entity extends Position{
|
abstract class Entity extends Position{
|
||||||
public static $entityCount = 1;
|
public static $entityCount = 1;
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
namespace PocketMine\Entity;
|
namespace PocketMine\Entity;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Event\Entity\EntityArmorChangeEvent;
|
use PocketMine\Event\Entity\EntityArmorChangeEvent;
|
||||||
use PocketMine\Event\Entity\EntityInventoryChangeEvent;
|
use PocketMine\Event\Entity\EntityInventoryChangeEvent;
|
||||||
use PocketMine\Event\Event;
|
use PocketMine\Event\Event;
|
||||||
@ -30,13 +29,14 @@ use PocketMine\Item\Item;
|
|||||||
use PocketMine\NBT\Tag\Byte;
|
use PocketMine\NBT\Tag\Byte;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\NBT\Tag\Short;
|
use PocketMine\NBT\Tag\Short;
|
||||||
|
use PocketMine\Network;
|
||||||
use PocketMine\Network\Protocol\AddPlayerPacket;
|
use PocketMine\Network\Protocol\AddPlayerPacket;
|
||||||
use PocketMine\Network\Protocol\ContainerSetContentPacket;
|
use PocketMine\Network\Protocol\ContainerSetContentPacket;
|
||||||
use PocketMine\Network\Protocol\PlayerEquipmentPacket;
|
use PocketMine\Network\Protocol\PlayerEquipmentPacket;
|
||||||
use PocketMine\Network\Protocol\RemovePlayerPacket;
|
use PocketMine\Network\Protocol\RemovePlayerPacket;
|
||||||
use PocketMine\Network\Protocol\SetEntityMotionPacket;
|
use PocketMine\Network\Protocol\SetEntityMotionPacket;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
use PocketMine\Network;
|
use PocketMine;
|
||||||
|
|
||||||
class Human extends Creature implements ProjectileSource, InventorySource{
|
class Human extends Creature implements ProjectileSource, InventorySource{
|
||||||
|
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
namespace PocketMine\Event\Entity;
|
namespace PocketMine\Event\Entity;
|
||||||
|
|
||||||
use PocketMine\Entity\Entity;
|
use PocketMine\Entity\Entity;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Event;
|
|
||||||
use PocketMine\Item\Item;
|
|
||||||
use PocketMine\Event\CancellableEvent;
|
use PocketMine\Event\CancellableEvent;
|
||||||
|
use PocketMine\Event;
|
||||||
|
use PocketMine;
|
||||||
|
use PocketMine\Item\Item;
|
||||||
|
|
||||||
class EntityArmorChangeEvent extends EntityEvent implements CancellableEvent{
|
class EntityArmorChangeEvent extends EntityEvent implements CancellableEvent{
|
||||||
public static $handlers;
|
public static $handlers;
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
namespace PocketMine\Event\Entity;
|
namespace PocketMine\Event\Entity;
|
||||||
|
|
||||||
use PocketMine\Entity\Entity;
|
use PocketMine\Entity\Entity;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Event;
|
|
||||||
use PocketMine\Item\Item;
|
|
||||||
use PocketMine\Event\CancellableEvent;
|
use PocketMine\Event\CancellableEvent;
|
||||||
|
use PocketMine\Event;
|
||||||
|
use PocketMine;
|
||||||
|
use PocketMine\Item\Item;
|
||||||
|
|
||||||
class EntityInventoryChangeEvent extends EntityEvent implements CancellableEvent{
|
class EntityInventoryChangeEvent extends EntityEvent implements CancellableEvent{
|
||||||
public static $handlers;
|
public static $handlers;
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
namespace PocketMine\Event\Entity;
|
namespace PocketMine\Event\Entity;
|
||||||
|
|
||||||
use PocketMine\Entity\Entity;
|
use PocketMine\Entity\Entity;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Event;
|
|
||||||
use PocketMine\Level\Level;
|
|
||||||
use PocketMine\Event\CancellableEvent;
|
use PocketMine\Event\CancellableEvent;
|
||||||
|
use PocketMine\Event;
|
||||||
|
use PocketMine;
|
||||||
|
use PocketMine\Level\Level;
|
||||||
|
|
||||||
class EntityLevelChangeEvent extends EntityEvent implements CancellableEvent{
|
class EntityLevelChangeEvent extends EntityEvent implements CancellableEvent{
|
||||||
public static $handlers;
|
public static $handlers;
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
namespace PocketMine\Event\Entity;
|
namespace PocketMine\Event\Entity;
|
||||||
|
|
||||||
use PocketMine\Entity\Entity;
|
use PocketMine\Entity\Entity;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Event;
|
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
|
||||||
use PocketMine\Event\CancellableEvent;
|
use PocketMine\Event\CancellableEvent;
|
||||||
|
use PocketMine\Event;
|
||||||
|
use PocketMine;
|
||||||
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
|
|
||||||
class EntityMotionEvent extends EntityEvent implements CancellableEvent{
|
class EntityMotionEvent extends EntityEvent implements CancellableEvent{
|
||||||
public static $handlers;
|
public static $handlers;
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
namespace PocketMine\Event\Entity;
|
namespace PocketMine\Event\Entity;
|
||||||
|
|
||||||
use PocketMine\Entity\Entity;
|
use PocketMine\Entity\Entity;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Event;
|
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
|
||||||
use PocketMine\Event\CancellableEvent;
|
use PocketMine\Event\CancellableEvent;
|
||||||
|
use PocketMine\Event;
|
||||||
|
use PocketMine;
|
||||||
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
|
|
||||||
class EntityMoveEvent extends EntityEvent implements CancellableEvent{
|
class EntityMoveEvent extends EntityEvent implements CancellableEvent{
|
||||||
public static $handlers;
|
public static $handlers;
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
namespace PocketMine\Event\Player;
|
namespace PocketMine\Event\Player;
|
||||||
|
|
||||||
use PocketMine\Event;
|
use PocketMine\Event;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
|
||||||
use PocketMine\Event\CancellableEvent;
|
use PocketMine\Event\CancellableEvent;
|
||||||
|
use PocketMine\Item\Item;
|
||||||
|
use PocketMine;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
|
|
||||||
class PlayerEquipmentChangeEvent extends PlayerEvent implements CancellableEvent{
|
class PlayerEquipmentChangeEvent extends PlayerEvent implements CancellableEvent{
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
namespace PocketMine\Event\Server;
|
namespace PocketMine\Event\Server;
|
||||||
|
|
||||||
use PocketMine\Event;
|
use PocketMine\Event;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Network\Protocol\DataPacket;
|
|
||||||
use PocketMine\Event\CancellableEvent;
|
use PocketMine\Event\CancellableEvent;
|
||||||
|
use PocketMine\Network\Protocol\DataPacket;
|
||||||
|
use PocketMine;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
|
|
||||||
class DataPacketReceiveEvent extends ServerEvent implements CancellableEvent{
|
class DataPacketReceiveEvent extends ServerEvent implements CancellableEvent{
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
namespace PocketMine\Event\Server;
|
namespace PocketMine\Event\Server;
|
||||||
|
|
||||||
use PocketMine\Event;
|
use PocketMine\Event;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Network\Protocol\DataPacket;
|
|
||||||
use PocketMine\Event\CancellableEvent;
|
use PocketMine\Event\CancellableEvent;
|
||||||
|
use PocketMine\Network\Protocol\DataPacket;
|
||||||
|
use PocketMine;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
|
|
||||||
class DataPacketSendEvent extends ServerEvent implements CancellableEvent{
|
class DataPacketSendEvent extends ServerEvent implements CancellableEvent{
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Event\Server;
|
namespace PocketMine\Event\Server;
|
||||||
|
|
||||||
|
use PocketMine\Event\CancellableEvent;
|
||||||
use PocketMine\Event;
|
use PocketMine\Event;
|
||||||
use PocketMine;
|
use PocketMine;
|
||||||
use PocketMine\Network\Packet;
|
use PocketMine\Network\Packet;
|
||||||
use PocketMine\Event\CancellableEvent;
|
|
||||||
|
|
||||||
class PacketReceiveEvent extends ServerEvent implements CancellableEvent{
|
class PacketReceiveEvent extends ServerEvent implements CancellableEvent{
|
||||||
public static $handlers;
|
public static $handlers;
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Event\Server;
|
namespace PocketMine\Event\Server;
|
||||||
|
|
||||||
|
use PocketMine\Event\CancellableEvent;
|
||||||
use PocketMine\Event;
|
use PocketMine\Event;
|
||||||
use PocketMine;
|
use PocketMine;
|
||||||
use PocketMine\Network\Packet;
|
use PocketMine\Network\Packet;
|
||||||
use PocketMine\Event\CancellableEvent;
|
|
||||||
|
|
||||||
class PacketSendEvent extends ServerEvent implements CancellableEvent{
|
class PacketSendEvent extends ServerEvent implements CancellableEvent{
|
||||||
public static $handlers;
|
public static $handlers;
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
namespace PocketMine\Event\Tile;
|
namespace PocketMine\Event\Tile;
|
||||||
|
|
||||||
use PocketMine\Event;
|
use PocketMine\Event;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
|
use PocketMine;
|
||||||
use PocketMine\Tile\Tile;
|
use PocketMine\Tile\Tile;
|
||||||
|
|
||||||
class TileInventoryChangeEvent extends TileEvent implements CancellableEvent{
|
class TileInventoryChangeEvent extends TileEvent implements CancellableEvent{
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
namespace PocketMine\Item;
|
namespace PocketMine\Item;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Air;
|
use PocketMine\Block\Air;
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Block\Lava;
|
use PocketMine\Block\Lava;
|
||||||
use PocketMine\Block\Liquid;
|
use PocketMine\Block\Liquid;
|
||||||
use PocketMine\Block\Water;
|
use PocketMine\Block\Water;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Bucket extends Item{
|
class Bucket extends Item{
|
||||||
public function __construct($meta = 0, $count = 1){
|
public function __construct($meta = 0, $count = 1){
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Item;
|
namespace PocketMine\Item;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Block\Fire;
|
use PocketMine\Block\Fire;
|
||||||
use PocketMine\Block\Solid;
|
use PocketMine\Block\Solid;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class FlintSteel extends Item{
|
class FlintSteel extends Item{
|
||||||
public function __construct($meta = 0, $count = 1){
|
public function __construct($meta = 0, $count = 1){
|
||||||
|
@ -24,13 +24,13 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Item;
|
namespace PocketMine\Item;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Entity\Entity;
|
use PocketMine\Entity\Entity;
|
||||||
use PocketMine\Item\Block as ItemBlock;
|
use PocketMine\Item\Block as ItemBlock;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Recipes\Fuel;
|
use PocketMine\Recipes\Fuel;
|
||||||
use PocketMine\Recipes\Smelt;
|
use PocketMine\Recipes\Smelt;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Item{
|
class Item{
|
||||||
//All Block IDs are here too
|
//All Block IDs are here too
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Item;
|
namespace PocketMine\Item;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\ServerAPI;
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Painting extends Item{
|
class Painting extends Item{
|
||||||
public function __construct($meta = 0, $count = 1){
|
public function __construct($meta = 0, $count = 1){
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Item;
|
namespace PocketMine\Item;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class SpawnEgg extends Item{
|
class SpawnEgg extends Item{
|
||||||
public function __construct($meta = 0, $count = 1){
|
public function __construct($meta = 0, $count = 1){
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level;
|
namespace PocketMine\Level;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Block\TNT;
|
use PocketMine\Block\TNT;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Network\Protocol\ExplodePacket;
|
use PocketMine\Network\Protocol\ExplodePacket;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
use PocketMine\ServerAPI;
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Explosion{
|
class Explosion{
|
||||||
public static $specialDrops = array(
|
public static $specialDrops = array(
|
||||||
|
@ -24,16 +24,16 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Level;
|
namespace PocketMine\Level;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Utils\Utils;
|
|
||||||
use PocketMine\Block\Air;
|
use PocketMine\Block\Air;
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
|
use PocketMine\Level\Generator\Flat;
|
||||||
use PocketMine\Level\Generator\Generator;
|
use PocketMine\Level\Generator\Generator;
|
||||||
|
use PocketMine\Level\Generator\Normal;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
|
use PocketMine\NBT\NBT;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\NBT\Tag\Enum;
|
use PocketMine\NBT\Tag\Enum;
|
||||||
use PocketMine\NBT\Tag\Short;
|
use PocketMine\NBT\Tag\Short;
|
||||||
use PocketMine\NBT\NBT;
|
|
||||||
use PocketMine\Network\Protocol\SetTimePacket;
|
use PocketMine\Network\Protocol\SetTimePacket;
|
||||||
use PocketMine\Network\Protocol\UpdateBlockPacket;
|
use PocketMine\Network\Protocol\UpdateBlockPacket;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
@ -46,8 +46,8 @@ use PocketMine\Tile\Tile;
|
|||||||
use PocketMine\Utils\Cache;
|
use PocketMine\Utils\Cache;
|
||||||
use PocketMine\Utils\Config;
|
use PocketMine\Utils\Config;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
use PocketMine\Level\Generator\Flat;
|
use PocketMine\Utils\Utils;
|
||||||
use PocketMine\Level\Generator\Normal;
|
use PocketMine;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Level
|
* Class Level
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level;
|
namespace PocketMine\Level;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\PMF\LevelFormat;
|
use PocketMine\PMF\LevelFormat;
|
||||||
use PocketMine\Utils\Config;
|
use PocketMine\Utils\Config;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class LevelImport{
|
class LevelImport{
|
||||||
private $path;
|
private $path;
|
||||||
|
@ -21,12 +21,12 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level;
|
namespace PocketMine\Level;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Generator\Generator;
|
use PocketMine\Level\Generator\Generator;
|
||||||
use PocketMine\PMF\LevelFormat;
|
use PocketMine\PMF\LevelFormat;
|
||||||
use PocketMine\Utils\Config;
|
use PocketMine\Utils\Config;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
use PocketMine\Utils\Utils;
|
use PocketMine\Utils\Utils;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class WorldGenerator{
|
class WorldGenerator{
|
||||||
private $seed, $level, $path, $random, $generator, $height;
|
private $seed, $level, $path, $random, $generator, $height;
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator;
|
namespace PocketMine\Level\Generator;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\CoalOre;
|
use PocketMine\Block\CoalOre;
|
||||||
use PocketMine\Block\DiamondOre;
|
use PocketMine\Block\DiamondOre;
|
||||||
use PocketMine\Block\Dirt;
|
use PocketMine\Block\Dirt;
|
||||||
@ -35,6 +34,7 @@ use PocketMine\Level\Generator\Populator\Ore;
|
|||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Flat extends Generator{
|
class Flat extends Generator{
|
||||||
private $level, $random, $structure, $chunks, $options, $floorLevel, $preset, $populators = array();
|
private $level, $random, $structure, $chunks, $options, $floorLevel, $preset, $populators = array();
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Level\Generator;
|
namespace PocketMine\Level\Generator;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
abstract class Generator{
|
abstract class Generator{
|
||||||
private static $list = array();
|
private static $list = array();
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator;
|
namespace PocketMine\Level\Generator;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\CoalOre;
|
use PocketMine\Block\CoalOre;
|
||||||
use PocketMine\Block\DiamondOre;
|
use PocketMine\Block\DiamondOre;
|
||||||
use PocketMine\Block\Dirt;
|
use PocketMine\Block\Dirt;
|
||||||
@ -38,6 +37,7 @@ use PocketMine\Level\Generator\Populator\Tree;
|
|||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Normal extends Generator{
|
class Normal extends Generator{
|
||||||
|
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Object;
|
namespace PocketMine\Level\Generator\Object;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class BigTree extends Tree{
|
class BigTree extends Tree{
|
||||||
private $trunkHeightMultiplier = 0.618;
|
private $trunkHeightMultiplier = 0.618;
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Object;
|
namespace PocketMine\Level\Generator\Object;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Math\VectorMath;
|
use PocketMine\Math\VectorMath;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Ore{
|
class Ore{
|
||||||
private $random;
|
private $random;
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Object;
|
namespace PocketMine\Level\Generator\Object;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Dirt;
|
use PocketMine\Block\Dirt;
|
||||||
use PocketMine\Block\Leaves;
|
use PocketMine\Block\Leaves;
|
||||||
use PocketMine\Block\Wood;
|
use PocketMine\Block\Wood;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class PineTree extends Tree{
|
class PineTree extends Tree{
|
||||||
var $type = 1;
|
var $type = 1;
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Object;
|
namespace PocketMine\Level\Generator\Object;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Pond{
|
class Pond{
|
||||||
private $random;
|
private $random;
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Object;
|
namespace PocketMine\Level\Generator\Object;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Dirt;
|
use PocketMine\Block\Dirt;
|
||||||
use PocketMine\Block\Leaves;
|
use PocketMine\Block\Leaves;
|
||||||
use PocketMine\Block\Wood;
|
use PocketMine\Block\Wood;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class SmallTree extends Tree{
|
class SmallTree extends Tree{
|
||||||
public $type = 0;
|
public $type = 0;
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Object;
|
namespace PocketMine\Level\Generator\Object;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Dirt;
|
use PocketMine\Block\Dirt;
|
||||||
use PocketMine\Block\Leaves;
|
use PocketMine\Block\Leaves;
|
||||||
use PocketMine\Block\Wood;
|
use PocketMine\Block\Wood;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class SpruceTree extends Tree{
|
class SpruceTree extends Tree{
|
||||||
var $type = 1;
|
var $type = 1;
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
namespace PocketMine\Level\Generator\Object;
|
namespace PocketMine\Level\Generator\Object;
|
||||||
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level;
|
use PocketMine\Level;
|
||||||
|
use PocketMine;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
|
|
||||||
class TallGrass{
|
class TallGrass{
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Object;
|
namespace PocketMine\Level\Generator\Object;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Sapling;
|
use PocketMine\Block\Sapling;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Tree{
|
class Tree{
|
||||||
public $overridable = array(
|
public $overridable = array(
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Populator;
|
namespace PocketMine\Level\Generator\Populator;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Mineshaft extends Populator{
|
class Mineshaft extends Populator{
|
||||||
private static $DISTANCE = 256;
|
private static $DISTANCE = 256;
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Populator;
|
namespace PocketMine\Level\Generator\Populator;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Generator\Object\Ore as ObjectOre;
|
use PocketMine\Level\Generator\Object\Ore as ObjectOre;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Ore extends Populator{
|
class Ore extends Populator{
|
||||||
private $oreTypes = array();
|
private $oreTypes = array();
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Populator;
|
namespace PocketMine\Level\Generator\Populator;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Water;
|
use PocketMine\Block\Water;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Pond extends Populator{
|
class Pond extends Populator{
|
||||||
private $waterOdd = 4;
|
private $waterOdd = 4;
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Level\Generator\Populator;
|
namespace PocketMine\Level\Generator\Populator;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
abstract class Populator{
|
abstract class Populator{
|
||||||
public abstract function populate(Level $level, $chunkX, $chunkZ, Random $random);
|
public abstract function populate(Level $level, $chunkX, $chunkZ, Random $random);
|
||||||
|
@ -21,12 +21,12 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Populator;
|
namespace PocketMine\Level\Generator\Populator;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Block\TallGrass as BlockTallGrass;
|
use PocketMine\Block\TallGrass as BlockTallGrass;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class TallGrass extends Populator{
|
class TallGrass extends Populator{
|
||||||
private $level;
|
private $level;
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
namespace PocketMine\Level\Generator\Populator;
|
namespace PocketMine\Level\Generator\Populator;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Block\Sapling;
|
use PocketMine\Block\Sapling;
|
||||||
use PocketMine\Level\Generator\Object\Tree as ObjectTree;
|
use PocketMine\Level\Generator\Object\Tree as ObjectTree;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\Utils\Random;
|
use PocketMine\Utils\Random;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Tree extends Populator{
|
class Tree extends Populator{
|
||||||
private $level;
|
private $level;
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\NBT;
|
namespace PocketMine\NBT;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\NBT\Tag\Byte;
|
use PocketMine\NBT\Tag\Byte;
|
||||||
use PocketMine\NBT\Tag\Byte_Array;
|
use PocketMine\NBT\Tag\Byte_Array;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
@ -40,6 +39,7 @@ use PocketMine\NBT\Tag\Short;
|
|||||||
use PocketMine\NBT\Tag\String;
|
use PocketMine\NBT\Tag\String;
|
||||||
use PocketMine\NBT\Tag\Tag;
|
use PocketMine\NBT\Tag\Tag;
|
||||||
use PocketMine\Utils\Utils;
|
use PocketMine\Utils\Utils;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class NBT implements \ArrayAccess{
|
class NBT implements \ArrayAccess{
|
||||||
const LITTLE_ENDIAN = 0;
|
const LITTLE_ENDIAN = 0;
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Network;
|
namespace PocketMine\Network;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Event\Event;
|
use PocketMine\Event\Event;
|
||||||
use PocketMine\Event\EventHandler;
|
use PocketMine\Event\EventHandler;
|
||||||
use PocketMine\Event\Server\PacketReceiveEvent;
|
use PocketMine\Event\Server\PacketReceiveEvent;
|
||||||
@ -34,6 +33,7 @@ use PocketMine\Network\Query\QueryPacket;
|
|||||||
use PocketMine\Network\RakNet\Info;
|
use PocketMine\Network\RakNet\Info;
|
||||||
use PocketMine\Network\RakNet\Packet;
|
use PocketMine\Network\RakNet\Packet;
|
||||||
use PocketMine\ServerAPI;
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Handler{
|
class Handler{
|
||||||
public $bandwidth;
|
public $bandwidth;
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Network\Protocol;
|
namespace PocketMine\Network\Protocol;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Utils\Utils;
|
use PocketMine\Utils\Utils;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
abstract class DataPacket{
|
abstract class DataPacket{
|
||||||
private $offset = 0;
|
private $offset = 0;
|
||||||
|
@ -25,11 +25,11 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Network\Query;
|
namespace PocketMine\Network\Query;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
use PocketMine\ServerAPI;
|
use PocketMine\ServerAPI;
|
||||||
use PocketMine\Utils\Utils;
|
use PocketMine\Utils\Utils;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class QueryHandler{
|
class QueryHandler{
|
||||||
private $socket, $server, $lastToken, $token, $longData, $timeout;
|
private $socket, $server, $lastToken, $token, $longData, $timeout;
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
namespace PocketMine\Network\Query;
|
namespace PocketMine\Network\Query;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Network\Packet;
|
use PocketMine\Network\Packet;
|
||||||
use PocketMine\Utils\Utils;
|
use PocketMine\Utils\Utils;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class QueryPacket extends Packet{
|
class QueryPacket extends Packet{
|
||||||
const HANDSHAKE = 9;
|
const HANDSHAKE = 9;
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
namespace PocketMine\Network\RakNet;
|
namespace PocketMine\Network\RakNet;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Network;
|
use PocketMine\Network;
|
||||||
use PocketMine\Network\Protocol\Info as ProtocolInfo;
|
use PocketMine\Network\Protocol\Info as ProtocolInfo;
|
||||||
use PocketMine\Utils\Utils;
|
use PocketMine\Utils\Utils;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Packet extends Network\Packet{
|
class Packet extends Network\Packet{
|
||||||
private $packetID;
|
private $packetID;
|
||||||
|
@ -21,12 +21,12 @@
|
|||||||
|
|
||||||
namespace PocketMine\PMF;
|
namespace PocketMine\PMF;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\NBT\NBT;
|
use PocketMine\NBT\NBT;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\NBT\Tag\Enum;
|
use PocketMine\NBT\Tag\Enum;
|
||||||
use PocketMine\Utils\Utils;
|
use PocketMine\Utils\Utils;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class LevelFormat extends PMF{
|
class LevelFormat extends PMF{
|
||||||
const VERSION = 2;
|
const VERSION = 2;
|
||||||
|
@ -24,10 +24,10 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Recipes;
|
namespace PocketMine\Recipes;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\BlockAPI;
|
use PocketMine\BlockAPI;
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\ServerAPI;
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
abstract class Crafting{
|
abstract class Crafting{
|
||||||
private static $small = array( //Probably means craftable on crafting bench and in inventory. Name it better!
|
private static $small = array( //Probably means craftable on crafting bench and in inventory. Name it better!
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
namespace PocketMine\Tile;
|
namespace PocketMine\Tile;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Math\Vector3 as Vector3;
|
use PocketMine\Math\Vector3 as Vector3;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\NBT\Tag\Int;
|
use PocketMine\NBT\Tag\Int;
|
||||||
use PocketMine\NBT\Tag\String;
|
use PocketMine\NBT\Tag\String;
|
||||||
use PocketMine\Network\Protocol\EntityDataPacket;
|
use PocketMine\Network\Protocol\EntityDataPacket;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Chest extends Spawnable{
|
class Chest extends Spawnable{
|
||||||
use Container;
|
use Container;
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
namespace PocketMine\Tile;
|
namespace PocketMine\Tile;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Event\Event;
|
use PocketMine\Event\Event;
|
||||||
use PocketMine\Event\EventHandler;
|
use PocketMine\Event\EventHandler;
|
||||||
use PocketMine\Event\Tile\TileInventoryChangeEvent;
|
use PocketMine\Event\Tile\TileInventoryChangeEvent;
|
||||||
@ -30,6 +29,7 @@ use PocketMine\NBT\Tag\Byte;
|
|||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\NBT\Tag\Short;
|
use PocketMine\NBT\Tag\Short;
|
||||||
use PocketMine\Player;
|
use PocketMine\Player;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
trait Container{
|
trait Container{
|
||||||
public function openInventory(Player $player){
|
public function openInventory(Player $player){
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
namespace PocketMine\Tile;
|
namespace PocketMine\Tile;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Block\Block;
|
use PocketMine\Block\Block;
|
||||||
use PocketMine\Item\Item;
|
use PocketMine\Item\Item;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
class Furnace extends Tile{
|
class Furnace extends Tile{
|
||||||
use Container;
|
use Container;
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
namespace PocketMine\Tile;
|
namespace PocketMine\Tile;
|
||||||
|
|
||||||
use PocketMine;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\NBT\NBT;
|
use PocketMine\NBT\NBT;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\NBT\Tag\Int;
|
use PocketMine\NBT\Tag\Int;
|
||||||
use PocketMine\NBT\Tag\String;
|
use PocketMine\NBT\Tag\String;
|
||||||
use PocketMine\Network\Protocol\EntityDataPacket;
|
use PocketMine\Network\Protocol\EntityDataPacket;
|
||||||
use PocketMine\Level\Level;
|
use PocketMine;
|
||||||
|
|
||||||
class Sign extends Spawnable{
|
class Sign extends Spawnable{
|
||||||
|
|
||||||
|
@ -25,12 +25,12 @@
|
|||||||
*/
|
*/
|
||||||
namespace PocketMine\Tile;
|
namespace PocketMine\Tile;
|
||||||
|
|
||||||
use PocketMine;
|
|
||||||
use PocketMine\Level\Level;
|
use PocketMine\Level\Level;
|
||||||
use PocketMine\Level\Position;
|
use PocketMine\Level\Position;
|
||||||
use PocketMine\NBT\Tag\Compound;
|
use PocketMine\NBT\Tag\Compound;
|
||||||
use PocketMine\PMF\LevelFormat;
|
use PocketMine\PMF\LevelFormat;
|
||||||
use PocketMine\ServerAPI;
|
use PocketMine\ServerAPI;
|
||||||
|
use PocketMine;
|
||||||
|
|
||||||
abstract class Tile extends Position{
|
abstract class Tile extends Position{
|
||||||
const SIGN = "Sign";
|
const SIGN = "Sign";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user