Now, all updating of Stargates' control blocks happens through a queue. The amount of ticks between each time the queue is polled from is configurable using controlUpdateDelay
13 lines
330 B
Java
13 lines
330 B
Java
package net.knarcraft.stargate.container;
|
|
|
|
import net.knarcraft.stargate.portal.Portal;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/**
|
|
* A request for updating a portal's control blocks
|
|
*
|
|
* @param portal <p>The portal to update the control blocks for</p>
|
|
*/
|
|
public record ControlBlockUpdateRequest(@NotNull Portal portal) {
|
|
}
|