Jump to content

Recommended Posts

Posted

I made a new silk blouse but in creative is always spawns in terrible condition. Anyway to adjust the condition? 

 

Code:

{
	code: "craftsmanship:blouse",
	class: "ItemWearable",
	variantgroups: [
		{ code: "category",  states: ["upperbody"] },
		{ code: "upperbody", combine: "SelectiveMultiply", onVariant: "category", states: [
			"chateau-blouse"
		] },
        { code: "color",  states: ["plain", "mordant", "blue", "red", "yellow", "green", "purple", "pink", "orange", "brown", "grey", "black", "white"] }
	],
	storageFlags: 128,
	attributes: {
		clothescategory: "upperbody",
		wearableAttachment: true,
		handbook: {
			groupBy: ["clothes-{category}-*"]
		}
	},
	attributesByType: {
		"*-chateau-blouse-*": { warmth: -2.5 },
		"*": { warmth: -2 }
	},
	shapeByType: {
		"*": {
			base: "item/clothing/shirts/longsleeve" 
		}
	},
	texturesByType: {
        "*-mordant": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-blue": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-red": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-yellow": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-green": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-purple": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-pink": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-orange": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-brown": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-gray": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-black": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
        "*-white": {
            "seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-{color}" }
		},
		"*": {
			"seraph": { base: "game:block/transparent" },
			"shirt": { base: "item/clothing/upperbody/chateau/chateau-blouse-plain" }
		}
	},
	creativeinventory: { "general": ["*"], "items": ["*"], "clothing": ["*"] },
	renderAlphaTest: 0.25,
	fpHandTransform: {
		translation: { x: 0.05, y: -0.6, z: 0.3 },
		rotation: { x: 180, y: 150, z: 180 },
		scale: 2
	},
	tpHandTransform: {
		translation: { x: -0.3, y: -0.9, z: -0.7 },
		rotation: { x: -71, y: 180, z: 83 },
		scale: 0.55
	},
	guiTransformByType: {
		"*-chateau-blouse-*": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -178, y: -65, z: 10 },
			origin: { x: 0.43, y: 1.1, z: 0.5 },
			scale: 1.69
		},
		"*": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -178, y: -65, z: 10 },
			origin: { x: 0.43, y: 1.1, z: 0.5 },
			scale: 1.69
		}
	},
	groundTransform: {
		translation: { x: 0.05, y: 0.05, z: 0 },
		rotation: { x: 0, y: 0, z: -87 },
		origin: { x: 0.5, y: 0.5, z: 0.5299 },
		scale: 4
	}
}

 

Posted

Update:

Got the clothing going. Still creative gives bad condition but I did notice its posting as +- 2 C warmth. Kinda weird. I want the silk clothing to be for hotter areas and not give any warmth. Is there something I need to do to add a cooling effect to clothing? 

  • Solution
Posted
9 hours ago, Micah Holmes said:

Update:

Got the clothing going. Still creative gives bad condition but I did notice its posting as +- 2 C warmth. Kinda weird. I want the silk clothing to be for hotter areas and not give any warmth. Is there something I need to do to add a cooling effect to clothing? 

The base game "warmth" is purely about keeping yourself warm, there is no benefit to cooling as there are only penalties for being too cold and not for being too warm.

Are you thinking of HiedrateOrDiedrate's cooling attribute, or some other mod by chance?
 

11 hours ago, Micah Holmes said:

but in creative is always spawns in terrible condition. Anyway to adjust the condition?

This is how it is for all clothing but you could just change your `creativeinventory` into a `CreativeInventoryStacks` and set the attribute manually:

  "CreativeInventoryStacks": [
    {
      "Tabs": [ "general", "items", "clothing" ],
      "Stacks": [
        {
          "Code": "craftsmanship:blouse-{category}-{upperbody}-{color}",
          "Type": "Item",
          "Attributes": {
            "condition": 1
          }
        }
      ]
    }
  ],

 

×
×
  • 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.