Package com.sk89q.worldedit.util
Class SideEffectSet
java.lang.Object
com.sk89q.worldedit.util.SideEffectSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SideEffectSet
defaults()
boolean
getState
(SideEffect effect) static SideEffectSet
none()
boolean
shouldApply
(SideEffect effect) Gets whether this side effect is not off.with
(SideEffect sideEffect, SideEffect.State state)
-
Constructor Details
-
SideEffectSet
-
-
Method Details
-
with
-
doesApplyAny
public boolean doesApplyAny() -
getState
-
shouldApply
Gets whether this side effect is not off.This returns whether it is either delayed or on.
- Parameters:
effect
- The side effect- Returns:
- Whether it should apply
-
getSideEffectsToApply
-
defaults
-
none
-