I need help my custom armour piece in my lucraft addon isnt working i cant figure out why #102

Open
opened 2024-07-01 10:33:20 +00:00 by jacksonbarham435 · 3 comments
jacksonbarham435 commented 2024-07-01 10:33:20 +00:00 (Migrated from gitlab.com)

Heres The Code
SuitSet Code
{
"parent": "heroesexpansion:black_panther",

"name": {
	"text": "The Blue Flash"
},
	"effects": [
		{
		"type": "name_change",
		"name": {"text": "The Blue Flash"},
		"conditions": [
			{
			"type": "open_armor",
			"slot": "chest"
			}
		]
	},
			{
		"type": "blade",
		"conditions": [
			{
				"type": "ability_enabled",
				"ability": "speedsterheroes:blade"
			}
		]
	},
	{
	"type": "skin_overlay",
   		"texture": "jbsarmour:textures/skins/the_blue_flash/helmet_lights.png",
	"glow": true,
    	"size": 0.6,
	"conditions": [
			{
	"type": "open_armor",
	"slot": "chest"
			}
		]
    }
],
"creative_tab": "combat",

"armor_material": {
	"durability": 0,
	"damage_reduction_amounts": [6, 8, 10, 3],
	"enchantibility": 5,
	"toughness": 2.5,
	"sound": "item.armor.equip_diamond"
},
"data": {
	"spider_sense": false,
	"transition_color_1": {
		"red": 50,
		"green": 1,
		"blue": 50
	},
	"transition_color_2": {
		"red": 255,
		"green": 2,
		"blue": 255
	},
	"necklace_texture": "jbsarmour:textures/skins/the_blue_flash/necklace.png"
},

"abilities": [{

"health": {
"ability": "lucraftcore:health",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.health.name"},
"icon": { "type": "internal" },
"bar_color": "blue",
"amount": 100.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
},
"blade": {
"ability": "speedsterheroes:blade",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"speedsterheroes.abilities.blade.name"},
"icon": { "type": "internal" },
"bar_color": "blue"
},
"energy_blast": {
"ability": "lucraftcore:energy_blast",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.energy_blast.name"},
"icon": { "type": "internal" },
"bar_color": "blue",
"damage": 50.0,
"color": [0, 0, 255],
"entity_data": {},
"play_sound": true,
"invisible": false
},
"flight": {
"ability": "lucraftcore:flight",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.flight.name"},
"icon": { "type": "internal" },
"bar_color": "blue",
"speed": 5.0,
"sprint_speed": 7.5,
"rotate_arms": true
},
"heat_vision": {
"ability": "heroesexpansion:heat_vision",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"heroesexpansion.abilities.heat_vision.name"},
"icon": { "type": "internal" },
"bar_color": "blue",
"color": [255, 0, 0]
},
"portal": {
"ability": "heroesexpansion:portal",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"heroesexpansion.abilities.portal.name"},
"icon": { "type": "internal" },
"bar_color": "blue"
},
"grab_entity": {
"ability": "heroesexpansion:grab_entity",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"heroesexpansion.abilities.grab_entity.name"},
"icon": { "type": "internal" },
"bar_color": "blue"
},
"force_field": {
"ability": "heroesexpansion:force_field",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"heroesexpansion.abilities.force_field.name"},
"icon": { "type": "internal" },
"bar_color": "blue",
"color": [0, 0, 255]
},
"black_hole": {
"ability": "heroesexpansion:black_hole",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"heroesexpansion.abilities.black_hole.name"},
"icon": { "type": "internal" },
"bar_color": "blue"
}

	}
	
],

"armor_parts": {
	
	"chest": {
		"openable": true,
		"glow": false,
		"name": {
				"text": "The Blue Flash"
		},
		"textures": {
				"normal": "jbsarmour:textures/skins/the_blue_flash/suit.png"
		},
		"item_texture": {
				"blockstate": "jbsarmour:the_blue_flash"
		}
	}
}

}
Blockstate code

{
"forge_marker": 1,
"defaults": {
"model": "builtin/generated",
"textures": {
"layer0": "blocks/dirt"
},

	"transform": "forge:default-item"
},

"variants": {
	
	"chest": [{
		"textures": {
			"layer0": "jbsarmour:textures/icons/abilities/powers/lightning_bolt_icon.png"
		}
	}]
}

}

