Klasse ParcelPreviewService
java.lang.Object
de.delinkedde.areashopreborn.application.ParcelPreviewService
Resolves managed parcels asynchronously and renders bounded particle outlines per player.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungParcelPreviewService(org.bukkit.plugin.java.JavaPlugin plugin, Database database, EstateRepository estates, ThreadBridge threads, int maximumParticles, int repetitions, long intervalTicks) Creates the parcel preview service. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungDisplays the horizontal parcel boundary to an authorized manager.
-
Konstruktordetails
-
ParcelPreviewService
public ParcelPreviewService(org.bukkit.plugin.java.JavaPlugin plugin, Database database, EstateRepository estates, ThreadBridge threads, int maximumParticles, int repetitions, long intervalTicks) Creates the parcel preview service.- Parameter:
plugin- owning plugindatabase- asynchronous database executorestates- estate repositorythreads- main-thread bridgemaximumParticles- maximum particles per rendering passrepetitions- number of rendering passesintervalTicks- ticks between rendering passes
-
-
Methodendetails
-
preview
Displays the horizontal parcel boundary to an authorized manager.- Parameter:
player- receiving playerregionName- parcel display name or protection identifier- Gibt zurück:
- future containing the particles rendered per pass
-