Comments (4)
Yes I agree. Author has lost interest in minecraft. His Last message:
https://github.com/BeYkeRYkt/LightAPI/releases
Therefore, now I am trying to support plugin.
This is my fork of LightAPI:
github: https://github.com/Qveshn/LightAPI
spigot: https://www.spigotmc.org/resources/lightapi-fork.48247/
I will try to add maven and/or gradle to it, but I'm new to them. So, it takes me a long time to do it correctly.
Thanks =)
from lightapi.
I've been trying to do it and i gave up because of those 2 problems:
-
i wasn't able to build org.bukkit.craftbukkit.v1_8_R3 and v1_9_R2 so i have never built this project
-
lightapi is backward compatible with old minecraft versions.
Normally to build something what can use a few versions of the same library one uses osgi (but it cannot be done here because it requires a special environment to run). Gradle and maven disallow (as i remember) to load different org.bukkit.craftbukkit dependencies. To build it it may be necessary to build a different version of lightapi for every minecraft version.
I was searching on the internet, and i found something about a gradle feature called tasks. I think it can be used to keep the backward compatibility and still build it using gradle. My idea was to run tasks one after another and they would do something like this
start task 1 -> compile everything except things related to craftbukkit ->
start task 2 -> load v1_8_R3 -> compile everything related to v1_8_R3 -> unload v1_8_R3 ->
start task 3 -> load v1_9_R1 -> compile everything related to v1_9_R1 -> unload v1_9_R1 ->
etc
edit: i misspelled "build"...
edit2: could you tell me on what i should focus to learn minecraft modding better? i'm mainly interested in nms and in the past i've been learning only about java based servers (spring, jsf, hibernate, linux). i don't think i can help you now because im not skilled enough.
from lightapi.
Hello
I can tell you how I configured my IDE to build this project. This is not hard. Now I build project for all version with "one click".
I use intellij idea (https://www.jetbrains.com/idea/). I've created idea project from scratch.
All I needed - it is to download all required libraries (all required spigot versions and so on) and to make references to them.
I did it in intellij idea, but I think it is also easy to do in eclipse and other ide.
So, if you want, I can tell in detail how to make project from scratch to build final jar file with "one click"
In any case I suggest you to use my fork, because it has new updates.
=)
from lightapi.
Hi
sure, if that's not a problem for you :)
I use eclipse (it's cheaper), but i have been using intellij too.
Now i'm busy with studies and i put all my time to build flatpak versions of every application i use. But i will dig into it when i find a while.
is it fine to write here?
from lightapi.
Related Issues (20)
- Reset light level HOT 1
- [BUG] Randomly crash main thread on 1.18.1 HOT 3
- Get an error HOT 1
- light source is not show HOT 9
- [BUG] Light API not working on paper 1.18.2 HOT 16
- Warning on start HOT 1
- 1.19 support HOT 3
- Source is broken and can't resolve dependencies and can't compile. HOT 3
- 1.19 PLS HOT 15
- Getting "java.lang.IllegalStateException: Singleton not yet initialized! Use prepare()" when launching server HOT 3
- [Feature Request] Geyser Support HOT 1
- "ru.beykerykt.lightapi" is outdated! HOT 1
- Some blocks with light doesn't light after server restart HOT 1
- LightAPI not working on latest 1.19.2 Paper HOT 23
- Disabling LightAPI vbukkit-5.3.0 (build SNAPSHOT) Purpur 1.19.2
- Plugin not working for 1.19.3
- Update for 1.19.3 HOT 7
- error Initializing LightAPI... HOT 7
- LightAPI 1.13 ~ 1.19.4 Spigot & Paper & Hybrid. Download Here AND 1.20 Notice HOT 4
- LighterAPI —— A fork of LightAPI that supports 1.15.2-1.20.4 HOT 1
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.