#[Quick] LWJGL and slick-utils Modeltexture not resolved to a type

1 messages · Page 1 of 1 (latest)

severe kernel
#

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.

proper aspenBOT
#

<@&987246964494204979> please have a look, thanks.

proper aspenBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

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.

severe kernel
#
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

proper aspenBOT
# severe kernel ```java import textures.ModelTexture; public class texturedModel { private...

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;
  }
}
faint steeple
#

Anything that’s slick utils related is in the package org.newdawn.slick and anything lwjgl related is in the package org.lwjgl

severe kernel
#

Thank you!

#

I think I’m just dumb lol