PocketMine-MP 5.35.1 git-05a71d8cc5185aa9e46ef5f9754bb862464c13e0
|
LegacyEnumShimTrait
if you need to provide backwards compatible EnumTrait-like API for migrated enums. RuntimeDataDescriber::boundedIntAuto()
instead. enumSet()
instead. self::boundedIntAuto()
instead. enumSet()
instead. self::boundedIntAuto()
instead. self::boundedIntAuto()
instead. enumSet()
instead. onHitEntity()
method. Sets the type of tag that can be added to this list. If TAG_End is used, the type will be auto-detected from the first tag added to the list.
As of 1.1, an empty list's type will always be inferred from the first Tag to be inserted. Therefore, this function is now useless.
PluginBase::getResourcePath()
, like file_get_contents() or fopen(). Server::getOnlinePlayers()
yourself. World::getBlockCollisionBoxes()
instead (alongside World::getCollidingEntities()
if entity collision boxes are also required).