Class EntityComponentUtils

java.lang.Object
com.github.skriptdev.skript.api.hytale.EntityComponentUtils

public class EntityComponentUtils extends Object
Quick utility class for accessing entity components.
  • 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