#custom item model isnt working :C

26 messages · Page 1 of 1 (latest)

sturdy glacier
#

just shows up as a big missing texture block
event.create('plate', 'helmet').maxStackSize(2).rarity('rare').tooltip('I wonder where this goes?').modelJson( { "credit": "Made with Blockbench", "texture_size": [24, 14], "textures": { "0": "mowziesmobs:Plate", "particle": "mowziesmobs:Plate" }, "elements": [ { "from": [3, 0, 2], "to": [13, 1.5, 14], "faces": { "north": {"uv": [1.33333, 0, 8, 2.28571]}, "east": {"uv": [1.33333, 2.28571, 0, 16], "rotation": 90}, "south": {"uv": [8, 2.28571, 14.66667, 0]}, "west": {"uv": [8, 16, 9.33333, 2.28571], "rotation": 90}, "up": {"uv": [9.33333, 2.28571, 16, 16]}, "down": {"uv": [1.33333, 16, 8, 2.28571]} } } ], "display": { "thirdperson_righthand": { "rotation": [75, 45, 0], "translation": [-0.25, 2.5, 3], "scale": [0.375, 0.375, 0.375] }, "thirdperson_lefthand": { "rotation": [75, 45, 0], "translation": [-0.25, 2.5, 3], "scale": [0.375, 0.375, 0.375] }, "firstperson_righthand": { "rotation": [0, 45, 0], "translation": [0, 3, 1], "scale": [0.4, 0.4, 0.4] }, "firstperson_lefthand": { "rotation": [0, 45, 0], "translation": [0, 3, 1.25], "scale": [0.4, 0.4, 0.4] }, "ground": { "translation": [0, 0.25, 0], "scale": [0.5, 0.5, 0.5] }, "gui": { "rotation": [30, 225, 0], "translation": [0, 3, 0] }, "head": { "rotation": [-90, 0, 0], "translation": [0, -1, -14.25] }, "fixed": { "rotation": [-90, 0, 0], "translation": [0, 0, -7] } } } )

lunar pulsarBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

sturdy glacier
nova stoneBOT
#

Paste version of latest.log from @sturdy glacier

sturdy glacier
#

missing texture going to try to put one in manually

#

in json model

#

#0 readded and then i refrenced plate in #0 definition

#

ok so now the model is correct but texture still pink and black

#

new code

nova stoneBOT
#

Paste version of script.js from @sturdy glacier

sturdy glacier
#

trying to correct png name capitalisation

#

had Plate.png instead of plate.png

#

didnt work

sturdy glacier
nova stoneBOT
#

Paste version of script.js from @sturdy glacier

sturdy glacier
#

texture isnt working and is still purple missing texture

#

my texture is currently in the kubejs textures file

#

model is now in seperate file and is being refrenced by the code which works

#

i now just need to refrence the texture in the model file possibly

#

idk

#

if any 1 could help please

sturdy glacier
#

I GOT IT TO WORK

#

it needs to be in geometry file and it needs to be ref as kubejs:item/itemname

#

AAHAHAHA