BrownBerry
Members-
Posts
7 -
Joined
-
Last visited
BrownBerry's Achievements
Tree Puncher (2/8)
0
Reputation
-
[Forge 1.17.1] OBJ Loader failing to find model
BrownBerry replied to BrownBerry's topic in Modder Support
I found these two exceptions in the log but have no idea what they really mean. Exception loading blockstate definition: testmod:blockstates/connector.json: java.io.FileNotFoundException: testmod:blockstates/connector.json Exception loading blockstate definition: 'testmod:blockstates/connector.json' missing model for variant: 'testmod:connector#' -
[Forge 1.17.1] OBJ Loader failing to find model
BrownBerry replied to BrownBerry's topic in Modder Support
umm, in minecraft it is just showing as the mising texture block -
[Forge 1.17.1] OBJ Loader failing to find model
BrownBerry replied to BrownBerry's topic in Modder Support
oh thanks a lot. -
[Forge 1.17.1] OBJ Loader failing to find model
BrownBerry replied to BrownBerry's topic in Modder Support
what? -
I am trying to load a simple .OBJ model however forge cannot seem to find the model. Here is my resources folder: https://imgur.com/a/q8TjV2U My datagen code: BlockModelBuilder model = models() .getBuilder(Registration.CONNECTER.getId().getPath()) .customLoader(OBJLoaderBuilder::begin) .modelLocation(new ResourceLocation(MODID, "models/block/connecter")) // ISSUE HERE .flipV(true) .end() .texture("qr", new ResourceLocation(MODID, "textures/block/connecter")) .texture("particle", "#qr"); The error: Caused by: java.lang.IllegalArgumentException: OBJ Model testmod:models/block/connecter does not exist in any known resource pack Any help appreciated, Thanks in advance.
-
bump
-
How would I go about rotating a player's actual model (+ camera) on the Z axis (so pitch)? I can't seem to find anything about this for 1.17.1. Ideally this would work with third person and so on. Maybe someone could point me in the direction of a mod that does this?