Class HighlightSession
java.lang.Object
su.nightexpress.excellentclaims.api.highlight.HighlightSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntityReference(EntityReference reference) @Nullable EntityReferencegetEntityReference(su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) voidremoveEntityReference(su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) voidCleans up all highlights when the session ends.update(su.nightexpress.nightcore.util.geodata.Cuboid selectedRegion, su.nightexpress.nightcore.util.geodata.Cuboid view) Updates the player's view bounds and returns the precise block changes.
-
Constructor Details
-
HighlightSession
-
-
Method Details
-
update
public HighlightDelta update(su.nightexpress.nightcore.util.geodata.Cuboid selectedRegion, su.nightexpress.nightcore.util.geodata.Cuboid view) Updates the player's view bounds and returns the precise block changes. -
terminate
public void terminate()Cleans up all highlights when the session ends. -
getEntityReferences
-
getEntityReference
public @Nullable EntityReference getEntityReference(su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) -
addEntityReference
-
removeEntityReference
public void removeEntityReference(su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos)
-