API reference / @jsprismarine/errors / prismarine/entity
prismarine/entity
Classes
Variables
PrismarineEntityErrors
constPrismarineEntityErrors:Readonly<{EntityHasNoPlainRecord: typeofEntityHasNoPlainRecord;EntityNotInDimension: typeofEntityNotInDimension;EntityNotRestored: typeofEntityNotRestored;EntityRuntimeReadTooEarly: typeofEntityRuntimeReadTooEarly;InvalidHangingComponent: typeofInvalidHangingComponent;InvalidLoggedField: typeofInvalidLoggedField;InvalidPlayerField: typeofInvalidPlayerField;InvalidSavedGameMode: typeofInvalidSavedGameMode;InvalidSavedMeal: typeofInvalidSavedMeal;InvalidSavedMerchant: typeofInvalidSavedMerchant;InvalidSavedMining: typeofInvalidSavedMining;InvalidSavedSpawnPoint: typeofInvalidSavedSpawnPoint;ItemComponentFieldNotNumber: typeofItemComponentFieldNotNumber;MembershipEntryHasNoRecord: typeofMembershipEntryHasNoRecord;MerchantHasNoPlainForm: typeofMerchantHasNoPlainForm;MissingItemComponent: typeofMissingItemComponent;NoEntityWriter: typeofNoEntityWriter;NoFieldWriter: typeofNoFieldWriter;NoWorldForEntities: typeofNoWorldForEntities;RuntimeIdsExhausted: typeofRuntimeIdsExhausted;StorePlayerAlreadyAttached: typeofStorePlayerAlreadyAttached;StorePlayerEntityMismatch: typeofStorePlayerEntityMismatch;UnsupportedMobEffect: typeofUnsupportedMobEffect;ValueHasNoPlainForm: typeofValueHasNoPlainForm; }>
Defined in: packages/errors/src/prismarine/entity.ts:890
The errors the entity code of @jsprismarine/prismarine throws.