Package net.glowstone.io.entity
Class MonsterStore<T extends GlowMonster>
java.lang.Object
net.glowstone.io.entity.EntityStore<T>
net.glowstone.io.entity.MonsterStore<T>
- Direct Known Subclasses:
EvokerStore,ShulkerStore,VexStore,VindicatorStore,WitherStore,ZombieVillagerStore
-
Field Summary
Fields inherited from class net.glowstone.io.entity.EntityStore
entityType, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEntity(org.bukkit.Location location, CompoundTag compound) Create a new entity of this store's type at the given location.Methods inherited from class net.glowstone.io.entity.EntityStore
canEqual, createEntity, equals, getEntityType, getType, hashCode, load, save, toString
-
Constructor Details
-
MonsterStore
-
MonsterStore
-
-
Method Details
-
createEntity
Description copied from class:EntityStoreCreate a new entity of this store's type at the given location. The load method will be called separately.- Specified by:
createEntityin classEntityStore<T extends GlowMonster>- Parameters:
location- The location.compound- The entity's tag, if extra data is needed.- Returns:
- The new entity.
-