namespace tidy

This commit is contained in:
Dylan K. Taylor 2024-11-24 23:29:13 +00:00
parent 1d2b52732e
commit fe1a8d98e7
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
37 changed files with 48 additions and 49 deletions

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\AnvilInventoryWindow; use pocketmine\block\inventory\window\AnvilInventoryWindow;
use pocketmine\block\utils\Fallable; use pocketmine\block\utils\Fallable;
use pocketmine\block\utils\FallableTrait; use pocketmine\block\utils\FallableTrait;
use pocketmine\block\utils\HorizontalFacingTrait; use pocketmine\block\utils\HorizontalFacingTrait;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\BarrelInventoryWindow; use pocketmine\block\inventory\window\BarrelInventoryWindow;
use pocketmine\block\tile\Barrel as TileBarrel; use pocketmine\block\tile\Barrel as TileBarrel;
use pocketmine\block\utils\AnyFacingTrait; use pocketmine\block\utils\AnyFacingTrait;
use pocketmine\data\runtime\RuntimeDataDescriber; use pocketmine\data\runtime\RuntimeDataDescriber;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\BrewingStandInventoryWindow; use pocketmine\block\inventory\window\BrewingStandInventoryWindow;
use pocketmine\block\tile\BrewingStand as TileBrewingStand; use pocketmine\block\tile\BrewingStand as TileBrewingStand;
use pocketmine\block\utils\BrewingStandSlot; use pocketmine\block\utils\BrewingStandSlot;
use pocketmine\block\utils\SupportType; use pocketmine\block\utils\SupportType;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\CartographyTableInventoryWindow; use pocketmine\block\inventory\window\CartographyTableInventoryWindow;
use pocketmine\item\Item; use pocketmine\item\Item;
use pocketmine\math\Vector3; use pocketmine\math\Vector3;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -23,9 +23,9 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\ChestInventoryWindow;
use pocketmine\block\inventory\DoubleChestInventory; use pocketmine\block\inventory\DoubleChestInventory;
use pocketmine\block\inventory\DoubleChestInventoryWindow; use pocketmine\block\inventory\window\ChestInventoryWindow;
use pocketmine\block\inventory\window\DoubleChestInventoryWindow;
use pocketmine\block\tile\Chest as TileChest; use pocketmine\block\tile\Chest as TileChest;
use pocketmine\block\utils\FacesOppositePlacingPlayerTrait; use pocketmine\block\utils\FacesOppositePlacingPlayerTrait;
use pocketmine\block\utils\SupportType; use pocketmine\block\utils\SupportType;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\CraftingTableInventoryWindow; use pocketmine\block\inventory\window\CraftingTableInventoryWindow;
use pocketmine\item\Item; use pocketmine\item\Item;
use pocketmine\math\Vector3; use pocketmine\math\Vector3;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\EnchantingTableInventoryWindow; use pocketmine\block\inventory\window\EnchantingTableInventoryWindow;
use pocketmine\block\utils\SupportType; use pocketmine\block\utils\SupportType;
use pocketmine\item\Item; use pocketmine\item\Item;
use pocketmine\math\AxisAlignedBB; use pocketmine\math\AxisAlignedBB;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\EnderChestInventoryWindow; use pocketmine\block\inventory\window\EnderChestInventoryWindow;
use pocketmine\block\tile\EnderChest as TileEnderChest; use pocketmine\block\tile\EnderChest as TileEnderChest;
use pocketmine\block\utils\FacesOppositePlacingPlayerTrait; use pocketmine\block\utils\FacesOppositePlacingPlayerTrait;
use pocketmine\block\utils\SupportType; use pocketmine\block\utils\SupportType;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\FurnaceInventoryWindow; use pocketmine\block\inventory\window\FurnaceInventoryWindow;
use pocketmine\block\tile\Furnace as TileFurnace; use pocketmine\block\tile\Furnace as TileFurnace;
use pocketmine\block\utils\FacesOppositePlacingPlayerTrait; use pocketmine\block\utils\FacesOppositePlacingPlayerTrait;
use pocketmine\block\utils\LightableTrait; use pocketmine\block\utils\LightableTrait;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\HopperInventoryWindow; use pocketmine\block\inventory\window\HopperInventoryWindow;
use pocketmine\block\tile\Hopper as TileHopper; use pocketmine\block\tile\Hopper as TileHopper;
use pocketmine\block\utils\PoweredByRedstoneTrait; use pocketmine\block\utils\PoweredByRedstoneTrait;
use pocketmine\block\utils\SupportType; use pocketmine\block\utils\SupportType;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\LoomInventoryWindow; use pocketmine\block\inventory\window\LoomInventoryWindow;
use pocketmine\block\utils\FacesOppositePlacingPlayerTrait; use pocketmine\block\utils\FacesOppositePlacingPlayerTrait;
use pocketmine\item\Item; use pocketmine\item\Item;
use pocketmine\math\Vector3; use pocketmine\math\Vector3;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\ShulkerBoxInventoryWindow; use pocketmine\block\inventory\window\ShulkerBoxInventoryWindow;
use pocketmine\block\tile\ShulkerBox as TileShulkerBox; use pocketmine\block\tile\ShulkerBox as TileShulkerBox;
use pocketmine\block\utils\AnyFacingTrait; use pocketmine\block\utils\AnyFacingTrait;
use pocketmine\block\utils\SupportType; use pocketmine\block\utils\SupportType;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\SmithingTableInventoryWindow; use pocketmine\block\inventory\window\SmithingTableInventoryWindow;
use pocketmine\item\Item; use pocketmine\item\Item;
use pocketmine\math\Vector3; use pocketmine\math\Vector3;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block; namespace pocketmine\block;
use pocketmine\block\inventory\StonecutterInventoryWindow; use pocketmine\block\inventory\window\StonecutterInventoryWindow;
use pocketmine\block\utils\FacesOppositePlacingPlayerTrait; use pocketmine\block\utils\FacesOppositePlacingPlayerTrait;
use pocketmine\block\utils\SupportType; use pocketmine\block\utils\SupportType;
use pocketmine\item\Item; use pocketmine\item\Item;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\world\Position; use pocketmine\world\Position;
use pocketmine\world\sound\Sound; use pocketmine\world\sound\Sound;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\inventory\SimpleInventory; use pocketmine\inventory\SimpleInventory;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\block\Barrel; use pocketmine\block\Barrel;
use pocketmine\world\Position; use pocketmine\world\Position;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\inventory\Inventory; use pocketmine\inventory\Inventory;
use pocketmine\player\InventoryWindow; use pocketmine\player\InventoryWindow;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
final class BrewingStandInventoryWindow extends BlockInventoryWindow{ final class BrewingStandInventoryWindow extends BlockInventoryWindow{
public const SLOT_INGREDIENT = 0; public const SLOT_INGREDIENT = 0;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\inventory\SimpleInventory; use pocketmine\inventory\SimpleInventory;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\network\mcpe\protocol\BlockEventPacket; use pocketmine\network\mcpe\protocol\BlockEventPacket;
use pocketmine\network\mcpe\protocol\types\BlockPosition; use pocketmine\network\mcpe\protocol\types\BlockPosition;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\crafting\CraftingGrid; use pocketmine\crafting\CraftingGrid;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\inventory\Inventory; use pocketmine\inventory\Inventory;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\event\player\PlayerEnchantingOptionsRequestEvent; use pocketmine\event\player\PlayerEnchantingOptionsRequestEvent;
use pocketmine\inventory\CallbackInventoryListener; use pocketmine\inventory\CallbackInventoryListener;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\block\tile\EnderChest; use pocketmine\block\tile\EnderChest;
use pocketmine\network\mcpe\protocol\BlockEventPacket; use pocketmine\network\mcpe\protocol\BlockEventPacket;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\crafting\FurnaceType; use pocketmine\crafting\FurnaceType;
use pocketmine\inventory\Inventory; use pocketmine\inventory\Inventory;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
final class HopperInventoryWindow extends BlockInventoryWindow{ final class HopperInventoryWindow extends BlockInventoryWindow{

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\inventory\SimpleInventory; use pocketmine\inventory\SimpleInventory;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\network\mcpe\protocol\BlockEventPacket; use pocketmine\network\mcpe\protocol\BlockEventPacket;
use pocketmine\network\mcpe\protocol\types\BlockPosition; use pocketmine\network\mcpe\protocol\types\BlockPosition;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\inventory\SimpleInventory; use pocketmine\inventory\SimpleInventory;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace pocketmine\block\inventory; namespace pocketmine\block\inventory\window;
use pocketmine\inventory\SimpleInventory; use pocketmine\inventory\SimpleInventory;
use pocketmine\player\Player; use pocketmine\player\Player;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block\tile; namespace pocketmine\block\tile;
use pocketmine\block\inventory\BrewingStandInventoryWindow; use pocketmine\block\inventory\window\BrewingStandInventoryWindow;
use pocketmine\crafting\BrewingRecipe; use pocketmine\crafting\BrewingRecipe;
use pocketmine\event\block\BrewingFuelUseEvent; use pocketmine\event\block\BrewingFuelUseEvent;
use pocketmine\event\block\BrewItemEvent; use pocketmine\event\block\BrewItemEvent;

View File

@ -24,7 +24,7 @@ declare(strict_types=1);
namespace pocketmine\block\tile; namespace pocketmine\block\tile;
use pocketmine\block\Furnace as BlockFurnace; use pocketmine\block\Furnace as BlockFurnace;
use pocketmine\block\inventory\FurnaceInventoryWindow; use pocketmine\block\inventory\window\FurnaceInventoryWindow;
use pocketmine\crafting\FurnaceRecipe; use pocketmine\crafting\FurnaceRecipe;
use pocketmine\crafting\FurnaceType; use pocketmine\crafting\FurnaceType;
use pocketmine\event\inventory\FurnaceBurnEvent; use pocketmine\event\inventory\FurnaceBurnEvent;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block\utils; namespace pocketmine\block\utils;
use pocketmine\block\inventory\BrewingStandInventoryWindow; use pocketmine\block\inventory\window\BrewingStandInventoryWindow;
enum BrewingStandSlot{ enum BrewingStandSlot{
case EAST; case EAST;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\event\player; namespace pocketmine\event\player;
use pocketmine\block\inventory\EnchantingTableInventoryWindow; use pocketmine\block\inventory\window\EnchantingTableInventoryWindow;
use pocketmine\event\Cancellable; use pocketmine\event\Cancellable;
use pocketmine\event\CancellableTrait; use pocketmine\event\CancellableTrait;
use pocketmine\item\enchantment\EnchantingOption; use pocketmine\item\enchantment\EnchantingOption;

View File

@ -23,17 +23,17 @@ declare(strict_types=1);
namespace pocketmine\network\mcpe; namespace pocketmine\network\mcpe;
use pocketmine\block\inventory\AnvilInventoryWindow; use pocketmine\block\inventory\window\AnvilInventoryWindow;
use pocketmine\block\inventory\BlockInventoryWindow; use pocketmine\block\inventory\window\BlockInventoryWindow;
use pocketmine\block\inventory\BrewingStandInventoryWindow; use pocketmine\block\inventory\window\BrewingStandInventoryWindow;
use pocketmine\block\inventory\CartographyTableInventoryWindow; use pocketmine\block\inventory\window\CartographyTableInventoryWindow;
use pocketmine\block\inventory\CraftingTableInventoryWindow; use pocketmine\block\inventory\window\CraftingTableInventoryWindow;
use pocketmine\block\inventory\EnchantingTableInventoryWindow; use pocketmine\block\inventory\window\EnchantingTableInventoryWindow;
use pocketmine\block\inventory\FurnaceInventoryWindow; use pocketmine\block\inventory\window\FurnaceInventoryWindow;
use pocketmine\block\inventory\HopperInventoryWindow; use pocketmine\block\inventory\window\HopperInventoryWindow;
use pocketmine\block\inventory\LoomInventoryWindow; use pocketmine\block\inventory\window\LoomInventoryWindow;
use pocketmine\block\inventory\SmithingTableInventoryWindow; use pocketmine\block\inventory\window\SmithingTableInventoryWindow;
use pocketmine\block\inventory\StonecutterInventoryWindow; use pocketmine\block\inventory\window\StonecutterInventoryWindow;
use pocketmine\crafting\FurnaceType; use pocketmine\crafting\FurnaceType;
use pocketmine\data\bedrock\EnchantmentIdMap; use pocketmine\data\bedrock\EnchantmentIdMap;
use pocketmine\inventory\Inventory; use pocketmine\inventory\Inventory;

View File

@ -23,8 +23,7 @@ declare(strict_types=1);
namespace pocketmine\network\mcpe\handler; namespace pocketmine\network\mcpe\handler;
use pocketmine\block\inventory\EnchantingTableInventoryWindow; use pocketmine\block\inventory\window\EnchantingTableInventoryWindow;
use pocketmine\inventory\Inventory;
use pocketmine\inventory\transaction\action\CreateItemAction; use pocketmine\inventory\transaction\action\CreateItemAction;
use pocketmine\inventory\transaction\action\DestroyItemAction; use pocketmine\inventory\transaction\action\DestroyItemAction;
use pocketmine\inventory\transaction\action\DropItemAction; use pocketmine\inventory\transaction\action\DropItemAction;