Package net.glowstone.entity
Class CustomEntityDescriptor<T extends GlowEntity>
java.lang.Object
net.glowstone.entity.CustomEntityDescriptor<T>
-
Constructor Summary
ConstructorDescriptionCustomEntityDescriptor
(Class<T> entityClass, org.bukkit.plugin.Plugin plugin, String id, EntityStore<T> storage) CustomEntityDescriptor
(Class<T> entityClass, org.bukkit.plugin.Plugin plugin, String id, EntityStore<T> storage, boolean summonable) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getId()
org.bukkit.plugin.Plugin
int
hashCode()
boolean
void
setSummonable
(boolean summonable) toString()
-
Constructor Details
-
CustomEntityDescriptor
public CustomEntityDescriptor(Class<T> entityClass, org.bukkit.plugin.Plugin plugin, String id, EntityStore<T> storage) -
CustomEntityDescriptor
public CustomEntityDescriptor(Class<T> entityClass, org.bukkit.plugin.Plugin plugin, String id, EntityStore<T> storage, boolean summonable)
-
-
Method Details
-
getEntityClass
-
getPlugin
public org.bukkit.plugin.Plugin getPlugin() -
getId
-
isSummonable
public boolean isSummonable() -
setSummonable
public void setSummonable(boolean summonable) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getStorage
-