In Control!

In Control!

72M Downloads

LOTR: Renewed (1.16.5) entities do not always have armor/HandItems over-written, even with "onJoin"

SnackerZ opened this issue ยท 0 comments

commented

Description:
Mobs in Lord of the Rings: Renewed or the addon Eras of Arda: Renewed (which uses the same codebase for NPCs) do not always get armor or held items overridden when using the armor actions in spawn.json.

I don't know why this is, but LOTR: Renewed mobs do have randomly rolled armor, so perhaps in the spawn sequence armor is rolled and added after InControl's?

image_2023-09-16_202144587

Code:

[
 {
// Ulfang Berserker
	"onjoin": true,
	"random": 0.2,
	"seesky": true,
	"result": "allow",
	// basic spawning
	"mob": ["lotrfa:house_ulfang_warrior"],
	//mob targeter
	"armorhelmet": ["lotrfa:house_ulfang_berserker_helmet"],
	"armorchest":["lotr:bone_chestplate"],
	"armorlegs":["lotrfa:house_ulfang_warlord_leggings"],
	"armorboots":["lotrfa:house_ulfang_warlord_boots"],
	//armor
	"customname": "Berserker of House Ulfang",
	//name
	"healthmultiply": 1.5,
	"speedmultiply": 1.2,
	"potion":"minecraft:resistance,50000,1",
	//modifiers

	"nbt": {
		"HandItems": [{"id":"minecraft:iron_axe", Count:1b, tag:{Damage:0}}]
		}
	}
]