Interface Debuggable

All Known Subinterfaces:
Conditional<T>, DefaultExpression<T>, Expression<T>, KeyProviderExpression<T>, KeyReceiverExpression<T>, Literal<T>
All Known Implementing Classes:
AnyInfo, AsyncEffect, ClassInfo, CondCanAge, CondCanBreed, CondFishingLure, CondHasLootTable, CondIsAdult, CondIsBaby, CondIsInLove, CondIsInOpenWater, CondIsLootable, CondIsPressingKey, CondIsTagged, Condition, CondTextDisplayHasDropShadow, CondTextDisplaySeeThroughBlocks, ContainerExpression, ConvertedExpression, ConvertedLiteral, CursorSlot, DisplayEntitySlot, DroppedItemSlot, EffAllowAging, EffBreedable, Effect, EffectSection, EffectSectionEffect, EffFishingLure, EffGenerateLoot, EffMakeAdultOrBaby, EffPullHookedEntity, EffRegisterTag, EffRotate, EffTextDisplayDropShadow, EffTextDisplaySeeThroughBlocks, EnumClassInfo, EquipmentSlot, ch.njol.skript.expressions.base.EventValueExpression, EvtBreed, EvtBucketEntity, EvtFish, EvtFurnace, EvtPlayerInput, ExprBreedingFamily, ExprCurrentInputKeys, ExprDisplayBillboard, ExprDisplayBrightness, ExprDisplayGlowOverride, ExprDisplayHeightWidth, ExprDisplayInterpolation, ExprDisplayShadow, ExprDisplayTeleportDuration, ExprDisplayTransformationRotation, ExprDisplayTransformationScaleTranslation, ExprDisplayViewRange, ExpressionList, ExpressionSection, ExprFishingApproachAngle, ExprFishingBiteTime, ExprFishingHook, ExprFishingHookEntity, ExprFishingWaitTime, ExprFurnaceEventItems, ExprFurnaceSlot, ExprFurnaceTime, ExprItemDisplayTransform, ExprItemOfEntity, ExprLoot, ExprLootContext, ExprLootContextEntity, ExprLootContextLocation, ExprLootContextLooter, ExprLootContextLuck, ExprLootItems, ExprLootTable, ExprLootTableFromString, ExprLootTableSeed, ExprLoveTime, ExprQuaternionAxisAngle, ExprRotate, ExprSecCreateLootContext, ExprTag, ExprTagContents, ExprTagKey, ExprTagsOf, ExprTagsOfType, ExprTextDisplayAlignment, ExprTextDisplayLineWidth, ExprTextDisplayOpacity, ExprTextOf, InventorySlot, ItemFrameSlot, LiteralList, LiteralString, LoopSection, ch.njol.skript.conditions.base.PropertyCondition, ch.njol.skript.expressions.base.PropertyExpression, RegistryClassInfo, ReturnableTrigger, Section, ch.njol.skript.expressions.base.SectionExpression, SectionSkriptEvent, SelfRegisteringSkriptEvent, SimpleEvent, SimpleExpression, SimpleLiteral, ch.njol.skript.expressions.base.SimplePropertyExpression, SkriptEvent, Slot, SlotWithIndex, Statement, Structure, ThrowableProjectileSlot, Trigger, TriggerItem, TriggerSection, UnparsedLiteral, Variable, VariableString

public interface Debuggable
Represents an element that can print details involving an event.
  • Method Summary

    Modifier and Type
    Method
    Description
    Should return toString(null, false)
    toString(@Nullable org.bukkit.event.Event event, boolean debug)
     
  • Method Details

    • toString

      String toString(@Nullable @Nullable org.bukkit.event.Event event, boolean debug)
      Parameters:
      event - The event to get information from. 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
    • toString

      String toString()
      Should return toString(null, false)
      Overrides:
      toString in class Object