mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-14 15:35:31 +00:00
CS cleanup
This commit is contained in:
parent
3f254bd49c
commit
4c0c2ebd24
@ -26,7 +26,6 @@ namespace pocketmine\block;
|
|||||||
use Ds\Deque;
|
use Ds\Deque;
|
||||||
use pocketmine\block\tile\Banner as TileBanner;
|
use pocketmine\block\tile\Banner as TileBanner;
|
||||||
use pocketmine\block\utils\BannerPattern;
|
use pocketmine\block\utils\BannerPattern;
|
||||||
use pocketmine\block\utils\BlockDataSerializer;
|
|
||||||
use pocketmine\block\utils\DyeColor;
|
use pocketmine\block\utils\DyeColor;
|
||||||
use pocketmine\data\bedrock\DyeColorIdMap;
|
use pocketmine\data\bedrock\DyeColorIdMap;
|
||||||
use pocketmine\item\Banner as ItemBanner;
|
use pocketmine\item\Banner as ItemBanner;
|
||||||
@ -34,12 +33,10 @@ use pocketmine\item\Item;
|
|||||||
use pocketmine\item\ItemFactory;
|
use pocketmine\item\ItemFactory;
|
||||||
use pocketmine\item\ItemIds;
|
use pocketmine\item\ItemIds;
|
||||||
use pocketmine\math\AxisAlignedBB;
|
use pocketmine\math\AxisAlignedBB;
|
||||||
use pocketmine\math\Facing;
|
|
||||||
use pocketmine\math\Vector3;
|
use pocketmine\math\Vector3;
|
||||||
use pocketmine\player\Player;
|
use pocketmine\player\Player;
|
||||||
use pocketmine\world\BlockTransaction;
|
use pocketmine\world\BlockTransaction;
|
||||||
use function assert;
|
use function assert;
|
||||||
use function floor;
|
|
||||||
|
|
||||||
abstract class BaseBanner extends Transparent{
|
abstract class BaseBanner extends Transparent{
|
||||||
/** @var DyeColor */
|
/** @var DyeColor */
|
||||||
|
@ -63,8 +63,8 @@ use function cos;
|
|||||||
use function count;
|
use function count;
|
||||||
use function deg2rad;
|
use function deg2rad;
|
||||||
use function floor;
|
use function floor;
|
||||||
|
use function fmod;
|
||||||
use function get_class;
|
use function get_class;
|
||||||
use function is_array;
|
|
||||||
use function is_infinite;
|
use function is_infinite;
|
||||||
use function is_nan;
|
use function is_nan;
|
||||||
use function lcg_value;
|
use function lcg_value;
|
||||||
|
@ -28,7 +28,6 @@ use pocketmine\block\Block;
|
|||||||
use pocketmine\block\tile\Banner as TileBanner;
|
use pocketmine\block\tile\Banner as TileBanner;
|
||||||
use pocketmine\block\utils\BannerPattern;
|
use pocketmine\block\utils\BannerPattern;
|
||||||
use pocketmine\block\utils\DyeColor;
|
use pocketmine\block\utils\DyeColor;
|
||||||
use pocketmine\block\VanillaBlocks;
|
|
||||||
use pocketmine\data\bedrock\DyeColorIdMap;
|
use pocketmine\data\bedrock\DyeColorIdMap;
|
||||||
use pocketmine\nbt\tag\CompoundTag;
|
use pocketmine\nbt\tag\CompoundTag;
|
||||||
use pocketmine\nbt\tag\ListTag;
|
use pocketmine\nbt\tag\ListTag;
|
||||||
|
@ -24,7 +24,6 @@ declare(strict_types=1);
|
|||||||
namespace pocketmine\item;
|
namespace pocketmine\item;
|
||||||
|
|
||||||
use pocketmine\utils\CloningRegistryTrait;
|
use pocketmine\utils\CloningRegistryTrait;
|
||||||
use pocketmine\utils\RegistryTrait;
|
|
||||||
use function assert;
|
use function assert;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -64,7 +64,6 @@ use pocketmine\network\mcpe\protocol\InteractPacket;
|
|||||||
use pocketmine\network\mcpe\protocol\InventoryTransactionPacket;
|
use pocketmine\network\mcpe\protocol\InventoryTransactionPacket;
|
||||||
use pocketmine\network\mcpe\protocol\ItemFrameDropItemPacket;
|
use pocketmine\network\mcpe\protocol\ItemFrameDropItemPacket;
|
||||||
use pocketmine\network\mcpe\protocol\LabTablePacket;
|
use pocketmine\network\mcpe\protocol\LabTablePacket;
|
||||||
use pocketmine\network\mcpe\protocol\LevelSoundEventPacket;
|
|
||||||
use pocketmine\network\mcpe\protocol\LevelSoundEventPacketV1;
|
use pocketmine\network\mcpe\protocol\LevelSoundEventPacketV1;
|
||||||
use pocketmine\network\mcpe\protocol\MapInfoRequestPacket;
|
use pocketmine\network\mcpe\protocol\MapInfoRequestPacket;
|
||||||
use pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket;
|
use pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket;
|
||||||
|
@ -40,6 +40,7 @@ use function array_fill;
|
|||||||
use function array_filter;
|
use function array_filter;
|
||||||
use function array_map;
|
use function array_map;
|
||||||
use function count;
|
use function count;
|
||||||
|
use function max;
|
||||||
use function str_repeat;
|
use function str_repeat;
|
||||||
|
|
||||||
class Chunk{
|
class Chunk{
|
||||||
|
@ -294,7 +294,6 @@ abstract class Noise{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The following code originally called trilinearLerp() in a loop, but it was later inlined to elide function
|
* The following code originally called trilinearLerp() in a loop, but it was later inlined to elide function
|
||||||
* call overhead.
|
* call overhead.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user