Added SolarCell Ticking System

This commit is contained in:
2026-02-07 00:24:59 +01:00
parent 6fc02d82b4
commit 486254b6dd
5 changed files with 148 additions and 15 deletions

View File

@@ -8,6 +8,7 @@ import com.hypixel.hytale.server.core.universe.world.storage.ChunkStore;
import org.KaiFlo.SolarCell.Commands.ExampleCommand;
import org.KaiFlo.SolarCell.Components.EnergySource.Implementations.SolarCellComponent;
import org.KaiFlo.SolarCell.Systems.EnergySource.SolarCellInitializer;
import org.KaiFlo.SolarCell.Systems.EnergySource.SolarCellTickingSystem;
import javax.annotation.Nonnull;
@@ -38,6 +39,7 @@ public class SolarCellPlugin extends JavaPlugin {
this.getCommandRegistry().registerCommand(new ExampleCommand(this.getName(), this.getManifest().getVersion().toString()));
this.getChunkStoreRegistry().registerSystem(new SolarCellInitializer());
this.getChunkStoreRegistry().registerSystem(new SolarCellTickingSystem());
}