sp614x / optifine

1.79k stars 418 forks source link

[CIT] Custom models not working with Forge for 1.14.4 #3024

Open Yldales opened 4 years ago

Yldales commented 4 years ago

Hello,

Using OptiFine_1.14.4_HD_U_F4 with Forge 28.1.39, I've got the followings errors when trying to use a custom JSON model inside a CIT .properties file (see file below).

[OptiFine] CustomItems: optifine/cit/resources/stone_deposit.properties [OptiFine] Error registering model: minecraft:optifine/cit/resources/stone_deposit#inventory, java.lang.NullPointerException: stateModels is null [OptiFine] Custom Items: Model not found optifine/cit/resources/stone_deposit

File: stone_deposit.properties

type=item
matchItems=stick
nbt.skin=stone_deposit
model=./stone_deposit

File: Test resource pack optifine_cit_models.zip

Thanks

sp614x commented 4 years ago

CIT with custom models is not working for 1.14.x yet.

Francy-chan commented 4 years ago

Actually (even 4 days ago), you can use CIT with custom models, I use it a lot, with more than 100 custom models for weapons and carved pumpkin. (Using 1.14.4 HD U F4)

File: Test resource pack optifine_cit_models.zip

Also this file is working very well, just installed and typed "/give @s stick{skin:stone_deposit}", no errors found (except with the dropped display that is clipping on the ground) image

Yldales commented 4 years ago

Sorry for the delay, and thanks.

Linteckh commented 4 years ago

Finally I found why my resource pack is not working as I want, just tried, and it's still totally bugged with "Optifine 1.14.4- F5" on "Forge 1.14.4- 28.1.114", work well without Forge tho, so still need the /give command for now, impossible to change the model just by renaming the item, hope it'll be patched soon