Posted November 13, 20214 yr 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.
November 13, 20214 yr Author 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#'
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.