feat: cozy straw hat

This commit is contained in:
Guz
2026-04-26 14:14:45 -03:00
parent 6d138f0e6f
commit b71cd9fa95
9 changed files with 434 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@@ -52,6 +52,28 @@ const LEATHER_HELMET_MODEL = Object.freeze({});
* @type {{[item: string]: Item}}
*/
const ITEMS = {
cozy_straw_hat: {
name: {
pt_br: "Chapéu de Palha Confortável",
fallback: "Cozy Straw Hat",
color: "white",
},
lore: {
pt_br: "Provê um pouco de sombra fresca para o seu rosto.",
fallback: "Provide a little fresh shade for your head.",
},
recipe: {
key: {
A: "minecraft:wheat",
B: "minecraft:azure_bluet",
},
pattern: [
"BAB", //
"A#A",
"BAB",
],
},
},
guz_ears: {
name: {
pt_br: "Orelhas de Lobo",
@@ -69,7 +91,7 @@ const ITEMS = {
},
pattern: [
"A A", //
" # ", //
" # ",
" B ",
],
},
@@ -92,7 +114,7 @@ const ITEMS = {
},
pattern: [
"ABA", //
"B#B", //
"B#B",
"ACA",
],
},
@@ -115,7 +137,7 @@ const ITEMS = {
},
pattern: [
"ABA", //
"B#B", //
"B#B",
"ACA",
],
},
@@ -135,7 +157,11 @@ const ITEMS = {
A: "minecraft:bone",
B: "minecraft:salmon",
},
pattern: ["A A", " # ", " B "],
pattern: [
"A A", //
" # ",
" B ",
],
},
},
miku_hair: {
@@ -155,7 +181,11 @@ const ITEMS = {
A: "minecraft:iron_nugget",
B: "minecraft:cyan_dye",
},
pattern: ["A#A", "B B", "B B"],
pattern: [
"A#A", //
"B B",
"B B",
],
},
},
neru_hair: {
@@ -175,7 +205,11 @@ const ITEMS = {
A: "minecraft:iron_nugget",
B: "minecraft:yellow_dye",
},
pattern: [" #A", " B", " B"],
pattern: [
" #A", //
" B",
" B",
],
},
},
straw_hat: {
@@ -192,7 +226,11 @@ const ITEMS = {
key: {
A: "minecraft:wheat",
},
pattern: ["AAA", "A#A", "AAA"],
pattern: [
"AAA", //
"A#A",
"AAA",
],
},
},
tb3_helmet: {
@@ -213,7 +251,7 @@ const ITEMS = {
},
pattern: [
"ABA", //
"B#B", //
"B#B",
"ACA",
],
},
@@ -236,7 +274,7 @@ const ITEMS = {
},
pattern: [
"ABA", //
"B#B", //
"B#B",
"ACA",
],
},
@@ -258,7 +296,10 @@ const ITEMS = {
A: "minecraft:iron_nugget",
B: "minecraft:red_dye",
},
pattern: ["A#A", "B B"],
pattern: [
"A#A", //
"B B",
],
},
},
};

View File

@@ -0,0 +1,7 @@
{
"__sixsides_generator": "generate_helmet.js",
"model": {
"type": "minecraft:model",
"model": "sixsides_cosmetics:item/cozy_straw_hat"
}
}

View File

@@ -22,5 +22,7 @@
"sixsides_cosmetics.item.tb3_helmet": "TB3's Helmet",
"sixsides_cosmetics.item.tb3_helmet.lore": "Touch? I remember touch...",
"sixsides_cosmetics.item.tb3_helmet_voyager": "TB3's Helmet (Voyager)",
"sixsides_cosmetics.item.tb3_helmet_voyager.lore": "Touch? I remember touch..."
"sixsides_cosmetics.item.tb3_helmet_voyager.lore": "Touch? I remember touch...",
"sixsides_cosmetics.item.cozy_straw_hat": "Cozy Straw Hat",
"sixsides_cosmetics.item.cozy_straw_hat.lore": "Provide a little fresh shade for your head."
}

View File

