mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
changelog: mention Potion API changes
[ci skip]
This commit is contained in:
parent
7029f85c1c
commit
35ad199b11
@ -599,7 +599,47 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml`
|
||||
- `Item->setCompoundTag()`
|
||||
- `Item->getCompoundTag()`
|
||||
- `Item->hasCompoundTag()`
|
||||
- `Potion::getPotionEffectsById()`
|
||||
- `ProjectileItem->getProjectileEntityType()`
|
||||
- The following constants have been removed:
|
||||
- `Potion::ALL` - use `PotionType::getAll()` instead
|
||||
- `Potion::WATER`
|
||||
- `Potion::MUNDANE`
|
||||
- `Potion::LONG_MUNDANE`
|
||||
- `Potion::THICK`
|
||||
- `Potion::AWKWARD`
|
||||
- `Potion::NIGHT_VISION`
|
||||
- `Potion::LONG_NIGHT_VISION`
|
||||
- `Potion::INVISIBILITY`
|
||||
- `Potion::LONG_INVISIBILITY`
|
||||
- `Potion::LEAPING`
|
||||
- `Potion::LONG_LEAPING`
|
||||
- `Potion::STRONG_LEAPING`
|
||||
- `Potion::FIRE_RESISTANCE`
|
||||
- `Potion::LONG_FIRE_RESISTANCE`
|
||||
- `Potion::SWIFTNESS`
|
||||
- `Potion::LONG_SWIFTNESS`
|
||||
- `Potion::STRONG_SWIFTNESS`
|
||||
- `Potion::SLOWNESS`
|
||||
- `Potion::LONG_SLOWNESS`
|
||||
- `Potion::WATER_BREATHING`
|
||||
- `Potion::LONG_WATER_BREATHING`
|
||||
- `Potion::HEALING`
|
||||
- `Potion::STRONG_HEALING`
|
||||
- `Potion::HARMING`
|
||||
- `Potion::STRONG_HARMING`
|
||||
- `Potion::POISON`
|
||||
- `Potion::LONG_POISON`
|
||||
- `Potion::STRONG_POISON`
|
||||
- `Potion::REGENERATION`
|
||||
- `Potion::LONG_REGENERATION`
|
||||
- `Potion::STRONG_REGENERATION`
|
||||
- `Potion::STRENGTH`
|
||||
- `Potion::LONG_STRENGTH`
|
||||
- `Potion::STRONG_STRENGTH`
|
||||
- `Potion::WEAKNESS`
|
||||
- `Potion::LONG_WEAKNESS`
|
||||
- `Potion::WITHER`
|
||||
- The following methods have been renamed:
|
||||
- `Item->getDamage()` -> `Item->getMeta()`
|
||||
- The following methods have been moved to `pocketmine\inventory\CreativeInventory`:
|
||||
@ -615,10 +655,12 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml`
|
||||
- `Fertilizer`
|
||||
- `LiquidBucket`
|
||||
- `MilkBucket`
|
||||
- `PotionType`: enum class containing information about vanilla potion types
|
||||
- `WritableBookBase`
|
||||
- `WritableBookPage`
|
||||
- The following API methods have been added:
|
||||
- `Armor->getArmorSlot()`
|
||||
- `Potion->getType()`: returns a `PotionType` enum object containing information such as the applied effects
|
||||
- `ProjectileItem->getProjectileEntityClass()`: returns the class of projectile to be created when thrown
|
||||
- The following classes have been removed:
|
||||
- `ChainBoots`
|
||||
|
Loading…
x
Reference in New Issue
Block a user