Heres The Code SuitSet Code { "parent": "heroesexpansion:black_panther", "name": { "text": "The Blue Flash" }, "effects": [ { "type": "name_change", "name": {"text": "The Blue Flash"}, "conditions": [ { "type": "open_armor", "slot": "chest" } ] }, { "type": "blade", "conditions": [ { "type": "ability_enabled", "ability": "speedsterheroes:blade" } ] }, { "type": "skin_overlay", "texture": "jbsarmour:textures/skins/the_blue_flash/helmet_lights.png", "glow": true, "size": 0.6, "conditions": [ { "type": "open_armor", "slot": "chest" } ] } ], "creative_tab": "combat", "armor_material": { "durability": 0, "damage_reduction_amounts": [6, 8, 10, 3], "enchantibility": 5, "toughness": 2.5, "sound": "item.armor.equip_diamond" }, "data": { "spider_sense": false, "transition_color_1": { "red": 50, "green": 1, "blue": 50 }, "transition_color_2": { "red": 255, "green": 2, "blue": 255 }, "necklace_texture": "jbsarmour:textures/skins/the_blue_flash/necklace.png" }, "abilities": [{ "health": { "ability": "lucraftcore:health", "show_in_bar": false, "title": {"translate":"lucraftcore.abilities.health.name"}, "icon": { "type": "internal" }, "bar_color": "blue", "amount": 100.0, "operation": 0, "uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842" }, "blade": { "ability": "speedsterheroes:blade", "cooldown": 0, "show_in_bar": true, "title": {"translate":"speedsterheroes.abilities.blade.name"}, "icon": { "type": "internal" }, "bar_color": "blue" }, "energy_blast": { "ability": "lucraftcore:energy_blast", "cooldown": 0, "show_in_bar": true, "title": {"translate":"lucraftcore.abilities.energy_blast.name"}, "icon": { "type": "internal" }, "bar_color": "blue", "damage": 50.0, "color": [0, 0, 255], "entity_data": {}, "play_sound": true, "invisible": false }, "flight": { "ability": "lucraftcore:flight", "cooldown": 0, "show_in_bar": true, "title": {"translate":"lucraftcore.abilities.flight.name"}, "icon": { "type": "internal" }, "bar_color": "blue", "speed": 5.0, "sprint_speed": 7.5, "rotate_arms": true }, "heat_vision": { "ability": "heroesexpansion:heat_vision", "cooldown": 0, "show_in_bar": true, "title": {"translate":"heroesexpansion.abilities.heat_vision.name"}, "icon": { "type": "internal" }, "bar_color": "blue", "color": [255, 0, 0] }, "portal": { "ability": "heroesexpansion:portal", "cooldown": 0, "show_in_bar": true, "title": {"translate":"heroesexpansion.abilities.portal.name"}, "icon": { "type": "internal" }, "bar_color": "blue" }, "grab_entity": { "ability": "heroesexpansion:grab_entity", "cooldown": 0, "show_in_bar": true, "title": {"translate":"heroesexpansion.abilities.grab_entity.name"}, "icon": { "type": "internal" }, "bar_color": "blue" }, "force_field": { "ability": "heroesexpansion:force_field", "cooldown": 0, "show_in_bar": true, "title": {"translate":"heroesexpansion.abilities.force_field.name"}, "icon": { "type": "internal" }, "bar_color": "blue", "color": [0, 0, 255] }, "black_hole": { "ability": "heroesexpansion:black_hole", "cooldown": 0, "show_in_bar": true, "title": {"translate":"heroesexpansion.abilities.black_hole.name"}, "icon": { "type": "internal" }, "bar_color": "blue" } } ], "armor_parts": { "chest": { "openable": true, "glow": false, "name": { "text": "The Blue Flash" }, "textures": { "normal": "jbsarmour:textures/skins/the_blue_flash/suit.png" }, "item_texture": { "blockstate": "jbsarmour:the_blue_flash" } } } } Blockstate code { "forge_marker": 1, "defaults": { "model": "builtin/generated", "textures": { "layer0": "blocks/dirt" }, "transform": "forge:default-item" }, "variants": { "chest": [{ "textures": { "layer0": "jbsarmour:textures/icons/abilities/powers/lightning_bolt_icon.png" } }] } }
jacksonbarham435 commented 2024-07-01 10:33:57 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
jacksonbarham435 commented 2024-07-01 10:35:32 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
jacksonbarham435 commented 2024-07-01 10:36:50 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
Sign in to join this conversation.
No labels
incident
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ThreeTAG-Legacy/LucraftCore#102
No description provided.