@@ -22,5 +22,7 @@
"sixsides_cosmetics.item.tb3_helmet": "Capacete do TB3",
"sixsides_cosmetics.item.tb3_helmet.lore": "Touch? I remember touch...",
"sixsides_cosmetics.item.tb3_helmet_voyager": "Capacete do TB3 (Voyager)",
"sixsides_cosmetics.item.tb3_helmet_voyager.lore": "Touch? I remember touch..."
"sixsides_cosmetics.item.tb3_helmet_voyager.lore": "Touch? I remember touch...",
"sixsides_cosmetics.item.cozy_straw_hat": "Chapéu de Palha Confortável",
"sixsides_cosmetics.item.cozy_straw_hat.lore": "Provê um pouco de sombra fresca para o seu rosto."
}

View File

@@ -22,5 +22,7 @@
"sixsides_cosmetics.item.tb3_helmet": "Capacete do TB3",
"sixsides_cosmetics.item.tb3_helmet.lore": "Touch? I remember touch...",
"sixsides_cosmetics.item.tb3_helmet_voyager": "Capacete do TB3 (Voyager)",
"sixsides_cosmetics.item.tb3_helmet_voyager.lore": "Touch? I remember touch..."
"sixsides_cosmetics.item.tb3_helmet_voyager.lore": "Touch? I remember touch...",
"sixsides_cosmetics.item.cozy_straw_hat": "Chapéu de Palha Confortável",
"sixsides_cosmetics.item.cozy_straw_hat.lore": "Provê um pouco de sombra fresca para o seu rosto."
}

View File

