Removed misplaced files

This commit is contained in:
MrHua269
2025-01-12 13:01:43 +08:00
parent 4b43bded79
commit e4ba4e0497
2 changed files with 0 additions and 83 deletions

View File

@@ -1,42 +0,0 @@
package me.earthme.luminol.api.events;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
/**
* Called when a region finished its tick task.
*/
public class TickRegionFinishedTickEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private final long currTime;
private final long regionId;
public TickRegionFinishedTickEvent(long currTime, long regionId) {
this.currTime = currTime;
this.regionId = regionId;
}
/**
* Get the time of tick end
* @return The time of tick end in nanoseconds
*/
public long getFinishedTime() {
return this.currTime;
}
/**
* Get the id of current region
* Notice: The id of global region is -1 in this event
* @return The id of current region
*/
public long getRegionId() {
return this.regionId;
}
@Override
public @NotNull HandlerList getHandlers() {
return handlers;
}
}

View File

@@ -1,41 +0,0 @@
package me.earthme.luminol.api.events;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
/**
* Called when a tick was started.
*/
public class TickRegionStartTickEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private final long currTime;
private final long regionId;
public TickRegionStartTickEvent(long currTime, long regionId) {
this.currTime = currTime;
this.regionId = regionId;
}
/**
* Get the id of current region
* Notice: The id of global region is -1 in this event
* @return The id of current region
*/
public long getRegionId() {
return this.regionId;
}
/**
* Get the time of tick start
* @return The time of tick start in nanoseconds
*/
public long getStartTime(){
return this.currTime;
}
@Override
public @NotNull HandlerList getHandlers() {
return handlers;
}
}