Turtle texturing error #889
-
I tried to make special upgrade for turtle, but when I try to use my modles: Code json: turtle_upgrade_base_left.json |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Please please format code with code blocks, Java model codeprivate static final ModelResourceLocation leftModel = new ModelResourceLocation( "ccbetterspeaker:turtle_speaker_upgrade_left", "inventory" );
private static final ModelResourceLocation rightModel = new ModelResourceLocation( "ccbetterspeaker:turtle_speaker_upgrade_right", "inventory" );
|
Beta Was this translation helpful? Give feedback.
-
There's a |
Beta Was this translation helpful? Give feedback.
There's a
ModelRegistryEvent
which allows you to register "special models" - i.e. those not associated with a block or item. See what CC: Tweaked does:https://github.com/SquidDev-CC/CC-Tweaked/blob/01ddb2b4e436d5931159c25c15eafdfe33f64de1/src/main/java/dan200/computercraft/client/ClientRegistry.java#L73-L81