BedrioxDOCUMENTATION
API INTERFACE

CustomMobStateCodec

Public interface in Bedriox\Api\Entity.

Bedriox\Api\Entity\CustomMobStateCodec
interfaceBedriox\Api\Entity

Public methods

encode(Bedriox\Api\Entity\CustomMobBehavior $behavior): Bedriox\Api\Entity\CustomEntityState

Typed public method.

restore(Bedriox\Api\Entity\CustomMobBehavior $behavior, Bedriox\Api\Entity\CustomEntityState $state): void

Typed public method.

View exact source ↗