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
-
Nested Class Summary
Nested classes/interfaces inherited from class EntityData
EntityData.EntityDataPatterns<Data>, EntityData.PatternGroup<Data>Nested classes/interfaces inherited from interface YggdrasilSerializable
YggdrasilSerializable.YggdrasilExtendedSerializable, YggdrasilSerializable.YggdrasilRobustEnum, YggdrasilSerializable.YggdrasilRobustSerializable -
Field Summary
FieldsFields inherited from class ColorableEntityData
colorFields inherited from class EntityData
AGE_ADULT, AGE_BABY, AGE_PATTERN, groupIndexFields inherited from class EntityData
LANGUAGE_NODE, serializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull EntityData<?> Returns a more general version of thisEntityDatawith specific data removed.Class<? extends org.bukkit.entity.Shulker> getType()static voidregister()Methods inherited from class ColorableEntityData
equals_i, hashCode_i, init, init, isSupertypeOf, match, set, toStringMethods inherited from class EntityData
canSpawn, create, create, create, dataMatch, deserialize, equals, fromClass, fromEntity, getAgeNoun, getAll, getAll, getAll, getInfo, getInfo, getName, getSyntaxTypeName, hashCode, infoBuilder, init, isBaby, isInstance, isPlural, isRegistered, isSupertypeOf, kleeneanMatch, kleeneanMatch, onRegistrationStop, parse, parseWithoutIndefiniteArticle, registerInfo, serialize, spawn, spawn, spawn, toString, toString, toString, toString, toStringMethods inherited from class EntityData
getAll, getAllMethods inherited from interface SyntaxElement
getParser, preInit
-
Field Details
-
GROUP
-
-
Constructor Details
-
ShulkerData
public ShulkerData() -
ShulkerData
public ShulkerData(@Nullable @Nullable org.bukkit.DyeColor color)
-
-
Method Details
-
register
public static void register() -
getType
Description copied from class:EntityData- Specified by:
getTypein classEntityData<org.bukkit.entity.Shulker>- Returns:
- The entity's
Class, such asPig.class.
-
getSuperType
Description copied from class:EntityDataReturns a more general version of thisEntityDatawith 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:
getSuperTypein classEntityData<org.bukkit.entity.Shulker>- Returns:
- A generalized
EntityDatarepresenting the base entity type.
-