Loading [MathJax]/extensions/tex2jax.js
PocketMine-MP
5.25.3 git-afc4a3c7f18d42b41cbfde84ab6a2e4dd7c03045
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
g
i
m
n
o
p
r
s
t
Functions
Variables
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
$
a
c
d
e
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Files
File List
▼
PocketMine-MP
PocketMine-MP API Documentation
Deprecated List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
▼
block
▼
inventory
AnimatedBlockInventoryTrait.php
AnvilInventory.php
BarrelInventory.php
BlockInventory.php
BlockInventoryTrait.php
BrewingStandInventory.php
CampfireInventory.php
CartographyTableInventory.php
ChestInventory.php
CraftingTableInventory.php
DoubleChestInventory.php
EnchantInventory.php
EnderChestInventory.php
FurnaceInventory.php
HopperInventory.php
LoomInventory.php
ShulkerBoxInventory.php
SmithingTableInventory.php
StonecutterInventory.php
►
tile
►
utils
ActivatorRail.php
Air.php
AmethystCluster.php
block/Anvil.php
block/Bamboo.php
BambooSapling.php
Barrel.php
BaseBanner.php
BaseBigDripleaf.php
BaseCake.php
BaseCoral.php
BaseFire.php
BaseRail.php
BaseSign.php
Beacon.php
Bed.php
Bedrock.php
block/Beetroot.php
Bell.php
BigDripleafHead.php
BigDripleafStem.php
Block.php
BlockBreakInfo.php
BlockIdentifier.php
BlockToolType.php
BlockTypeIds.php
BlockTypeInfo.php
BlockTypeTags.php
BlueIce.php
BoneBlock.php
Bookshelf.php
BrewingStand.php
BrownMushroom.php
BrownMushroomBlock.php
BuddingAmethyst.php
Button.php
Cactus.php
Cake.php
CakeWithCandle.php
CakeWithDyedCandle.php
Campfire.php
Candle.php
Carpet.php
block/Carrot.php
CartographyTable.php
CarvedPumpkin.php
Cauldron.php
CaveVines.php
Chain.php
ChemicalHeat.php
ChemistryTable.php
Chest.php
ChiseledBookshelf.php
ChorusFlower.php
ChorusPlant.php
Clay.php
block/Coal.php
CoalOre.php
Cobweb.php
CocoaBlock.php
Concrete.php
ConcretePowder.php
Copper.php
CopperBulb.php
CopperDoor.php
CopperGrate.php
CopperOre.php
CopperSlab.php
CopperStairs.php
CopperTrapdoor.php
Coral.php
CoralBlock.php
CraftingTable.php
Crops.php
DaylightSensor.php
DeadBush.php
DetectorRail.php
DiamondOre.php
Dirt.php
Door.php
DoublePitcherCrop.php
DoublePlant.php
DoubleTallGrass.php
DragonEgg.php
block/DriedKelp.php
DyedCandle.php
DyedShulkerBox.php
Element.php
EmeraldOre.php
EnchantingTable.php
EnderChest.php
EndPortalFrame.php
EndRod.php
Farmland.php
Fence.php
FenceGate.php
FillableCauldron.php
Fire.php
FletchingTable.php
FloorBanner.php
FloorCoralFan.php
FloorSign.php
Flowable.php
Flower.php
FlowerPot.php
Froglight.php
FrostedIce.php
Furnace.php
GildedBlackstone.php
Glass.php
GlassPane.php
GlazedTerracotta.php
GlowingObsidian.php
GlowLichen.php
Glowstone.php
GoldOre.php
Grass.php
GrassPath.php
Gravel.php
HangingRoots.php
HardenedClay.php
HardenedGlass.php
HardenedGlassPane.php
HayBale.php
Hopper.php
Ice.php
InfestedStone.php
IronOre.php
ItemFrame.php
Jukebox.php
Ladder.php
Lantern.php
LapisOre.php
Lava.php
LavaCauldron.php
Leaves.php
Lectern.php
Lever.php
Light.php
LightningRod.php
Liquid.php
LitPumpkin.php
Loom.php
Magma.php
MangroveRoots.php
block/Melon.php
MelonStem.php
MobHead.php
MonsterSpawner.php
MushroomStem.php
Mycelium.php
NetherGoldOre.php
NetherPortal.php
NetherQuartzOre.php
Netherrack.php
NetherReactor.php
NetherRoots.php
NetherVines.php
NetherWartPlant.php
Note.php
Opaque.php
PackedIce.php
PinkPetals.php
PitcherCrop.php
Planks.php
Podzol.php
block/Potato.php
PotionCauldron.php
PoweredRail.php
PressurePlate.php
Pumpkin.php
PumpkinStem.php
Rail.php
RedMushroom.php
RedMushroomBlock.php
block/Redstone.php
RedstoneComparator.php
RedstoneLamp.php
RedstoneOre.php
RedstoneRepeater.php
RedstoneTorch.php
RedstoneWire.php
Reserved6.php
ResinClump.php
RuntimeBlockStateRegistry.php
Sand.php
Sapling.php
Sculk.php
SeaLantern.php
SeaPickle.php
ShulkerBox.php
SimplePillar.php
SimplePressurePlate.php
Slab.php
Slime.php
SmallDripleaf.php
SmithingTable.php
Snow.php
SnowLayer.php
SoulCampfire.php
SoulFire.php
SoulSand.php
Sponge.php
SporeBlossom.php
StainedGlass.php
StainedGlassPane.php
StainedHardenedClay.php
StainedHardenedGlass.php
StainedHardenedGlassPane.php
Stair.php
Stem.php
StoneButton.php
Stonecutter.php
StonePressurePlate.php
StraightOnlyRail.php
Sugarcane.php
SweetBerryBush.php
block/TallGrass.php
Thin.php
TintedGlass.php
TNT.php
Torch.php
TorchflowerCrop.php
Transparent.php
Trapdoor.php
TrappedChest.php
Tripwire.php
TripwireHook.php
UnderwaterTorch.php
UnknownBlock.php
VanillaBlocks.php
Vine.php
Wall.php
WallBanner.php
WallCoralFan.php
WallSign.php
Water.php
WaterCauldron.php
WaterLily.php
WeightedPressurePlate.php
WeightedPressurePlateHeavy.php
WeightedPressurePlateLight.php
Wheat.php
WitherRose.php
Wood.php
WoodenButton.php
WoodenDoor.php
WoodenFence.php
WoodenPressurePlate.php
WoodenSlab.php
WoodenStairs.php
WoodenTrapdoor.php
Wool.php
►
command
►
console
►
crafting
►
crash
►
data
►
entity
►
event
►
form
►
inventory
►
item
►
lang
►
network
►
permission
►
player
►
plugin
►
promise
►
resourcepacks
►
scheduler
►
stats
►
thread
►
timings
►
updater
►
utils
►
wizard
►
world
BootstrapOptions.php
CoreConstants.php
GarbageCollectorManager.php
MemoryDump.php
MemoryManager.php
PocketMine.php
src/Server.php
ServerConfigGroup.php
ServerProperties.php
TimeTrackingSleeperHandler.php
VersionInfo.php
YmlServerProperties.php
►
vendor
•
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Pages
Loading...
Searching...
No Matches
LoomInventory.php
1
<?php
2
3
/*
4
*
5
* ____ _ _ __ __ _ __ __ ____
6
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
7
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
8
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
9
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
10
*
11
* This program is free software: you can redistribute it and/or modify
12
* it under the terms of the GNU Lesser General Public License as published by
13
* the Free Software Foundation, either version 3 of the License, or
14
* (at your option) any later version.
15
*
16
* @author PocketMine Team
17
* @link http://www.pocketmine.net/
18
*
19
*
20
*/
21
22
declare(strict_types=1);
23
24
namespace
pocketmine\block\inventory;
25
26
use
pocketmine\inventory\SimpleInventory
;
27
use
pocketmine\inventory\TemporaryInventory
;
28
use
pocketmine\world\Position
;
29
30
final
class
LoomInventory
extends
SimpleInventory
implements
BlockInventory
,
TemporaryInventory
{
31
use BlockInventoryTrait;
32
33
public
const
SLOT_BANNER = 0;
34
public
const
SLOT_DYE = 1;
35
public
const
SLOT_PATTERN = 2;
36
37
public
function
__construct(
Position
$holder,
int
$size = 3){
38
$this->holder = $holder;
39
parent::__construct($size);
40
}
41
}
30
final
class
LoomInventory
extends
SimpleInventory
implements
BlockInventory
,
TemporaryInventory
{
…
};
pocketmine\block\inventory\LoomInventory
Definition
LoomInventory.php:30
pocketmine\inventory\SimpleInventory
Definition
SimpleInventory.php:32
pocketmine\world\Position
Definition
Position.php:30
pocketmine\block\inventory\BlockInventory
Definition
BlockInventory.php:28
pocketmine\inventory\TemporaryInventory
Definition
TemporaryInventory.php:26
src
block
inventory
LoomInventory.php
Generated by
1.12.0