qveshn / lightapi Goto Github PK
View Code? Open in Web Editor NEWThis project forked from beykerykt/lightapi
Bukkit Library for create invisible light source
License: Other
This project forked from beykerykt/lightapi
Bukkit Library for create invisible light source
License: Other
Hi!
I have been looking forward to using ShinyItems on my server again. Unfortunately, I am running a Paper based server, which LightAPI does not seem to support presently. A look into this would be highly appreciated!
Below is my server startup log regarding the new LightAPI
[08:57:38] [Server thread/INFO]: [LightAPI] Enabling LightAPI v3.3.0*
[08:57:38] [Server thread/INFO]: : Could not find handler for this Bukkit Paper implementation v1_14_R1 version.
[08:57:38] [Server thread/WARN]: ru.beykerykt.lightapi.server.exceptions.UnknownNMSVersionException: Could not find handler for this Bukkit Paper implementation v1_14_R1 version.
[08:57:38] [Server thread/WARN]: at ru.beykerykt.lightapi.server.ServerModManager.init(ServerModManager.java:61)
[08:57:38] [Server thread/WARN]: at ru.beykerykt.lightapi.LightAPI.onEnable(LightAPI.java:180)
[08:57:38] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[08:57:38] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:338)
[08:57:38] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:420)
[08:57:38] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:467)
[08:57:38] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:381)
[08:57:38] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:474)
[08:57:38] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:282)
[08:57:38] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:869)
[08:57:38] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:748)
[08:57:38] [Server thread/INFO]: [LightAPI] Disabling LightAPI v3.3.0
[08:57:38] [Server thread/INFO]: [LightAPI] Enabling LightAPI v3.3.0*
[08:57:38] [Server thread/INFO]: : Could not find handler for this Bukkit Paper implementation v1_14_R1 version.
[08:57:38] [Server thread/WARN]: ru.beykerykt.lightapi.server.exceptions.UnknownNMSVersionException: Could not find handler for this Bukkit Paper implementation v1_14_R1 version.
[08:57:38] [Server thread/WARN]: at ru.beykerykt.lightapi.server.ServerModManager.init(ServerModManager.java:61)
[08:57:38] [Server thread/WARN]: at ru.beykerykt.lightapi.LightAPI.onEnable(LightAPI.java:180)
[08:57:38] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[08:57:38] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:338)
[08:57:38] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:420)
[08:57:38] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:467)
[08:57:38] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:381)
[08:57:38] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:474)
[08:57:38] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:282)
[08:57:38] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:869)
[08:57:38] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:748)
[08:57:38] [Server thread/INFO]: [LightAPI] Disabling LightAPI v3.3.0
[01:14:42 WARN]: java.lang.ClassCastException: class ca.spottedleaf.starlight.light.StarLightInterface$2 cannot be cast to class net.minecraft.world.level.lighting.LightEngineBlock (ca.spottedleaf.starlight.light.StarLightInterface$2 and net.minecraft.world.level.lighting.LightEngineBlock are in unnamed module of loader 'app')
[01:14:42 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1$2.run(CraftBukkit_v1_17_R1.java:166)
[01:14:42 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.executeSync(CraftBukkit_v1_17_R1.java:242)
[01:14:42 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.recalculateLighting(CraftBukkit_v1_17_R1.java:159)
[01:14:42 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.createLight(CraftBukkit_v1_17_R1.java:97)
[01:14:42 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.LightAPI$1.run(LightAPI.java:320)
[01:14:42 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.request.RequestSteamMachine.run(RequestSteamMachine.java:120)
[01:14:42 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[01:14:42 WARN]: at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
[01:14:42 WARN]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
[01:14:42 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[01:14:42 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[01:14:42 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
server:1.17.1 papermc
client: opifine 1.17.1
lightapi: 3.5.2
hey looking forward for this API to grow!
i wanna see also api doc!
i made an example of creating and deleting lights:
and while LightType.BLOCK works perfect - LightType.SKY doesn't show up in any way - even when i get true from creating it.
the create light:
private void createLight(Location location, int level, boolean flag) {
boolean isOk = LightAPI.createLight(location, LightType.SKY, level, flag);
System.out.println("Create light: " + isOk);
for(ChunkInfo info: LightAPI.collectChunks(location , LightType.SKY, level)){
LightAPI.updateChunk(info, LightType.SKY);
}
}
also, some ideas i have that you can implement to improve it:
im using this api for example to highlight at night faction zones.
using paper.1.14.4 almost last version 226#
Hi,
please updete your plugin.
THX
Hello,
I am trying to make plugin, that uses LightAPI, and I would like to use Jitpack. Problem is, Jitpack is returning error while trying to build your repository (https://jitpack.io/com/github/Qveshn/LightAPI/3.4.2/build.log). Each release is broken (https://jitpack.io/#Qveshn/LightAPI).
My current solution is
<dependency>
<groupId>ru.beykerykt</groupId>
<artifactId>lightapi-fork</artifactId>
<version>3.4.2-fork</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/LightAPI-fork-3.4.2.jar</systemPath>
</dependency>
But I would love to use Jitpack for LightAPI (seems cleaner for me). Can you take a look what is going on?
Thanks.
Currently this warning pops up on paper 1.17.1-233
[17:45:03 WARN]: java.lang.ClassCastException: class ca.spottedleaf.starlight.light.StarLightInterface$2 cannot be cast to class net.minecraft.world.level.lighting.LightEngineBlock (ca.spottedleaf.starlight.light.StarLightInterface$2 and net.minecraft.world.level.lighting.LightEngineBlock are in unnamed module of loader 'app')
[17:45:03 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1$2.run(CraftBukkit_v1_17_R1.java:166)
[17:45:03 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.executeSync(CraftBukkit_v1_17_R1.java:242)
[17:45:03 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.recalculateLighting(CraftBukkit_v1_17_R1.java:159)
[17:45:03 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.createLight(CraftBukkit_v1_17_R1.java:97)
[17:45:03 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.LightAPI$1.run(LightAPI.java:320)
[17:45:03 WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.request.RequestSteamMachine.run(RequestSteamMachine.java:120)
[17:45:03 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[17:45:03 WARN]: at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
[17:45:03 WARN]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
[17:45:03 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[17:45:03 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[17:45:03 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
Would it be possible to implement support for Paper?
Hello,
I'm working on integrating LightAPI in my plugin (lasers-enigma.eu). Overall, it works well. Only one problem remains:
When I modify the lasers trajectories, it happens that some light sources (made using createLight) disappear. However, I don't think I have removed the light source present at this location.
My code can be seen here : Area.java - l.521 to l.543.
Did I do a mistake ? Or is there an issue within LightAPI ? Or should I run createLight again at some point on some locations ? Or maybe should I removeLight synchronously and also update the chunks for deleted lights ?
Thank you for your amazing work.
Best regards,
[18:12:42 WARN]: [InteractionVisualizer] Task #145 for InteractionVisualizer v1.17.0.8 generated an exception
java.lang.NoClassDefFoundError: ru/beykerykt/lightapi/LightType
at com.loohp.interactionvisualizer.managers.LightManager.lambda$run$0(LightManager.java:65) ~[InteractionVisualizer-1.17.0.8.jar:?]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1573) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:519) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1496) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1284) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:322) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: ru.beykerykt.lightapi.LightType
... 9 more
[18:12:42 WARN]: [InteractionVisualizer] Task #145 for InteractionVisualizer v1.17.0.8 generated an exception
java.lang.NoClassDefFoundError: ru/beykerykt/lightapi/LightType
at com.loohp.interactionvisualizer.managers.LightManager.lambda$run$0(LightManager.java:65) ~[InteractionVisualizer-1.17.0.8.jar:?]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1573) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:519) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1496) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1284) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:322) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: ru.beykerykt.lightapi.LightType
... 9 more
[18:12:43 WARN]: [InteractionVisualizer] Task #145 for InteractionVisualizer v1.17.0.8 generated an exception
java.lang.NoClassDefFoundError: ru/beykerykt/lightapi/LightType
at com.loohp.interactionvisualizer.managers.LightManager.lambda$run$0(LightManager.java:65) ~[InteractionVisualizer-1.17.0.8.jar:?]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1573) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:519) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1496) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1284) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:322) ~[pufferfish-1.18.1.jar:git-Pufferfish-9]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: ru.beykerykt.lightapi.LightType
... 9 more
I already asked in the interactive visualizer discord and they said I should ask here
[04:58:50 WARN]: Null nibble, preventing crash BlockPosition{x=-274, y=77, z=642}
[04:58:50 WARN]: [InteractionVisualizer] Task #42979795 for InteractionVisualizer v1.16.2.3 generated an exception
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.chunk.NibbleArray.getCloneIfSet()" because "updating" is null
at net.minecraft.world.level.lighting.DataLayerStorageMap.copyDataLayer(DataLayerStorageMap.java:45) ~[?:?]
at net.minecraft.world.level.lighting.LayerLightSectionStorage.setStoredLevel(LayerLightSectionStorage.java:108) ~[?:?]
at net.minecraft.world.level.lighting.LayerLightEngine.setLevel(LayerLightEngine.java:173) ~[?:?]
at net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint.runUpdates(DynamicGraphMinFixedPoint.java:215) ~[?:?]
at net.minecraft.world.level.lighting.LayerLightEngine.runUpdates(LayerLightEngine.java:201) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1$2.run(CraftBukkit_v1_17_R1.java:162) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.executeSync(CraftBukkit_v1_17_R1.java:240) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.recalculateLighting(CraftBukkit_v1_17_R1.java:157) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.createLight(CraftBukkit_v1_17_R1.java:95) ~[?:?]
at ru.beykerykt.lightapi.LightAPI$1.run(LightAPI.java:317) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:330) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:289) ~[?:?]
at com.loohp.interactionvisualizer.managers.LightManager.lambda$run$0(LightManager.java:148) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.1.jar:git-Paper-92]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1490) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:479) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1406) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1188) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[patched_1.17.1.jar:git-Paper-92]
at java.lang.Thread.run(Thread.java:831) [?:?]
[04:58:50 WARN]: Null nibble, preventing crash BlockPosition{x=-274, y=77, z=642}
[04:58:50 WARN]: Null nibble, preventing crash BlockPosition{x=-274, y=77, z=642}
[04:58:50 WARN]: [InteractionVisualizer] Task #42979795 for InteractionVisualizer v1.16.2.3 generated an exception
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.chunk.NibbleArray.getCloneIfSet()" because "updating" is null
at net.minecraft.world.level.lighting.DataLayerStorageMap.copyDataLayer(DataLayerStorageMap.java:45) ~[?:?]
at net.minecraft.world.level.lighting.LayerLightSectionStorage.setStoredLevel(LayerLightSectionStorage.java:108) ~[?:?]
at net.minecraft.world.level.lighting.LayerLightEngine.setLevel(LayerLightEngine.java:173) ~[?:?]
at net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint.runUpdates(DynamicGraphMinFixedPoint.java:215) ~[?:?]
at net.minecraft.world.level.lighting.LayerLightEngine.runUpdates(LayerLightEngine.java:201) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1$2.run(CraftBukkit_v1_17_R1.java:162) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.executeSync(CraftBukkit_v1_17_R1.java:240) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.recalculateLighting(CraftBukkit_v1_17_R1.java:157) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.createLight(CraftBukkit_v1_17_R1.java:95) ~[?:?]
at ru.beykerykt.lightapi.LightAPI$1.run(LightAPI.java:317) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:330) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:289) ~[?:?]
at com.loohp.interactionvisualizer.managers.LightManager.lambda$run$0(LightManager.java:148) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.1.jar:git-Paper-92]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1490) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:479) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1406) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1188) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[patched_1.17.1.jar:git-Paper-92]
at java.lang.Thread.run(Thread.java:831) [?:?]
Sorry I am lazy, can someone give me a plugin for light api :D
A user of InteractionVisualizer reported this error to me but I was unable to recreate it. I think it could be a problem of LightAPI (or perhaps I used it wrongly?)
The user reported he is using LightAPI-fork-3.4.2
java.lang.ClassCastException: net.minecraft.server.v1_15_R1.LightEngineLayerEventListener$Void cannot be cast to net.minecraft.server.v1_15_R1.LightEngineSky
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_15_R1$1.run(CraftBukkit_v1_15_R1.java:99) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_15_R1.executeSync(CraftBukkit_v1_15_R1.java:218) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_15_R1.setRawLightLevel(CraftBukkit_v1_15_R1.java:95) ~[?:?]
at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_15_R1.deleteLight(CraftBukkit_v1_15_R1.java:84) ~[?:?]
at ru.beykerykt.lightapi.LightAPI$2.run(LightAPI.java:408) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.deleteLight(LightAPI.java:419) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.deleteLight(LightAPI.java:382) ~[?:?]
at com.loohp.interactionvisualizer.Managers.LightManager$1.run(LightManager.java:52) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[Paper-1.15.2-b216.jar:git-Paper-214]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452) ~[Paper-1.15.2-b216.jar:git-Paper-214]
at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1233) ~[Paper-1.15.2-b216.jar:git-Paper-214]
at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430) ~[Paper-1.15.2-b216.jar:git-Paper-214]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1151) ~[Paper-1.15.2-b216.jar:git-Paper-214]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:946) ~[Paper-1.15.2-b216.jar:git-Paper-214]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
Spigot 1.15 (Jenkins 2513)
LightAPI 3.4.1
On server start-up:
[04:01:10] [Server thread/INFO]: [LightAPI] Enabling LightAPI v3.4.1
[04:01:10] [Server thread/ERROR]: [LightAPI] Could not find handler for this Bukkit Spigot implementation v1_15_R1 version.
[04:01:10] [Server thread/WARN]: ru.beykerykt.lightapi.server.exceptions.UnknownNMSVersionException: Could not find handler for this Bukkit Spigot implementation v1_15_R1 version.
[04:01:10] [Server thread/WARN]: at ru.beykerykt.lightapi.server.ServerModManager.init(ServerModManager.java:62)
[04:01:10] [Server thread/WARN]: at ru.beykerykt.lightapi.LightAPI.onEnable(LightAPI.java:195)
[04:01:10] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[04:01:10] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352)
[04:01:10] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417)
[04:01:10] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462)
[04:01:10] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376)
[04:01:10] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:456)
[04:01:10] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:266)
[04:01:10] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:783)
[04:01:10] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:834)
[04:01:10] [Server thread/INFO]: [LightAPI] Disabling LightAPI v3.4.1
i need this because i want to build Aurora the original version didn't work but now it hase update and need java 17 and use mc 1.18
Hi,
since I'm planning to program a plugin that needs the api functions, I wanted to ask how much LightAPI affects the performance.
Can you give me a rough guideline how many lights I can create without the server starting to lag?
Thanks in advance!
The lights I create are deleted, when I place a block directly next to the block, that holds the light. Is this a known bug?
[17:57:36] [Server thread/INFO]: [LightAPI] Enabling LightAPI v3.4.5
[17:57:36] [Server thread/INFO]: [LightAPI] Loading implementation for Paper server v1_15_R1.
[17:57:36] [Server thread/ERROR]: Error occurred while enabling LightAPI v3.4.5 (Is it up to date?)
java.lang.IllegalArgumentException: null
at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(Unknown Source) ~[?:1.8.0_261]
at java.util.concurrent.Executors$DelegatedScheduledExecutorService.scheduleWithFixedDelay(Unknown Source) ~[?:1.8.0_261]
at ru.beykerykt.lightapi.request.RequestSteamMachine.start(RequestSteamMachine.java:53) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.onEnable(LightAPI.java:243) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.15.2.jar:git-Paper-389]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.15.2.jar:git-Paper-389]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.15.2.jar:git-Paper-389]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:472) ~[patched_1.15.2.jar:git-Paper-389]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:386) ~[patched_1.15.2.jar:git-Paper-389]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:488) ~[patched_1.15.2.jar:git-Paper-389]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.15.2.jar:git-Paper-389]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:909) ~[patched_1.15.2.jar:git-Paper-389]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
[17:57:36] [Server thread/INFO]: [LightAPI] Disabling LightAPI v3.4.5
Could you released a build for 3.2.5 please.
Так как в 1.17 Java добавили светлые блоки - появился вопрос:
Можно ли их интегрировать в данный плагин, учитывая что в некоторых плагинах без Light-API не работает свет. Устанавливать Spigot ради работы плагина неоч как-то, я знаю что патч на пейпер есть, но как по мне лучше юзать что-то еще более но можно его устанавливать рядом.
Скорее всего, когда вы прочитаете это(обращение к разработчикам) вы закроете данный issue, но все же
I'm using This fork o LightAPI because it's a dependency of InteractionVisualizer, i made a profiling using spark and i found out that light api takes a lot of ms ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_16_R2.executeSync()
I'm using Tuinity 1.16.3 #160 with java 11 amazon corretto
Here is the link to the sampler.
https://spark.lucko.me/#wsEO4VAPZl
If there is a way to optimize more this plugins would be awesome!
Thanks for your amazing work!
server : Purpur version git-Purpur-1328 (MC: 1.17.1)
[15:06:06] [pool-14-thread-1/WARN]: java.lang.ClassCastException: ca.spottedleaf.starlight.light.StarLightInterface$2 incompatible with net.minecraft.world.level.lighting.LightEngineBlock
[15:06:06] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1$2.run(CraftBukkit_v1_17_R1.java:166)
[15:06:06] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.executeSync(CraftBukkit_v1_17_R1.java:242)
[15:06:06] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.recalculateLighting(CraftBukkit_v1_17_R1.java:159)
[15:06:06] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.createLight(CraftBukkit_v1_17_R1.java:97)
[15:06:06] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.LightAPI$1.run(LightAPI.java:320)
[15:06:06] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.request.RequestSteamMachine.run(RequestSteamMachine.java:120)
[15:06:06] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[15:06:06] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
[15:06:06] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
[15:06:06] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[15:06:06] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[15:06:06] [pool-14-thread-1/WARN]: at java.base/java.lang.Thread.run(Thread.java:853)
[15:06:09] [pool-14-thread-1/WARN]: java.lang.ClassCastException: ca.spottedleaf.starlight.light.StarLightInterface$2 incompatible with net.minecraft.world.level.lighting.LightEngineBlock
[15:06:09] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1$2.run(CraftBukkit_v1_17_R1.java:166)
[15:06:09] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.executeSync(CraftBukkit_v1_17_R1.java:242)
[15:06:09] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.recalculateLighting(CraftBukkit_v1_17_R1.java:159)
[15:06:09] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.createLight(CraftBukkit_v1_17_R1.java:97)
[15:06:09] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.LightAPI$1.run(LightAPI.java:320)
[15:06:09] [pool-14-thread-1/WARN]: at LightAPI-fork-3.5.2.jar//ru.beykerykt.lightapi.request.RequestSteamMachine.run(RequestSteamMachine.java:120)
[15:06:09] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[15:06:09] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
[15:06:09] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
[15:06:09] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[15:06:09] [pool-14-thread-1/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[15:06:09] [pool-14-thread-1/WARN]: at java.base/java.lang.Thread.run(Thread.java:853)
When starting the server this message appears:
[21:39:22] [Server thread/WARN]: Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug [21:39:24] [Server thread/WARN]: Legacy plugin LightAPI v3.4.3 does not specify an api-version.
The Spigot page says it's for 1.8-1.15, so this shouldn't appear on 1.15.2?
Since the popularity of starlight by being both in tuninity and its forks, could we get support for starlight?
here is the current issue I have found due to starlight + LightAPI
[20:56:19 WARN]: [InteractionVisualizer] Task #205 for InteractionVisualizer v1.16.2.3 generated an exception java.lang.ClassCastException: class ca.spottedleaf.starlight.light.StarLightInterface$2 cannot be cast to class net.minecraft.world.level.lighting.LightEngineBlock (ca.spottedleaf.starlight.light.StarLightInterface$2 and net.minecraft.world.level.lighting.LightEngineBlock are in unnamed module of loader 'app') at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1$2.run(CraftBukkit_v1_17_R1.java:166) ~[?:?] at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.executeSync(CraftBukkit_v1_17_R1.java:242) ~[?:?] at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.recalculateLighting(CraftBukkit_v1_17_R1.java:159) ~[?:?] at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.deleteLight(CraftBukkit_v1_17_R1.java:103) ~[?:?] at ru.beykerykt.lightapi.LightAPI$2.run(LightAPI.java:375) ~[?:?] at ru.beykerykt.lightapi.LightAPI.deleteLight(LightAPI.java:386) ~[?:?] at ru.beykerykt.lightapi.LightAPI.deleteLight(LightAPI.java:349) ~[?:?] at com.loohp.interactionvisualizer.managers.LightManager.lambda$run$0(LightManager.java:133) ~[?:?] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.1.jar:git-Purpur-1265] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.17.1.jar:git-Purpur-1265] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1565) ~[patched_1.17.1.jar:git-Purpur-1265] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:492) ~[patched_1.17.1.jar:git-Purpur-1265] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1480) ~[patched_1.17.1.jar:git-Purpur-1265] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1270) ~[patched_1.17.1.jar:git-Purpur-1265] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Purpur-1265]
I use this plugin for ItemAdder and gave me this error
https://paste.gg/p/anonymous/3cf3cb8861e04270921dd15d9c5329c9
Hello,
I'm new to spigot development, I wanted to create "flashlight" effect, but I don't know how to use LightAPI in my project. Can you tell me how to do that?
I'm not sure if this is intended behaviour or a bug, but lighting created via LightAPI.createLight()
only appears after a server restart. Relogging or reloading the chunk does not update the lighting in any way. Using spigot 1.16.4
Hi, aware you've not updated to 1.18.2 yet, thought i'd just make you aware in case you aren't.
Here are some console errors for the latest version.
PaperSpigot 1.15.2
LightAPI 3.4.0
Please change this
[12:18:08] [Server thread/INFO]: <LightAPI>: Loading handler for Spigot git-Spigot-94af569-6ddeb98 (MC: 1.14.4)
to standard message format
[12:18:08] [Server thread/INFO]: [LightAPI] Loading handler for Spigot git-Spigot-94af569-6ddeb98 (MC: 1.14.4)
Please add 1.16 support
Pretty self-explanatory... the plugin doesn't work on 1.16.2...
Today I've been migrating my spigot 1.13 server to 1.14 and I came across this error. I hope you are still maintaining this plugin and hopefully its a easy fix. If you need more information let me know.
[15:55:15] [Server thread/INFO]: [LightAPI] Enabling LightAPI v3.2.9
[15:55:15] [Server thread/INFO]: �[0;36;1m: �[0;37;1m�[0;31;1mCould not find handler for this Bukkit �[0;37;1mSpigot�[0;31;1m implementation �[0;37;1mv1_14_R1�[0;31;1m version.�[m
[15:55:15] [Server thread/WARN]: ru.beykerykt.lightapi.server.exceptions.UnknownNMSVersionException: Could not find handler for this Bukkit Spigot implementation v1_14_R1 version.
[15:55:15] [Server thread/WARN]: at ru.beykerykt.lightapi.server.ServerModManager.init(ServerModManager.java:62)
[15:55:15] [Server thread/WARN]: at ru.beykerykt.lightapi.LightAPI.onEnable(LightAPI.java:172)
[15:55:15] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[15:55:15] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352)
[15:55:15] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416)
[15:55:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:458)
[15:55:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:372)
[15:55:15] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:440)
[15:55:15] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258)
[15:55:15] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:761)
[15:55:15] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
[15:55:15] [Server thread/INFO]: [LightAPI] Disabling LightAPI v3.2.9
[13:42:17 WARN]: java.lang.IllegalStateException: Asynchronous Async Chunk Load! Blocking thread until it returns
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.MCUtil.ensureMain(MCUtil.java:54)
[13:42:17 WARN]: at org.bukkit.craftbukkit.v1_12_R1.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:18)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:170)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:153)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:149)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.World.getChunkAt(World.java:357)
[13:42:17 WARN]: at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_12_R1.sendChunkSectionsUpdate(CraftBukkit_v1_12_R1.java:62)
[13:42:17 WARN]: at ru.beykerykt.lightapi.server.nms.NmsHandlerBase.sendChunkSectionsUpdate(NmsHandlerBase.java:147)
[13:42:17 WARN]: at ru.beykerykt.lightapi.request.RequestSteamMachine.run(RequestSteamMachine.java:130)
[13:42:17 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[13:42:17 WARN]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[13:42:17 WARN]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[13:42:17 WARN]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[13:42:17 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[13:42:17 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[13:42:17 WARN]: at java.lang.Thread.run(Thread.java:821)
[13:42:17 WARN]: java.lang.IllegalStateException: Asynchronous Async Chunk Load! Blocking thread until it returns
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.MCUtil.ensureMain(MCUtil.java:54)
[13:42:17 WARN]: at org.bukkit.craftbukkit.v1_12_R1.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:18)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:170)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:153)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:149)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.World.getChunkAt(World.java:357)
[13:42:17 WARN]: at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_12_R1.sendChunkSectionsUpdate(CraftBukkit_v1_12_R1.java:62)
[13:42:17 WARN]: at ru.beykerykt.lightapi.server.nms.NmsHandlerBase.sendChunkSectionsUpdate(NmsHandlerBase.java:147)
[13:42:17 WARN]: at ru.beykerykt.lightapi.request.RequestSteamMachine.run(RequestSteamMachine.java:130)
[13:42:17 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[13:42:17 WARN]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[13:42:17 WARN]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[13:42:17 WARN]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[13:42:17 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[13:42:17 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[13:42:17 WARN]: at java.lang.Thread.run(Thread.java:821)
[13:42:17 WARN]: java.lang.IllegalStateException: Asynchronous Async Chunk Load! Blocking thread until it returns
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.MCUtil.ensureMain(MCUtil.java:54)
[13:42:17 WARN]: at org.bukkit.craftbukkit.v1_12_R1.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:18)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:170)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:153)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:149)
[13:42:17 WARN]: at net.minecraft.server.v1_12_R1.World.getChunkAt(World.java:357)
[13:42:17 WARN]: at ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_12_R1.sendChunkSectionsUpdate(CraftBukkit_v1_12_R1.java:62)
[13:42:17 WARN]: at ru.beykerykt.lightapi.server.nms.NmsHandlerBase.sendChunkSectionsUpdate(NmsHandlerBase.java:147)
[13:42:17 WARN]: at ru.beykerykt.lightapi.request.RequestSteamMachine.run(RequestSteamMachine.java:130)
[13:42:17 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[13:42:17 WARN]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[13:42:17 WARN]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[13:42:17 WARN]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[13:42:17 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[13:42:17 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[13:42:17 WARN]: at java.lang.Thread.run(Thread.java:821)
[19:02:05 WARN]: java.lang.ClassCastException: class ca.spottedleaf.starlight.light.StarLightInterface$2 cannot be cast to class net.minecraft.world.level.lighting.LightEngineBlock (ca.spottedleaf.starlight.light.StarLightInterface$2 and net.minecraft.world.level.lighting.LightEngineBlock are in unnamed module of loader 'app')
[19:02:05 WARN]: at LightAPI-fork-3.5.2 (1).jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1$2.run(CraftBukkit_v1_17_R1.java:166)
[19:02:05 WARN]: at LightAPI-fork-3.5.2 (1).jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.executeSync(CraftBukkit_v1_17_R1.java:242)
[19:02:05 WARN]: at LightAPI-fork-3.5.2 (1).jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.recalculateLighting(CraftBukkit_v1_17_R1.java:159)
[19:02:05 WARN]: at LightAPI-fork-3.5.2 (1).jar//ru.beykerykt.lightapi.server.nms.craftbukkit.CraftBukkit_v1_17_R1.createLight(CraftBukkit_v1_17_R1.java:97)
[19:02:05 WARN]: at LightAPI-fork-3.5.2 (1).jar//ru.beykerykt.lightapi.LightAPI$1.run(LightAPI.java:320)
[19:02:05 WARN]: at LightAPI-fork-3.5.2 (1).jar//ru.beykerykt.lightapi.request.RequestSteamMachine.run(RequestSteamMachine.java:120)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.