maniadevelopment / minecraft-classic-forever Goto Github PK
View Code? Open in Web Editor NEWBringing Minecraft Classic to the opensource world!
Bringing Minecraft Classic to the opensource world!
Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:95)
at org.lwjgl.Sys.<clinit>(Sys.java:112)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at com.mojang.minecraft.Minecraft.run(Minecraft.java:227)
at java.lang.Thread.run(Unknown Source)
LWJGL is properly installed in my workspace, so I don't understand why this error happens. The 'MinecraftMania - Single Player' window opens, but it only has the system color background (beige or gray on windows) in it.
ca1f6eb
Minecraft.java
Line 874.
When running in eclipse I get this error
java.lang.IllegalArgumentException: input == null!
at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1358)
at com.mojang.minecraft.gui.FontRenderer.<init>(FontRenderer.java:24)
at com.mojang.minecraft.Minecraft.run(Minecraft.java:307)
at java.base/java.lang.Thread.run(Thread.java:833)
This is the code in FontRenderer.java that causes the error:
BufferedImage var14;
try {
var14 = ImageIO.read(TextureManager.class.getResourceAsStream(var2));
} catch (IOException var13) {
throw new RuntimeException(var13);
}
var2 is a string set to file names like "/default.png", "/default.gif", etc
No idea what's wrong, haven't changed any code relating to this?
You can walk on water, flowers.
The game starts but the display doesn't...
They download but don't work anymore. No idea why...
On old Java versions, ArrayLists behaved differently: index 1 is first element and all elements after are 2,3,4 and etc. But on new Javas ArrayLists, as i said, behave differently. So, when you are dead, an exception triggers in class GameOverScreen. The way to fix is: change ((Button)this.buttons.get(2)).active = false;
to ((Button)this.buttons.get(1)).active = false;
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.