I've never modded minecraft, but I use both LWJGL and Slick-Util routinly. If you want to use fonts, here are 2 options.
Option 1: Use Slick-Util
In order for Slick-Util to work, you must make sure you added the jar to the build path. If you do this in a minecraft mod, you should be able to achieve this by opening minecraft.jar in 7-Zip or WinRar, and adding "Rsrc-Class-Path: ./ slick-util.jar" to the manifest.mf file. If you do try this, make sure you include the slick util jar in the bin folder of minecraft. Unfortunately, I've never tried this before in minecraft, only on my own programs, so I have no idea if it will work.
Option 2: Write your own font loader
Don't worry, it is not as hard as it sounds. This is how slick util does it:
Load fonts using java's java.awt.font class
Draw all the characters you need onto a BufferedImage
Take the BufferedImage data and use it on a texture
Write a function that converts the string's characters into texture coordinates.
Aside from these two options, the easiest and most viable option would be to just use bitmap fonts. They are easy to load and easy to work with. On top of that, minecraft already has its own bitmap font, and bitmap fonts take up less space.
0
2
The game looks great. I don't know what the heck he's talking about. What competition did you submit the game to?
0
Here are some screenshots:
https://drive.google...dit?usp=sharing
https://drive.google...dit?usp=sharing
https://drive.google...dit?usp=sharing
Video:
It was written in java. Please enjoy!
0
0
Option 1: Use Slick-Util
In order for Slick-Util to work, you must make sure you added the jar to the build path. If you do this in a minecraft mod, you should be able to achieve this by opening minecraft.jar in 7-Zip or WinRar, and adding "Rsrc-Class-Path: ./ slick-util.jar" to the manifest.mf file. If you do try this, make sure you include the slick util jar in the bin folder of minecraft. Unfortunately, I've never tried this before in minecraft, only on my own programs, so I have no idea if it will work.
Option 2: Write your own font loader
Don't worry, it is not as hard as it sounds. This is how slick util does it:
Aside from these two options, the easiest and most viable option would be to just use bitmap fonts. They are easy to load and easy to work with. On top of that, minecraft already has its own bitmap font, and bitmap fonts take up less space.
Good Luck!