Class ShulkerData

java.lang.Object
ch.njol.skript.entity.EntityData<org.bukkit.entity.Shulker>
org.skriptlang.skript.bukkit.entity.EntityData<org.bukkit.entity.Shulker>
org.skriptlang.skript.bukkit.entity.data.ColorableEntityData<org.bukkit.entity.Shulker>
org.skriptlang.skript.bukkit.entity.data.ShulkerData
All Implemented Interfaces:
SyntaxElement, YggdrasilSerializable, YggdrasilSerializable.YggdrasilExtendedSerializable

public class ShulkerData extends ColorableEntityData<org.bukkit.entity.Shulker>
  • Field Details

  • Constructor Details

    • ShulkerData

      public ShulkerData()
    • ShulkerData

      public ShulkerData(@Nullable @Nullable org.bukkit.DyeColor color)
  • Method Details

    • register

      public static void register()
    • getType

      public Class<? extends org.bukkit.entity.Shulker> getType()
      Description copied from class: EntityData
      Returns the Class of the Entity that this EntityData represents or handles.
      Specified by:
      getType in class EntityData<org.bukkit.entity.Shulker>
      Returns:
      The entity's Class, such as Pig.class.
    • getSuperType

      @NotNull public @NotNull EntityData<?> getSuperType()
      Description copied from class: EntityData
      Returns a more general version of this EntityData with specific data removed.

      For example, calling this on "a saddled pig" should return "a pig". This is typically used to obtain the base entity type without any modifiers or traits.

      Specified by:
      getSuperType in class EntityData<org.bukkit.entity.Shulker>
      Returns:
      A generalized EntityData representing the base entity type.