Comments (8)
What LightAPI version do you use and what exact message do you see in console?
And does Paper uses StarLight engine?
from lightapi.
LightAPI 3.5.2
StarLight: Depends on if a non-modified paper server runs with it or not
from lightapi.
Hm... intersting...
LightAPI 3.5.2 should support paper 1.17.1 if paper based on craftbukkit and without StarLight.
Can you give me the exact way/url to download the same paper version that you got? (+ version/build number itself )
Also give me the exact message in console where you see "no LifgtAPI implementations" or like this.
Upd:
I download paper 1.17.1 build 241 here:
But it contains Starlight. Therefore LightAPI is incompatible wit this one.
Where can I get non-modified paper server 1.17.1 without Starlight?
from lightapi.
Hmm, I downloaded the most recent. So chances are it has Starlight in it as well.
from lightapi.
You can check Starlight presence if open jar-file as archive (zip) and search files with names like "starlight"
There path in jar-file "/ca/spottedleaf/starlight/..." also indicates about presence of Starlight
from lightapi.
Discord:
https://discord.com/channels/538139695079489581/802420410377437195/865178654781472798
Euan — 15.07.2021
hey @Spottedleaf wanted to CC you in this, #32, you might be able to give more details then me
...
trying to get this plugin to work with starlight
https://discord.com/channels/538139695079489581/802420410377437195/865178889293529098
Spottedleaf — 15.07.2021
as of 1.17 I don't support custom light sources, as mojang has a custom light block
https://discord.com/channels/538139695079489581/802420410377437195/865605283089612810
serjproch — 16.07.2021 IT'S ME
Hi @Spottedleaf
The problem is that LIGHT BLOCK does not cover all the functionality of setting the light, as it was implemented in the vanilla version of the light engine:
LIGHT BLOCK can be set only in the air (it is an independent block) while custom lights could be placed inside other blocks. This allows other blocks to simulate light emission as well.
LIGHT BLOCK can emmit light only of LightType.BLOCK, while cutom lights can be set both for BLOCK and SKY types. This allows for natural light from the sky (e.g. inside late dark canyons).
LIGHT BLOCK can be set only from min to max world height, while custom light can be set also in one section below and above world. This allows to illuminate structures from the outside of the world.
I am maintaining a LightAPI plugin. This plugin is used by other third party plugins as an API for the ability to set custom lights.
It turned out that servers based on Starlight have a rewritten light engine and LightAPI is not compatible with such servers.
It expected the presence of objects of classes LightEngineBlock and LightEngineSky inherited from LightEngineLayer, through which the plugin sets lights and recalculates its propagation to adjacent blocks.It would be nice to have this possibility also in Starlight as well, as it will significantly expand the functionality of the LIGHT BLOCK.
It is not necessary to reproduce imitation of all classes and methods from vanilla mechanics. A variant of the interface that differs from the vanilla server is possible. If this is possible, an implementation for servers with built-in Starlight will be added to the LightAPI plugin.
And everyone will be happy.Thanks
😃
No reaction on my post. Spottedleaf did not answer
😟
from lightapi.
That's disappointing honestly. Oh well, If anyone complains I'll just tell them to either complain to the paper devs or switch back to spigot lol
from lightapi.
@OpticFusion1 Starlight was included in paper since build 232. Therefore you can use build 231 and LightAPI will work 😄
from lightapi.
Related Issues (20)
- Error when loading LightAPI on 1.15.2 Paper HOT 1
- How to implement LightAPI to a plugin? HOT 4
- Lights disappear on block update HOT 1
- Lighting only updates after a server restart HOT 2
- Performance HOT 6
- 1.17 HOT 3
- Error stopped chunks from loading HOT 10
- Tunity Starlight Support. HOT 21
- java.lang.ClassCastException: ca.spottedleaf.starlight.light.StarLightInterface$2 incompatible with net.minecraft.world.level.lighting.LightEngineBlock
- Can someone give plugin? HOT 2
- 1.17.1 Pupur Issue HOT 2
- don't see light HOT 13
- [WARN] LightAPIFork on paper 1.17.1-233 HOT 4
- [BUG] starlight.light.StarLightInterface HOT 1
- Error on StartUp
- Добавить поддержку starlight(в виде светлых блоков) для 1.17
- Update to support java 17 and mc 1.18
- Warn flood to console PufferFish core
- Classnotfoundexception on 1.18.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightapi.