Class WorldBlockAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<WorldBlockAssert,@Nullable WorldHandle>
nl.pim16aap2.lightkeeper.framework.assertions.WorldBlockAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<WorldBlockAssert,,WorldHandle> org.assertj.core.api.Descriptable<WorldBlockAssert>,org.assertj.core.api.ExtensionPoints<WorldBlockAssert,WorldHandle>
public final class WorldBlockAssert
extends org.assertj.core.api.AbstractAssert<WorldBlockAssert,@Nullable WorldHandle>
World-selected block assertions delegating to the canonical live block subject.
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
info, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptionChecks a normalized material key using one live block read.ofType(org.bukkit.Material material) Checks a Bukkit material using one live block read.Checks a partial state spec using one frozen observation.Methods inherited from class org.assertj.core.api.AbstractAssert
actual, asInstanceOf, asList, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Method Details
-
ofType
Checks a Bukkit material using one live block read.- Parameters:
material- Expected material.- Returns:
- This assertion.
-
ofType
Checks a normalized material key using one live block read.- Parameters:
materialKey- Material name or namespaced key.- Returns:
- This assertion.
-
withState
Checks a partial state spec using one frozen observation.- Parameters:
expected- Partial expected state.- Returns:
- This assertion.
-