Package ch.njol.skript.entity
Class EntityType
java.lang.Object
ch.njol.skript.entity.EntityType
- All Implemented Interfaces:
YggdrasilSerializable
,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.njol.yggdrasil.YggdrasilSerializable
YggdrasilSerializable.YggdrasilExtendedSerializable, YggdrasilSerializable.YggdrasilRobustEnum, YggdrasilSerializable.YggdrasilRobustSerializable
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityType
(EntityData<?> data, int amount) EntityType
(EntityType other) EntityType
(Class<? extends org.bukkit.entity.Entity> c, int amount) EntityType
(org.bukkit.entity.Entity e) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
int
hashCode()
boolean
isInstance
(org.bukkit.entity.Entity entity) static @Nullable EntityType
boolean
sameType
(EntityType other) toString()
toString
(int flags)
-
Field Details
-
amount
public int amount -
data
-
-
Constructor Details
-
EntityType
-
EntityType
-
EntityType
public EntityType(org.bukkit.entity.Entity e) -
EntityType
-
-
Method Details
-
isInstance
public boolean isInstance(org.bukkit.entity.Entity entity) -
toString
-
toString
-
getAmount
public int getAmount() -
sameType
-
parse
-
clone
-
hashCode
public int hashCode() -
equals
-