Hello.
So I've seen several people importing textures.Modeltexture in their code when rendering in Java with the LWJGL and slick-utils, but it's not a resolvable type apparently. Can someone tell me what this is? Is it something deprecated, am I missing a library (and which one), or what else could be happening?
Thank you very much in advance.
#[Quick] LWJGL and slick-utils Modeltexture not resolved to a type
1 messages · Page 1 of 1 (latest)
<@&987246964494204979> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
import textures.ModelTexture;
public class texturedModel {
private RawModel rawModel;
private ModelTexture texture;
public TexturedModel(RawModel model, ModelTexture texture) {
this.rawModel = model;
this.texture = texture;
}
public RawModel getRawModel() {
return rawModel;
}
public ModelTexture getTexture() {
return texture;
}
}
This is an example
Detected code, here are some useful tools:
Formatted code
import textures.ModelTexture;
public class texturedModel {
private RawModel rawModel;
private ModelTexture texture;
public TexturedModel(RawModel model, ModelTexture texture) {
this .rawModel = model;
this .texture = texture;
}
public RawModel getRawModel() {
return rawModel;
}
public ModelTexture getTexture() {
return texture;
}
}
To me it looks like this is a “custom” class that you don’t have. It’s definitely not a part of a library
Anything that’s slick utils related is in the package org.newdawn.slick and anything lwjgl related is in the package org.lwjgl