mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added API method Item::canStackWith()
This commit is contained in:
@ -660,6 +660,7 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml`
|
||||
- `WritableBookPage`
|
||||
- The following API methods have been added:
|
||||
- `Armor->getArmorSlot()`
|
||||
- `Item->canStackWith()`: returns whether the two items could be contained in the same inventory slot, ignoring count and stack size limits
|
||||
- `Potion->getType()`: returns a `PotionType` enum object containing information such as the applied effects
|
||||
- `ProjectileItem->createEntity()`: returns a new instance of the projectile entity that will be thrown
|
||||
- The following classes have been removed:
|
||||
|
Reference in New Issue
Block a user