Interface NotConditionSource
- All Superinterfaces:
ConditionSource, SurfaceRule, Wrapper
Inverts a surface condition, passing when the nested condition fails.
- Since:
- 3.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic NotConditionSourceof(ConditionSource target) Creates a new not condition source.target()The condition to invert.Methods inherited from interface ConditionSource
not, thenMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
target
The condition to invert.- Returns:
- the inverted condition
- Since:
- 3.0.0
-
of
Creates a new not condition source.- Parameters:
target- the condition to invert- Returns:
- the not condition source
- Since:
- 3.0.0
-