Class EntityComponentUtils
java.lang.Object
com.github.skriptdev.skript.api.hytale.EntityComponentUtils
Quick utility class for accessing entity components.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable com.hypixel.hytale.server.core.modules.entitystats.EntityStatMapgetEntityStatMap(com.hypixel.hytale.server.core.entity.LivingEntity entity) Get the EntityStatMap component of an entity.
-
Constructor Details
-
EntityComponentUtils
public EntityComponentUtils()
-
-
Method Details
-
getEntityStatMap
@Nullable public static @Nullable com.hypixel.hytale.server.core.modules.entitystats.EntityStatMap getEntityStatMap(com.hypixel.hytale.server.core.entity.LivingEntity entity) Get the EntityStatMap component of an entity.- Parameters:
entity- Entity to get component from- Returns:
- EntityStatMap component of the entity, or null if not found
-