@@ -0,0 +1,311 @@
{
"format_version": "1.21.6",
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"textures": {
"2": "sixsides_cosmetics:item/cozy_straw_hat",
"particle": "sixsides_cosmetics:item/cozy_straw_hat"
},
"elements": [
{
"from": [3.8, 0.7, 12.5],
"to": [7.8, 4.2, 12.5],
"rotation": { "angle": 14, "axis": "x", "origin": [5.8, 0.2, 10.5] },
"faces": {
"north": { "uv": [4, 7.5, 5, 8.5], "texture": "#2" },
"east": { "uv": [0, 0, 0, 1], "texture": "#2" },
"south": { "uv": [7.75, 4.5, 8.75, 5.5], "texture": "#2" },
"west": { "uv": [0, 0, 0, 1], "texture": "#2" },
"up": { "uv": [1, 0, 0, 0], "texture": "#2" },
"down": { "uv": [1, 0, 0, 0], "texture": "#2" }
}
},
{
"from": [8.2, 0.7, 12.5],
"to": [12.2, 4.2, 12.5],
"rotation": { "angle": 14, "axis": "x", "origin": [10.2, 0.2, 10.5] },
"faces": {
"north": { "uv": [7.75, 4.5, 8.75, 5.5], "texture": "#2" },
"east": { "uv": [0, 0, 0, 1], "texture": "#2" },
"south": { "uv": [4, 7.5, 5, 8.5], "texture": "#2" },
"west": { "uv": [0, 0, 0, 1], "texture": "#2" },
"up": { "uv": [1, 0, 0, 0], "texture": "#2" },
"down": { "uv": [1, 0, 0, 0], "texture": "#2" }
}
},
{
"from": [6, -14, 18.4],
"to": [8, -0.4, 18.4],
"rotation": { "angle": -12.5, "axis": "x", "origin": [6, -2, 16.4] },
"faces": {
"north": { "uv": [6.25, 2.25, 6.75, 5.75], "texture": "#2" },
"east": { "uv": [0, 0, 0, 3.5], "texture": "#2" },
"south": { "uv": [6.25, 5.75, 6.75, 9.25], "texture": "#2" },
"west": { "uv": [0, 0, 0, 3.5], "texture": "#2" },
"up": { "uv": [0.5, 0, 0, 0], "texture": "#2" },
"down": { "uv": [0.5, 0, 0, 0], "texture": "#2" }
}
},
{
"from": [9, -11, 18.4],
"to": [11, -0.4, 18.4],
"rotation": { "angle": -12.5, "axis": "x", "origin": [11, -2, 16.4] },
"faces": {
"north": { "uv": [6.75, 4.5, 7.25, 7.25], "texture": "#2" },
"east": { "uv": [0, 0, 0, 2.75], "texture": "#2" },
"south": { "uv": [7.25, 4.5, 7.75, 7.25], "texture": "#2" },
"west": { "uv": [0, 0, 0, 2.75], "texture": "#2" },
"up": { "uv": [0.5, 0, 0, 0], "texture": "#2" },
"down": { "uv": [0.5, 0, 0, 0], "texture": "#2" }
}
},
{
"from": [3.2, 1.7, 9.2],
"to": [3.2, 3.7, 12.2],
"rotation": { "angle": 26, "axis": "z", "origin": [3.2, 1.7, 9.2] },
"faces": {
"north": { "uv": [0, 0, 0, 0.5], "texture": "#2" },
"east": { "uv": [6.75, 8.25, 7.5, 8.75], "texture": "#2" },
"south": { "uv": [0, 0, 0, 0.5], "texture": "#2" },
"west": { "uv": [6.75, 8.25, 7.5, 8.75], "texture": "#2" },
"up": { "uv": [0, 0.75, 0, 0], "texture": "#2" },
"down": { "uv": [0, 0, 0, 0.75], "texture": "#2" }
}
},
{
"from": [2, 0.1, 9.2],
"to": [2, 2.1, 12.2],
"rotation": { "angle": -36, "axis": "z", "origin": [2, 0.1, 9.2] },
"faces": {
"north": { "uv": [0, 0, 0, 0.5], "texture": "#2" },
"east": { "uv": [8.5, 0, 9.25, 0.5], "texture": "#2" },
"south": { "uv": [0, 0, 0, 0.5], "texture": "#2" },
"west": { "uv": [8.5, 0, 9.25, 0.5], "texture": "#2" },
"up": { "uv": [0, 0.75, 0, 0], "texture": "#2" },
"down": { "uv": [0, 0, 0, 0.75], "texture": "#2" }
}
},
{
"from": [3.3, 0.9, 7.1],
"to": [3.3, 1.9, 9.1],
"rotation": { "angle": 26, "axis": "z", "origin": [3.3, -0.1, 7.1] },
"faces": {
"north": { "uv": [0, 0, 0, 0.25], "texture": "#2" },
"east": { "uv": [8.5, 0.5, 9, 0.75], "texture": "#2" },
"south": { "uv": [0, 0, 0, 0.25], "texture": "#2" },
"west": { "uv": [8.5, 0.5, 9, 0.75], "texture": "#2" },
"up": { "uv": [0, 0.5, 0, 0], "texture": "#2" },
"down": { "uv": [0, 0, 0, 0.5], "texture": "#2" }
}
},
{
"from": [2.3, 0.1, 7.1],
"to": [2.3, 1.1, 9.1],
"rotation": { "angle": -36, "axis": "z", "origin": [2.3, 0.1, 6.1] },
"faces": {
"north": { "uv": [0, 0, 0, 0.25], "texture": "#2" },
"east": { "uv": [8.5, 0.75, 9, 1], "texture": "#2" },
"south": { "uv": [0, 0, 0, 0.25], "texture": "#2" },
"west": { "uv": [8.5, 0.75, 9, 1], "texture": "#2" },
"up": { "uv": [0, 0.5, 0, 0], "texture": "#2" },
"down": { "uv": [0, 0, 0, 0.5], "texture": "#2" }
}
},
{
"from": [3.45, 0.1, 3.45],
"to": [12.55, 1.5, 12.55],
"rotation": { "angle": 0, "axis": "y", "origin": [7, 0, 7] },
"faces": {
"north": { "uv": [8, 6.25, 10.25, 6.5], "texture": "#2" },
"east": { "uv": [8, 6.5, 10.25, 6.75], "texture": "#2" },
"south": { "uv": [8, 6.75, 10.25, 7], "texture": "#2" },
"west": { "uv": [8, 7, 10.25, 7.25], "texture": "#2" },
"up": { "uv": [6.25, 2.25, 4, 0], "texture": "#2" },
"down": { "uv": [6.25, 2.25, 4, 4.5], "texture": "#2" }
}
},
{
"from": [3.7, 0.1, 3.7],
"to": [12.3, 3, 12.3],
"rotation": { "angle": 0, "axis": "y", "origin": [7, 0, 7] },
"faces": {
"north": { "uv": [6.75, 2.25, 9, 3], "texture": "#2" },
"east": { "uv": [6.75, 3, 9, 3.75], "texture": "#2" },
"south": { "uv": [6.75, 3.75, 9, 4.5], "texture": "#2" },
"west": { "uv": [4, 6.75, 6.25, 7.5], "texture": "#2" },
"up": { "uv": [6.25, 6.75, 4, 4.5], "texture": "#2" },
"down": { "uv": [8.5, 0, 6.25, 2.25], "texture": "#2" }
}
},
{
"from": [2, 0, -1],
"to": [14, 0, 0],
"rotation": { "angle": 0, "axis": "y", "origin": [7, 0, 7] },
"faces": {
"north": { "uv": [0, 0, 3, 0], "texture": "#2" },
"east": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"south": { "uv": [0, 0, 3, 0], "texture": "#2" },
"west": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"up": { "uv": [10.75, 5.75, 7.75, 5.5], "texture": "#2" },
"down": { "uv": [10.75, 5.75, 7.75, 6], "texture": "#2" }
}
},
{
"from": [17, 0, 4],
"to": [18, 0, 12],
"rotation": { "angle": 0, "axis": "y", "origin": [10, 0, 7] },
"faces": {
"north": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"east": { "uv": [0, 0, 2, 0], "texture": "#2" },
"south": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"west": { "uv": [0, 0, 2, 0], "texture": "#2" },
"up": { "uv": [3.75, 10, 3.5, 8], "texture": "#2" },
"down": { "uv": [4, 8, 3.75, 10], "texture": "#2" }
}
},
{
"from": [-2, 0, 4],
"to": [-1, 0, 12],
"rotation": { "angle": 0, "axis": "y", "origin": [6, 0, 7] },
"faces": {
"north": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"east": { "uv": [0, 0, 2, 0], "texture": "#2" },
"south": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"west": { "uv": [0, 0, 2, 0], "texture": "#2" },
"up": { "uv": [8.25, 9.25, 8, 7.25], "texture": "#2" },
"down": { "uv": [0.25, 8.25, 0, 10.25], "texture": "#2" }
}
},
{
"from": [-1, 0, 2],
"to": [0, 0, 14],
"rotation": { "angle": 0, "axis": "y", "origin": [7, 0, 7] },
"faces": {
"north": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"east": { "uv": [0, 0, 3, 0], "texture": "#2" },
"south": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"west": { "uv": [0, 0, 3, 0], "texture": "#2" },
"up": { "uv": [6.25, 10.5, 6, 7.5], "texture": "#2" },
"down": { "uv": [8, 6, 7.75, 9], "texture": "#2" }
}
},
{
"from": [0, 0, 0],
"to": [16, 0, 16],
"rotation": { "angle": 0, "axis": "y", "origin": [7, 0, 7] },
"faces": {
"north": { "uv": [0, 0, 4, 0], "texture": "#2" },
"east": { "uv": [0, 0, 4, 0], "texture": "#2" },
"south": { "uv": [0, 0, 4, 0], "texture": "#2" },
"west": { "uv": [0, 0, 4, 0], "texture": "#2" },
"up": { "uv": [4, 4, 0, 0], "texture": "#2" },
"down": { "uv": [4, 4, 0, 8], "texture": "#2" }
}
},
{
"from": [4, 0, -2],
"to": [12, 0, -1],
"rotation": { "angle": 0, "axis": "y", "origin": [7, 0, 6] },
"faces": {
"north": { "uv": [0, 0, 2, 0], "texture": "#2" },
"east": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"south": { "uv": [0, 0, 2, 0], "texture": "#2" },
"west": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"up": { "uv": [2.25, 8.5, 0.25, 8.25], "texture": "#2" },
"down": { "uv": [10.25, 7.25, 8.25, 7.5], "texture": "#2" }
}
},
{
"from": [2, 0, 16],
"to": [14, 0, 17],
"rotation": { "angle": 0, "axis": "y", "origin": [7, 0, 20] },
"faces": {
"north": { "uv": [0, 0, 3, 0], "texture": "#2" },
"east": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"south": { "uv": [0, 0, 3, 0], "texture": "#2" },
"west": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"up": { "uv": [3, 8.25, 0, 8], "texture": "#2" },
"down": { "uv": [11, 6, 8, 6.25], "texture": "#2" }
}
},
{
"from": [4, 0, 17],
"to": [12, 0, 18],
"rotation": { "angle": 0, "axis": "y", "origin": [7, 0, 21] },
"faces": {
"north": { "uv": [0, 0, 2, 0], "texture": "#2" },
"east": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"south": { "uv": [0, 0, 2, 0], "texture": "#2" },
"west": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"up": { "uv": [10.25, 7.75, 8.25, 7.5], "texture": "#2" },
"down": { "uv": [10.25, 7.75, 8.25, 8], "texture": "#2" }
}
},
{
"from": [16, 0, 2],
"to": [17, 0, 14],
"rotation": { "angle": 0, "axis": "y", "origin": [9, 0, 7] },
"faces": {
"north": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"east": { "uv": [0, 0, 3, 0], "texture": "#2" },
"south": { "uv": [0, 0, 0.25, 0], "texture": "#2" },
"west": { "uv": [0, 0, 3, 0], "texture": "#2" },
"up": { "uv": [3.25, 11, 3, 8], "texture": "#2" },
"down": { "uv": [3.5, 8, 3.25, 11], "texture": "#2" }
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [19, 0, 0],
"translation": [0, 2.75, 0],
"scale": [0.49414, 0.49414, 0.49414]
},
"thirdperson_lefthand": {
"rotation": [19, 0, 0],
"translation": [0, 2.75, 0],
"scale": [0.49414, 0.49414, 0.49414]
},
"firstperson_righthand": {
"rotation": [125.18, 70.05, -100.99],
"translation": [6.25, 4.75, 1.25]
},
"firstperson_lefthand": {
"rotation": [125.18, 70.05, -100.99],
"translation": [6.25, 4.75, 1.25]
},
"ground": {
"translation": [0, 2.5, 0]
},
"gui": {
"rotation": [26.43, -6.93, -13.61],
"translation": [1.5, 4.75, 0],
"scale": [0.76758, 0.76758, 0.76758]
},
"head": {
"rotation": [11.25, 0, 0],
"translation": [0, 17, 2.75],
"scale": [1.72656, 1.73438, 1.73047]
},
"fixed": {
"rotation": [102.5, 0, -180],
"translation": [0, -0.75, -15.75],
"scale": [1.57422, 1.57422, 1.57422]
},
"on_shelf": {
"rotation": [84, 0, 0],
"translation": [0, 0, 2.5]
}
},
"groups": [
{
"name": "group",
"origin": [9, 0, 7],
"color": 0,
"children": [
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,55 @@
{
"__sixsides_generator": "generate_helmet.js",
"type": "minecraft:crafting_shaped",
"category": "equipment",
"key": {
"A": "minecraft:wheat",
"B": "minecraft:azure_bluet",
"#": "minecraft:leather_helmet"
},
"pattern": [
"BAB",
"A#A",
"BAB"
],
"result": {
"count": 1,
"id": "minecraft:poisonous_potato",
"components": {
"!minecraft:consumable": {},
"minecraft:enchantable": {
"value": 15
},
"minecraft:enchantment_glint_override": false,
"minecraft:equippable": {
"slot": "head",
"equip_on_interact": true
},
"!minecraft:food": {},
"minecraft:item_model": "sixsides_cosmetics:cozy_straw_hat",
"minecraft:item_name": {
"type": "translatable",
"translate": "sixsides_cosmetics.item.cozy_straw_hat",
"fallback": "Cozy Straw Hat",
"color": "white",
"bold": true,
"italic": false
},
"minecraft:lore": [
{
"type": "translatable",
"translate": "sixsides_cosmetics.item.cozy_straw_hat.lore",
"fallback": "Provide a little fresh shade for your head.",
"color": "white",
"bold": false,
"italic": true
}
],
"minecraft:repairable": {
"items": "minecraft:leather"
},
"minecraft:max_damage": 55,
"minecraft:max_stack_size": 1
}
}
}