Package ch.njol.skript.entity
Class FallingBlockData
java.lang.Object
ch.njol.skript.entity.EntityData<org.bukkit.entity.FallingBlock>
ch.njol.skript.entity.FallingBlockData
- All Implemented Interfaces:
SyntaxElement,YggdrasilSerializable,YggdrasilSerializable.YggdrasilExtendedSerializable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.njol.yggdrasil.YggdrasilSerializable
YggdrasilSerializable.YggdrasilExtendedSerializable, YggdrasilSerializable.YggdrasilRobustEnum, YggdrasilSerializable.YggdrasilRobustSerializable -
Field Summary
Fields inherited from class ch.njol.skript.entity.EntityData
LANGUAGE_NODE, m_adult, m_age_pattern, m_baby, matchedPattern, serializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandeserialize(String s)Deprecated.protected booleanequals_i(EntityData<?> obj)Returns the super type of this entity data, e.g.Class<? extends org.bukkit.entity.FallingBlock>getType()protected intprotected booleaninit(@Nullable Class<? extends org.bukkit.entity.FallingBlock> c, @Nullable org.bukkit.entity.FallingBlock e)protected booleaninit(Literal<?>[] exprs, int matchedPattern, SkriptParser.ParseResult parseResult)booleanisSupertypeOf(EntityData<?> e)protected booleanmatch(org.bukkit.entity.FallingBlock entity)voidset(org.bukkit.entity.FallingBlock entity)@Nullable org.bukkit.entity.FallingBlockspawn(org.bukkit.Location loc)toString(int flags)Methods inherited from class ch.njol.skript.entity.EntityData
deserialize, equals, fromClass, fromEntity, getAgeAdjective, getAll, getAll, getAll, getInfo, getInfo, getName, hashCode, init, isBaby, isInstance, isPlural, parse, parseWithoutIndefiniteArticle, register, register, serialize, spawn, toString, toString, toString, toString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Constructor Details
-
FallingBlockData
public FallingBlockData() -
FallingBlockData
-
-
Method Details
-
init
protected boolean init(Literal<?>[] exprs, int matchedPattern, SkriptParser.ParseResult parseResult)- Specified by:
initin classEntityData<org.bukkit.entity.FallingBlock>
-
init
protected boolean init(@Nullable Class<? extends org.bukkit.entity.FallingBlock> c, @Nullable org.bukkit.entity.FallingBlock e)- Specified by:
initin classEntityData<org.bukkit.entity.FallingBlock>- Parameters:
c- An entity's class, e.g. Playere- An actual entity, or null to get an entity data for an entity class- Returns:
- Whether initialisation was successful
-
match
protected boolean match(org.bukkit.entity.FallingBlock entity)- Specified by:
matchin classEntityData<org.bukkit.entity.FallingBlock>
-
spawn
public @Nullable org.bukkit.entity.FallingBlock spawn(org.bukkit.Location loc)- Overrides:
spawnin classEntityData<org.bukkit.entity.FallingBlock>
-
set
public void set(org.bukkit.entity.FallingBlock entity)- Specified by:
setin classEntityData<org.bukkit.entity.FallingBlock>
-
getType
- Specified by:
getTypein classEntityData<org.bukkit.entity.FallingBlock>
-
isSupertypeOf
- Specified by:
isSupertypeOfin classEntityData<org.bukkit.entity.FallingBlock>
-
getSuperType
Description copied from class:EntityDataReturns the super type of this entity data, e.g. 'wolf' for 'angry wolf'.- Specified by:
getSuperTypein classEntityData<org.bukkit.entity.FallingBlock>- Returns:
- The supertype of this entity data. Must not be null.
-
toString
- Overrides:
toStringin classEntityData<org.bukkit.entity.FallingBlock>
-
deserialize
Deprecated.- Overrides:
deserializein classEntityData<org.bukkit.entity.FallingBlock>
-
equals_i
- Specified by:
equals_iin classEntityData<org.bukkit.entity.FallingBlock>
-
hashCode_i
protected int hashCode_i()- Specified by:
hashCode_iin classEntityData<org.bukkit.entity.FallingBlock>
-