Package ch.njol.skript.expressions
Class ExprEgg
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<T>
ch.njol.skript.expressions.base.EventValueExpression<org.bukkit.entity.Egg>
ch.njol.skript.expressions.ExprEgg
- All Implemented Interfaces:
Debuggable
,DefaultExpression<org.bukkit.entity.Egg>
,Expression<org.bukkit.entity.Egg>
,SyntaxElement
@Name("The Egg")
@Description("The egg thrown in a Player Egg Throw event.")
@Examples("spawn an egg at the egg")
@Events("Egg Throw")
@Since("2.7")
public class ExprEgg
extends EventValueExpression<org.bukkit.entity.Egg>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.njol.skript.expressions.base.EventValueExpression
acceptChange, change, get, getReturnType, init, init, isDefault, isSingle, setTime
Methods inherited from class ch.njol.skript.lang.util.SimpleExpression
check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getSingle, getSource, getTime, isLoopOf, iterator, setTime, setTime, setTime, setTime, simplify, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.njol.skript.lang.Debuggable
toString
Methods inherited from interface ch.njol.skript.lang.Expression
beforeChange, check, check, getAcceptedChangeModes, getAll, getAnd, getArray, getConvertedExpression, getOptionalSingle, getSingle, getSource, getTime, isLoopOf, iterator, simplify, stream
Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Constructor Details
-
ExprEgg
public ExprEgg()
-
-
Method Details
-
toString
- Specified by:
toString
in interfaceDebuggable
- Overrides:
toString
in classEventValueExpression<org.bukkit.entity.Egg>
- Parameters:
event
- The event to get information to. This is always null if debug == false.debug
- If true this should print more information, if false this should print what is shown to the end user- Returns:
- String representation of this object
-