|
Phpcraft
|


Public Member Functions | |
| getId (int $protocol_version) | |
| getBlock () | |
| slot (int $count=1, ?NBT $nbt=null) | |
Public Attributes | |
| $stack_size | |
| $display_name | |
Public Attributes inherited from Phpcraft\Identifier | |
| $name | |
| $since_protocol_version | |
Protected Member Functions | |
| __construct (string $name, int $since_protocol_version, array $ids, int $stack_size, string $display_name) | |
Protected Member Functions inherited from Phpcraft\Identifier | |
| __construct (string $name, int $since_protocol_version) | |
Static Protected Member Functions | |
| static | populateAllCache () |
Static Protected Attributes | |
| static | $all_cache |
Static Protected Attributes inherited from Phpcraft\Identifier | |
| static | $all_cache |
Additional Inherited Members | |
Static Public Member Functions inherited from Phpcraft\Identifier | |
| static | get (string $name) |
| static | getById (int $id, int $protocol_version) |
| static | all () |
|
protected |
| Phpcraft\Item::getBlock | ( | ) |
Returns the related Block.
| Phpcraft\Item::getId | ( | int | $protocol_version | ) |
Returns the ID of this Identifier for the given protocol version or null if not applicable.
| int | $protocol_version |
Reimplemented from Phpcraft\Identifier.
|
staticprotected |
Reimplemented from Phpcraft\Identifier.
| Phpcraft\Item::slot | ( | int | $count = 1, |
| ?NBT | $nbt = null |
||
| ) |
|
staticprotected |
| string Phpcraft\Item::$display_name |
| int Phpcraft\Item::$stack_size |
1.8.17