Knokko's Custom Items

Knokko's Custom Items

37.4k Downloads

Add Blockbench integration

knokko opened this issue ยท 0 comments

commented

Currently, the Editor allows uploading custom item models, but this system is rather error-prone. In particular, the texture paths need to be fixed manually, which often requires my support. The most promising model generator seems to be Blockbench, so it would help a lot if Blockbench would have some export format that the Editor can handle automatically.

I don't know yet how I will implement this, but two ideas come to mind:

  • Add a new export format to Blockbench that includes the model JSON plus all textures it depends on. (Maybe some ZIP format?) I don't know if such an export format exists already. If not, I would need to create an issue or pull request.
  • Add proper JSON parsing support to the Editor and find all texture paths in the model. Ask the user to upload an image for each texture path that doesn't point to a vanilla minecraft resource (and doesn't point to an existing custom texture).

I might also want to store these 'model textures' separately from the regular textures.

Also, even though this is not strictly related to this ticket, I might want to handle default models with a custom parent. Currently, there is this dirty 'Change to default model with given parent' function, which is not really nice.