BedrioxDOCUMENTATION
API CLASS

CustomMobDefinition

Public class in Bedriox\Api\Entity.

Bedriox\Api\Entity\CustomMobDefinition
classBedriox\Api\Entity

Public methods

__construct(Bedriox\Api\Entity\CustomEntityType $type, Bedriox\Api\Entity\VanillaEntityIdentity $networkAppearance, Bedriox\Api\Entity\EntityCategory $category, float $width, float $height, float $maximumHealth, callable $factory, Bedriox\Api\Entity\CustomMobStateCodec $stateCodec = new \Bedriox\Api\Entity\EmptyCustomMobStateCodec(), int $maximumStateBytes = self::DEFAULT_MAXIMUM_STATE_BYTES, bool $persistent = true)

Typed public method.

Constants

DEFAULT_MAXIMUM_STATE_BYTES

View exact source ↗