Jump to content

head/hats issue


Go to solution Solved by Spear and Fang,

Recommended Posts

Posted

making some new hats and no errors but not showing up in menu or handbook?

 

Spoiler
{
"editor": {
"backDropShape": "game:entity/humanoid/seraph",
"allAngles": false,
"entityTextureMode": false
},
"textureWidth": 16,
"textureHeight": 16,
"textureSizes": {
},
"textures": {
"fur": "item/resource/fur/buckskin-pattern-1",
"rawhide": "item/resource/fur/buckskin-pattern-2"
},
"elements": [
{
"name": "hidehat",
"stepParentName": "Head",
"from": [ 1.0, 7.0, 0.5 ],
"to": [ 5.0, 7.0, 4.5 ],
"rotationOrigin": [ 3.0, 5.0, 2.5 ],
"faces": {
},
"children": [
{
"name": "W1",
"from": [ -1.5, -1.6, -0.9 ],
"to": [ -1.0, 0.4, 4.9 ],
"rotationOrigin": [ -1.5, -1.6, 2.0 ],
"rotationZ": -15.0,
"faces": {
"north": { "texture": "#rawhide", "uv": [ 14.0, 9.0, 14.5, 11.0 ] },
"east": { "texture": "#rawhide", "uv": [ 4.5, 9.5, 10.0, 11.5 ] },
"south": { "texture": "#rawhide", "uv": [ 13.0, 10.0, 13.5, 12.0 ] },
"west": { "texture": "#rawhide", "uv": [ 4.5, 5.0, 10.0, 7.0 ] },
"up": { "texture": "#rawhide", "uv": [ 2.5, 5.5, 3.0, 11.0 ] }
},
"children": [
{
"name": "W2",
"from": [ 0.0, 2.0, 0.4 ],
"to": [ 0.5, 3.8, 5.4 ],
"rotationOrigin": [ 0.0, 2.0, 3.5 ],
"rotationZ": -22.5,
"faces": {
"north": { "texture": "#rawhide", "uv": [ 4.0, 11.5, 4.5, 13.0 ] },
"east": { "texture": "#rawhide", "uv": [ 1.5, 13.0, 6.5, 14.5 ] },
"south": { "texture": "#rawhide", "uv": [ 0.5, 6.0, 1.0, 7.5 ] },
"west": { "texture": "#rawhide", "uv": [ 3.0, 11.5, 8.0, 13.0 ] },
"up": { "texture": "#rawhide", "uv": [ 1.0, 9.0, 1.5, 14.0 ] }
}
},
{
"name": "TrimW",
"from": [ 0.0, -0.5, -0.1 ],
"to": [ 0.6, 0.1, 5.9 ],
"rotationOrigin": [ 0.3, -0.2, 3.5 ],
"rotationZ": -45.0,
"faces": {
"north": { "texture": "#fur", "uv": [ 7.5, 5.5, 8.0, 6.0 ] },
"east": { "texture": "#fur", "uv": [ 5.0, 8.0, 11.0, 8.5 ] },
"south": { "texture": "#fur", "uv": [ 10.5, 0.5, 11.0, 1.0 ] },
"west": { "texture": "#fur", "uv": [ 0.0, 4.0, 6.0, 4.5 ] },
"up": { "texture": "#fur", "uv": [ 14.5, 6.0, 15.0, 12.0 ] },
"down": { "texture": "#fur", "uv": [ 13.5, 3.0, 14.0, 9.0 ] }
}
}
]
},
{
"name": "E1",
"from": [ 4.9, -1.6, -0.7 ],
"to": [ 5.5, 0.4, 4.8 ],
"rotationOrigin": [ 5.2, -1.6, 2.0 ],
"rotationZ": 15.0,
"faces": {
"north": { "texture": "#rawhide", "uv": [ 15.0, 13.5, 15.5, 15.5 ] },
"east": { "texture": "#rawhide", "uv": [ 8.0, 12.5, 13.5, 14.5 ] },
"south": { "texture": "#rawhide", "uv": [ 8.5, 7.0, 9.0, 9.0 ] },
"west": { "texture": "#rawhide", "uv": [ 3.0, 0.5, 8.5, 2.5 ] },
"up": { "texture": "#rawhide", "uv": [ 11.0, 8.5, 11.5, 14.0 ] }
},
"children": [
{
"name": "E2",
"from": [ 0.1, 2.0, 0.2 ],
"to": [ 0.6, 3.8, 5.2 ],
"rotationOrigin": [ 0.6, 2.0, 2.9 ],
"rotationZ": 22.5,
"faces": {
"north": { "texture": "#rawhide", "uv": [ 5.0, 9.0, 5.5, 10.5 ] },
"east": { "texture": "#rawhide", "uv": [ 4.0, 0.5, 9.0, 2.0 ] },
"south": { "texture": "#rawhide", "uv": [ 10.0, 5.0, 10.5, 6.5 ] },
"west": { "texture": "#rawhide", "uv": [ 0.0, 0.5, 5.0, 2.0 ] },
"up": { "texture": "#rawhide", "uv": [ 3.0, 10.0, 3.5, 15.0 ] }
}
},
{
"name": "TrimE",
"from": [ 0.0, -0.5, -0.2 ],
"to": [ 0.6, 0.1, 5.8 ],
"rotationOrigin": [ 0.3, -0.2, 2.8 ],
"rotationZ": -45.0,
"faces": {
"north": { "texture": "#fur", "uv": [ 1.0, 2.5, 1.5, 3.0 ] },
"east": { "texture": "#fur", "uv": [ 7.0, 9.0, 13.0, 9.5 ] },
"south": { "texture": "#fur", "uv": [ 11.5, 2.5, 12.0, 3.0 ] },
"west": { "texture": "#fur", "uv": [ 5.5, 10.0, 11.5, 10.5 ] },
"up": { "texture": "#fur", "uv": [ 9.0, 8.0, 9.5, 14.0 ] },
"down": { "texture": "#fur", "uv": [ 2.5, 3.0, 3.0, 9.0 ] }
}
}
]
},
{
"name": "S1",
"from": [ -1.3, -1.6, 4.7 ],
"to": [ 5.4, 0.4, 5.2 ],
"rotationOrigin": [ 2.2, -1.6, 5.2 ],
"rotationX": -15.0,
"faces": {
"north": { "texture": "#rawhide", "uv": [ 6.0, 8.5, 12.5, 10.5 ] },
"east": { "texture": "#rawhide", "uv": [ 7.5, 1.0, 8.0, 3.0 ] },
"south": { "texture": "#rawhide", "uv": [ 8.0, 12.0, 14.5, 14.0 ] },
"west": { "texture": "#rawhide", "uv": [ 13.0, 8.0, 13.5, 10.0 ] },
"up": { "texture": "#rawhide", "uv": [ 4.0, 2.5, 10.5, 3.0 ] }
},
"children": [
{
"name": "S2",
"from": [ 0.6, 2.0, 0.0 ],
"to": [ 5.8, 3.5, 0.5 ],
"rotationOrigin": [ 2.8, 2.0, 0.5 ],
"rotationX": -15.0,
"faces": {
"north": { "texture": "#rawhide", "uv": [ 8.5, 6.0, 13.5, 7.5 ] },
"east": { "texture": "#rawhide", "uv": [ 2.5, 0.5, 3.0, 2.0 ] },
"south": { "texture": "#rawhide", "uv": [ 10.0, 8.5, 15.0, 10.0 ] },
"west": { "texture": "#rawhide", "uv": [ 14.0, 6.5, 14.5, 8.0 ] },
"up": { "texture": "#rawhide", "uv": [ 5.0, 2.5, 10.0, 3.0 ] }
}
},
{
"name": "TrimS",
"from": [ -0.2, -0.5, 0.0 ],
"to": [ 6.8, 0.1, 0.6 ],
"rotationOrigin": [ 3.1, -0.2, 0.3 ],
"rotationX": -45.0,
"faces": {
"north": { "texture": "#fur", "uv": [ 7.0, 0.5, 14.0, 1.0 ] },
"east": { "texture": "#fur", "uv": [ 12.0, 12.0, 12.5, 12.5 ] },
"south": { "texture": "#fur", "uv": [ 8.5, 7.5, 15.5, 8.0 ] },
"west": { "texture": "#fur", "uv": [ 11.5, 13.0, 12.0, 13.5 ] },
"up": { "texture": "#fur", "uv": [ 4.5, 10.5, 11.5, 11.0 ] },
"down": { "texture": "#fur", "uv": [ 1.0, 8.5, 8.0, 9.0 ] }
}
}
]
},
{
"name": "N1",
"from": [ -1.5, -1.6, -1.1 ],
"to": [ 5.2, 0.4, -0.6 ],
"rotationOrigin": [ 2.1, -1.6, -1.0 ],
"rotationX": 15.0,
"faces": {
"north": { "texture": "#rawhide", "uv": [ 2.0, 4.0, 8.5, 6.0 ] },
"east": { "texture": "#rawhide", "uv": [ 5.5, 3.0, 6.0, 5.0 ] },
"south": { "texture": "#rawhide", "uv": [ 0.0, 9.0, 6.5, 11.0 ] },
"west": { "texture": "#rawhide", "uv": [ 9.5, 11.5, 10.0, 13.5 ] },
"up": { "texture": "#rawhide", "uv": [ 0.5, 10.5, 7.0, 11.0 ] }
},
"children": [
{
"name": "N2",
"from": [ 1.0, 1.9, 0.0 ],
"to": [ 6.2, 3.4, 0.5 ],
"rotationOrigin": [ 2.5, 2.0, 0.0 ],
"rotationX": 15.0,
"faces": {
"north": { "texture": "#rawhide", "uv": [ 0.0, 0.5, 5.0, 2.0 ] },
"east": { "texture": "#rawhide", "uv": [ 1.0, 7.5, 1.5, 9.0 ] },
"south": { "texture": "#rawhide", "uv": [ 6.0, 14.0, 11.0, 15.5 ] },
"west": { "texture": "#rawhide", "uv": [ 14.0, 9.0, 14.5, 10.5 ] },
"up": { "texture": "#rawhide", "uv": [ 2.5, 2.5, 7.5, 3.0 ] }
}
},
{
"name": "TrimN",
"from": [ -0.2, -0.5, 0.0 ],
"to": [ 6.8, 0.1, 0.6 ],
"rotationOrigin": [ 3.4, -0.2, 0.3 ],
"rotationX": -45.0,
"faces": {
"north": { "texture": "#fur", "uv": [ 5.0, 0.0, 12.0, 0.5 ] },
"east": { "texture": "#fur", "uv": [ 1.5, 15.0, 2.0, 15.5 ] },
"south": { "texture": "#fur", "uv": [ 0.5, 0.5, 7.5, 1.0 ] },
"west": { "texture": "#fur", "uv": [ 6.0, 14.0, 6.5, 14.5 ] },
"up": { "texture": "#fur", "uv": [ 8.0, 2.0, 15.0, 2.5 ] },
"down": { "texture": "#fur", "uv": [ 4.0, 4.0, 11.0, 4.5 ] }
}
}
]
},
{
"name": "top",
"from": [ 0.2, 1.0, 0.1 ],
"to": [ 3.9, 1.5, 3.9 ],
"rotationOrigin": [ 2.4, 1.5, 2.1 ],
"faces": {
"up": { "texture": "#rawhide", "uv": [ 11.0, 7.5, 14.5, 11.0 ] },
"down": { "texture": "#rawhide", "uv": [ 4.0, 0.5, 7.5, 4.0 ], "windMode": [-1,-1,-1,-1] }
}
}
]
}
]}
Spoiler
{
"editor": {
"backDropShape": "game:entity/humanoid/seraph-hairless",
"allAngles": true,
"entityTextureMode": true
},
"textureWidth": 28,
"textureHeight": 20,
"textureSizes": {
"hat": [28,20]
},
"textures": {
"hat": "entity/humanoid/buckskin/buckskin-hood"
},
"elements": [
{
"name": "closehat",
"stepParentName": "Head",
"from": [ -0.5, -2.5, -0.51 ],
"to": [ 6.1, 5.5, 5.51 ],
"unwrapMode": 4,
"uv": [ 1.0, 4.0 ],
"rotationOrigin": [ 1.95, 1.57, 3.3 ],
"faces": {
"north": { "texture": "#hat", "uv": [ 1.0, 10.5, 7.5, 18.5 ], "windMode": [-1,-1,-1,-1], "windData": [1,1,1,1] },
"east": { "texture": "#hat", "uv": [ 20.0, 10.5, 26.0, 18.5 ], "windMode": [-1,-1,-1,-1], "windData": [1,1,1,1] },
"south": { "texture": "#hat", "uv": [ 13.5, 10.5, 20.0, 18.5 ] },
"west": { "texture": "#hat", "uv": [ 7.5, 10.5, 13.5, 18.5 ], "windMode": [-1,-1,-1,-1], "windData": [1,1,1,1] },
"up": { "texture": "#hat", "uv": [ 7.5, 4.0, 13.5, 10.5 ], "rotation": 90 }
},
"children": [
{
"name": "lowerhood",
"from": [ 2.7, -1.0, 0.4 ],
"to": [ 6.2, 7.5, 5.82 ],
"unwrapMode": 2,
"uv": [ 15.0, 1.0 ],
"rotationOrigin": [ 5.07, 3.07, 4.21 ],
"faces": {
"north": { "texture": "#hat", "uv": [ 23.5, 1.0, 27.0, 9.5 ] },
"east": { "texture": "#hat", "uv": [ 18.5, 1.0, 23.5, 9.5 ] },
"south": { "texture": "#hat", "uv": [ 15.0, 1.0, 18.5, 9.5 ] }
}
},
{
"name": "rightRimBottom",
"from": [ 0.51, 0.5, 0.0 ],
"to": [ 1.01, 4.5, 0.3 ],
"unwrapMode": 4,
"uv": [ 16.5, 3.5 ],
"rotationOrigin": [ 0.5, 0.5, 0.0 ],
"faces": {
"south": { "texture": "#hat", "uv": [ 17.0, 4.0, 17.5, 8.0 ] },
"west": { "texture": "#hat", "uv": [ 16.5, 4.0, 17.0, 8.0 ] },
"up": { "texture": "#hat", "uv": [ 16.5, 3.5, 17.0, 4.0 ], "rotation": 90 },
"down": { "texture": "#hat", "uv": [ 16.5, 8.0, 17.0, 8.5 ], "rotation": 90 }
},
"children": [
{
"name": "rightRimMid",
"from": [ -0.51, 4.0, 0.0 ],
"to": [ -0.01, 5.0, 0.3 ],
"unwrapMode": 4,
"uv": [ 15.5, 4.5 ],
"rotationOrigin": [ -0.5, 4.0, 0.0 ],
"faces": {
"south": { "texture": "#hat", "uv": [ 16.0, 4.5, 16.5, 5.5 ] },
"west": { "texture": "#hat", "uv": [ 15.5, 4.5, 16.0, 5.5 ] }
}
}
]
},
{
"name": "LeftRimMid",
"from": [ 1.05, 0.5, 5.72 ],
"to": [ 1.55, 3.5, 6.02 ],
"unwrapMode": 4,
"uv": [ 15.5, 4.5 ],
"rotationOrigin": [ 1.05, 0.5, 5.72 ],
"faces": {
"north": { "texture": "#hat", "uv": [ 15.5, 4.5, 16.0, 7.5 ], "windMode": [-1,-1,-1,-1], "windData": [1,1,1,1] },
"west": { "texture": "#hat", "uv": [ 16.0, 4.5, 16.5, 7.5 ] }
},
"children": [
{
"name": "LeftRimBottom",
"from": [ -0.55, -0.5, 0.0 ],
"to": [ 0.0, 1.5, 0.3 ],
"unwrapMode": 4,
"uv": [ 16.5, 3.5 ],
"rotationOrigin": [ -0.65, -0.5, -0.02 ],
"faces": {
"north": { "texture": "#hat", "uv": [ 16.5, 4.0, 17.0, 6.0 ], "windMode": [-1,-1,-1,-1], "windData": [1,1,1,1] },
"west": { "texture": "#hat", "uv": [ 17.0, 4.0, 17.5, 6.0 ] },
"up": { "texture": "#hat", "uv": [ 17.0, 3.5, 17.5, 4.0 ], "rotation": 90 },
"down": { "texture": "#hat", "uv": [ 17.0, 6.0, 17.5, 6.5 ], "rotation": 90 }
}
}
]
}
]
}
]}
Spoiler
{
code: "craftsmanship:clothes",
variantgroups: [
{ code: "category", states: ["head"] },
{ code: "head", states: [ "buckskin-hat" ] }
],
shapeByType: {
"*": { base: "clothing/head/buckskin-hat" }
},
storageFlags: 128,
behaviors: [
{ "name": "Wearable" }
],
attributes: {
clothescategory: "head",
wearableAttachment: true,
rainProtectionPercByType: {
"*-hat": 0.8
},
attributesByType: {
"*": { disableElements: ["ponytailhigh", "sidehigh", "hoodshoulder", "hoodupperover" ], keepElements: ["hair-covered", "hoodtight"] }
},
texturesByType: {
"*": {
"seraph": { base: "game:block/transparent" }
}
},
creativeinventory: { "general": ["*"], "items": ["*"], "clothing": ["*"] },
tpHandTransformByType: {
"*": {
translation: { x: -0.77, y: -2.5, z: -0.4 },
rotation: { x: -80, y: -180, z: -4 },
origin: { x: 0.5, y: 1.5, z: 0.5 },
scale: 0.67
}
},
guiTransformByType: {
"*": {
translation: { x: 0, y: 0, z: 19 },
rotation: { x: 174, y: -45, z: 23 },
origin: { x: 0.44, y: 1.8, z: 0.5 },
scale: 1.99
}
},
groundTransformByType: {
"*": {
translation: { x: 0.05, y: -1.1, z: 0 },
rotation: { x: -2, y: 0, z: -4 },
origin: { x: 0.5, y: 0.5, z: 0.5299 },
scale: 4
}
}
}

 
Spoiler
{
code: "craftsmanship:clothes",
variantgroups: [
{ code: "category", states: ["head"] },
{ code: "head", states: [ "buckskin-hood" ] }
],
shapeByType: {
"*": { base: "clothing/head/buckskin-hood" }
},
storageFlags: 128,
behaviors: [
{ "name": "Wearable" }
],
attributes: {
clothescategory: "head",
wearableAttachment: true,
rainProtectionPercByType: {
"*-hood": 0.9
},
attributesByType: {
"*": { disableElements: ["game:Hair tile upper part", "game:ponytailhigh", "game:ponytaillow", "game:hair-uncovered", "game:sidehigh", "game:sidelow", "game:hoodshoulder", "game:hoodupperover" ], keepElements: ["game:hair-covered", "game:hoodtight"] }
},
texturesByType: {
"*": {
"seraph": { base: "game:block/transparent" }
}
},
creativeinventory: { "general": ["*"], "items": ["*"], "clothing": ["*"] },
tpHandTransformByType: {
"*": {
translation: { x: -0.63, y: -2.1, z: -0.35 },
rotation: { x: -13, y: -80, z: -73 },
origin: { x: 0.5, y: 1.5, z: 0.5 },
scale: 0.78
}
},
guiTransformByType: {
"*": {
translation: { x: 0, y: 3, z: 19 },
rotation: { x: 174, y: -45, z: 23 },
origin: { x: 0.52, y: 1.65, z: 0.6 },
scale: 1.99
}
},
groundTransformByType: {
"*": {
translation: { x: 0.05, y: -1.1, z: 0 },
rotation: { x: -2, y: 0, z: -4 },
origin: { x: 0.5, y: 0.5, z: 0.5299 },
scale: 4
}
}
}

 

 

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.