Class 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 Details

    • ExprEgg

      public ExprEgg()
  • Method Details

    • toString

      public String toString(@Nullable org.bukkit.event.Event event, boolean debug)
      Specified by:
      toString in interface Debuggable
      Overrides:
      toString in class EventValueExpression<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