java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Condition
ch.njol.skript.conditions.base.PropertyCondition<EquippableWrapper>
org.skriptlang.skript.bukkit.itemcomponents.equippable.elements.CondEquipCompInteract
All Implemented Interfaces:
Debuggable, Simplifiable<Condition>, SyntaxElement, Predicate<EquippableWrapper>, EquippableExperimentSyntax, Conditional<org.bukkit.event.Event>, ExperimentalSyntax, SimpleExperimentalSyntax, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Equippable Component - Can Equip On Entities") @Description("Whether an entity should equip the item when right clicking on the entity with the item.\nNOTE: Equippable component elements are experimental. Thus, they are subject to change and may not work as intended.\n") @Example("if {_item} can be equipped on entities:") @Since("2.13") @RequiredPlugins("Minecraft 1.21.5+") public class CondEquipCompInteract extends ch.njol.skript.conditions.base.PropertyCondition<EquippableWrapper> implements EquippableExperimentSyntax
  • Constructor Details

    • CondEquipCompInteract

      public CondEquipCompInteract()
  • Method Details

    • register

      public static void register(SyntaxRegistry registry)
    • check

      public boolean check(EquippableWrapper wrapper)
      Specified by:
      check in class ch.njol.skript.conditions.base.PropertyCondition<EquippableWrapper>
    • getPropertyType

      protected ch.njol.skript.conditions.base.PropertyCondition.PropertyType getPropertyType()
      Overrides:
      getPropertyType in class ch.njol.skript.conditions.base.PropertyCondition<EquippableWrapper>
    • getPropertyName

      protected String getPropertyName()
      Specified by:
      getPropertyName in class ch.njol.skript.conditions.base.PropertyCondition<EquippableWrapper>