Module net.botwithus.rs3
Class EntityQueryBuilder<T extends EntityQueryBuilder<T>>
java.lang.Object
net.botwithus.rs3.game.queries.builders.EntityQueryBuilder<T>
- All Implemented Interfaces:
BiPredicate<MemoryLayoutPREVIEW,,MemorySegmentPREVIEW> QueryBuilderPREVIEW
- Direct Known Subclasses:
HintArrowQuery,PathingEntityQuery,SceneObjectQuery,SpotAnimationQuery
public abstract sealed class EntityQueryBuilder<T extends EntityQueryBuilder<T>>
extends Object
implements QueryBuilderPREVIEW
permits PathingEntityQuery<T>, SpotAnimationQuery, HintArrowQuery, SceneObjectQuery
EntityQueryBuilder relies on preview features of the Java platform:
EntityQueryBuilderrefers to one or more preview APIs:MemoryLayout,MemorySegment.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Field Summary
Fields inherited from interface net.botwithus.rs3.game.queries.builders.QueryBuilderPREVIEW
DEFAULT -
Method Summary
Modifier and TypeMethodDescriptionand(@NotNull BiPredicate<? super MemoryLayoutPREVIEW, ? super MemorySegmentPREVIEW> other) <T extends QueryBuilderPREVIEW>
Tmark()Mark the current state of the querynegate()off(Coordinate coordinate) on(Coordinate coordinate) or(@NotNull BiPredicate<? super MemoryLayoutPREVIEW, ? super MemorySegmentPREVIEW> other) reset()Reset the query to its marked state or if no mark is present to the default statebooleantest(MemoryLayoutPREVIEW memoryLayout, MemorySegmentPREVIEW segment)
-
Method Details
-
on
-
off
-
inside
-
outside
-
isReachable
-
and
@NotNull public T and(@NotNull @NotNull BiPredicate<? super MemoryLayoutPREVIEW, ? super MemorySegmentPREVIEW> other) - Specified by:
andin interfaceBiPredicate<MemoryLayoutPREVIEW,MemorySegmentPREVIEW>
-
negate
- Specified by:
negatein interfaceBiPredicate<MemoryLayoutPREVIEW,MemorySegmentPREVIEW>
-
or
@NotNull public T or(@NotNull @NotNull BiPredicate<? super MemoryLayoutPREVIEW, ? super MemorySegmentPREVIEW> other) - Specified by:
orin interfaceBiPredicate<MemoryLayoutPREVIEW,MemorySegmentPREVIEW>
-
reset
Reset the query to its marked state or if no mark is present to the default state- Specified by:
resetin interfaceQueryBuilderPREVIEW- Returns:
- the current query
-
mark
Mark the current state of the query- Specified by:
markin interfaceQueryBuilderPREVIEW- Returns:
- the current query
-
test
- Specified by:
testin interfaceBiPredicate<MemoryLayoutPREVIEW,MemorySegmentPREVIEW>
-
EntityQueryBuilderwhen preview features are enabled.