[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/errors](https://jsprismarine.dev/api/@jsprismarine/errors/index.md) / prismarine/entity

# prismarine/entity

## Classes

- [LoggedFieldError](https://jsprismarine.dev/api/@jsprismarine/errors/prismarine/entity/classes/LoggedFieldError.md)

## Variables

### PrismarineEntityErrors

> `const` **PrismarineEntityErrors**: `Readonly`\<\{ `EntityHasNoPlainRecord`: *typeof* `EntityHasNoPlainRecord`; `EntityNotInDimension`: *typeof* `EntityNotInDimension`; `EntityNotRestored`: *typeof* `EntityNotRestored`; `EntityRuntimeReadTooEarly`: *typeof* `EntityRuntimeReadTooEarly`; `InvalidHangingComponent`: *typeof* `InvalidHangingComponent`; `InvalidLoggedField`: *typeof* `InvalidLoggedField`; `InvalidPlayerField`: *typeof* `InvalidPlayerField`; `InvalidSavedGameMode`: *typeof* `InvalidSavedGameMode`; `InvalidSavedMeal`: *typeof* `InvalidSavedMeal`; `InvalidSavedMerchant`: *typeof* `InvalidSavedMerchant`; `InvalidSavedMining`: *typeof* `InvalidSavedMining`; `InvalidSavedSpawnPoint`: *typeof* `InvalidSavedSpawnPoint`; `ItemComponentFieldNotNumber`: *typeof* `ItemComponentFieldNotNumber`; `MembershipEntryHasNoRecord`: *typeof* `MembershipEntryHasNoRecord`; `MerchantHasNoPlainForm`: *typeof* `MerchantHasNoPlainForm`; `MissingItemComponent`: *typeof* `MissingItemComponent`; `NoEntityWriter`: *typeof* `NoEntityWriter`; `NoFieldWriter`: *typeof* `NoFieldWriter`; `NoWorldForEntities`: *typeof* `NoWorldForEntities`; `RuntimeIdsExhausted`: *typeof* `RuntimeIdsExhausted`; `StorePlayerAlreadyAttached`: *typeof* `StorePlayerAlreadyAttached`; `StorePlayerEntityMismatch`: *typeof* `StorePlayerEntityMismatch`; `UnsupportedMobEffect`: *typeof* `UnsupportedMobEffect`; `ValueHasNoPlainForm`: *typeof* `ValueHasNoPlainForm`; \}\>

Defined in: [packages/errors/src/prismarine/entity.ts:890](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/prismarine/entity.ts#L890)

The errors the entity code of `@jsprismarine/prismarine` throws.
