Package net.eternalclient.api.events
Class DropAllEvent
- java.lang.Object
-
- net.eternalclient.api.events.AbstractEvent
-
- net.eternalclient.api.events.DropAllEvent
-
public class DropAllEvent extends AbstractEvent
This class represents an event in which all specified items are dropped, with the ability to exclude certain items from being dropped.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DropAllEvent.State
-
Constructor Summary
Constructors Constructor Description DropAllEvent()
DropAllEvent(int... ids)
DropAllEvent(java.lang.String... names)
DropAllEvent(java.util.function.Predicate<Item> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DropAllEvent
excluding(int... ids)
DropAllEvent
excluding(java.lang.String... names)
int
onLoop()
-
Methods inherited from class net.eternalclient.api.events.AbstractEvent
execute, executed, getActiveEvent, getCompleteMessage, getDefaultEventTimeout, getEventCompleteCondition, getEventCompleteTimeout, getEventInterruptCondition, getEventTimeout, getFailMessage, getRunLoggedOut, isEventCompleted, isEventFailed, isEventInterrupted, onComplete, onEventExit, onEventStart, onFail, onStart, onStop, setActiveEvent, setCompleted, setCompleted, setEventCompleteCondition, setEventCompleteCondition, setEventCompleted, setEventFailed, setEventInterruptCondition, setEventInterrupted, setEventLoginHandler, setEventTimeout, setExecutionDelay, setExecutionDelay, setExecutionTickDelay, setExecutionTickDelay, setFailed, setFailed, setInteractionMode, setLoggedOutRunnable, setLoggedOutRunnable, setReturnDelay, setReturnDelay, setReturnDelay, setReturnDelay, setReturnTickDelay, setReturnTickDelay, setReturnTickDelay, setReturnTickDelay, setRunLoggedOut, setRunLoggedOut, setSleep, shouldInterrupt, sleep, sleepAFK, sleepLowPredictable, sleepNormal, sleepPredictable
-
-
-
-
Constructor Detail
-
DropAllEvent
public DropAllEvent(java.lang.String... names)
-
DropAllEvent
public DropAllEvent(int... ids)
-
DropAllEvent
public DropAllEvent(java.util.function.Predicate<Item> predicate)
-
DropAllEvent
public DropAllEvent()
-
-
Method Detail
-
excluding
public DropAllEvent excluding(java.lang.String... names)
-
excluding
public DropAllEvent excluding(int... ids)
-
onLoop
public int onLoop()
- Specified by:
onLoop
in classAbstractEvent
-
-