
[effects.json] [FORGE 1.20.1] Only the first of the effects with the same timeout value gets applied
X-XLebyshek opened this issue ยท 2 comments
In Control 9.3.2
I'm not sure how exactly this works but when I have a couple of effects (I mean things separated with these {},)with the same "timeout" value, only the first one's actions get applied. And if I have all of them apply the same potion effect (at least that's how it was for me), the effect applies without respecting the duration and amplifier values.
Sure!
[
{
"timeout": 200,
"dimension": "theabyss:spectral_world",
"lackchestplate": ["eternal_tales:penguin_armor_chestplate", "eternal_tales:winter_coat_chestplate", "the_forgotten_dimensions:padded_leather_chestplate", "eternal_tales:cryothermic_ice_armor_chestplate", "ad_astra:space_suit", "ad_astra:netherite_space_suit", "ad_astra:jet_suit"],
"lackhelditem": ["eternal_tales:santas_sock", "eternal_tales:cold_star", "aerlunerpg:scrollicsh", "the_forgotten_dimensions:avariel_necklace", "the_forgotten_dimensions:zacariel_necklace", "eternal_tales:christmas_tree_toy", "eternal_tales:rudolphs_bells", "eternal_tales:terra_necklace", "eternal_tales:heart_of_the_elements"],
"lackoffhanditem": ["eternal_tales:santas_sock", "eternal_tales:cold_star", "aerlunerpg:scrollicsh", "the_forgotten_dimensions:avariel_necklace", "the_forgotten_dimensions:zacariel_necklace", "eternal_tales:christmas_tree_toy", "eternal_tales:rudolphs_bells", "eternal_tales:terra_necklace", "eternal_tales:heart_of_the_elements"],
"damage": "freeze=1.0"
},
{
"timeout": 200,
"dimension": "theabyss:spectral_world",
"lackleggings": ["eternal_tales:penguin_armor_chestplate", "the_forgotten_dimensions:padded_leather_leggings", "eternal_tales:cryothermic_ice_armor_leggings", "ad_astra:space_pants", "ad_astra:netherite_space_pants", "ad_astra:jet_suit_pants"],
"lackhelditem": ["eternal_tales:santas_sock", "eternal_tales:cold_star", "aerlunerpg:scrollicsh", "the_forgotten_dimensions:avariel_necklace", "the_forgotten_dimensions:zacariel_necklace", "eternal_tales:christmas_tree_toy", "eternal_tales:rudolphs_bells", "eternal_tales:terra_necklace", "eternal_tales:heart_of_the_elements"],
"lackoffhanditem": ["eternal_tales:santas_sock", "eternal_tales:cold_star", "aerlunerpg:scrollicsh", "the_forgotten_dimensions:avariel_necklace", "the_forgotten_dimensions:zacariel_necklace", "eternal_tales:christmas_tree_toy", "eternal_tales:rudolphs_bells", "eternal_tales:terra_necklace", "eternal_tales:heart_of_the_elements"],
"damage": "freeze=1.0"
}`
If I don't have both armor pieces on, I still take 1 point of damage.
And:
{
"timeout": 189,
"dimension": "theabyss:spectral_world",
"lackchestplate": ["eternal_tales:penguin_armor_chestplate", "eternal_tales:winter_coat_chestplate", "the_forgotten_dimensions:padded_leather_chestplate", "eternal_tales:cryothermic_ice_armor_chestplate", "ad_astra:space_suit", "ad_astra:netherite_space_suit", "ad_astra:jet_suit"],
"lackhelditem": ["eternal_tales:santas_sock", "eternal_tales:cold_star", "aerlunerpg:scrollicsh", "the_forgotten_dimensions:avariel_necklace", "the_forgotten_dimensions:zacariel_necklace", "eternal_tales:christmas_tree_toy", "eternal_tales:rudolphs_bells", "eternal_tales:terra_necklace", "eternal_tales:heart_of_the_elements"],
"lackoffhanditem": ["eternal_tales:santas_sock", "eternal_tales:cold_star", "aerlunerpg:scrollicsh", "the_forgotten_dimensions:avariel_necklace", "the_forgotten_dimensions:zacariel_necklace", "eternal_tales:christmas_tree_toy", "eternal_tales:rudolphs_bells", "eternal_tales:terra_necklace", "eternal_tales:heart_of_the_elements"],
"potionnoparticles": "minecraft:slowness,200,2"
},
{
"timeout": 190,
"dimension": "theabyss:spectral_world",
"lackleggings": ["eternal_tales:penguin_armor_chestplate", "the_forgotten_dimensions:padded_leather_leggings", "eternal_tales:cryothermic_ice_armor_leggings", "ad_astra:space_pants", "ad_astra:netherite_space_pants", "ad_astra:jet_suit_pants"],
"lackhelditem": ["eternal_tales:santas_sock", "eternal_tales:cold_star", "aerlunerpg:scrollicsh", "the_forgotten_dimensions:avariel_necklace", "the_forgotten_dimensions:zacariel_necklace", "eternal_tales:christmas_tree_toy", "eternal_tales:rudolphs_bells", "eternal_tales:terra_necklace", "eternal_tales:heart_of_the_elements"],
"lackoffhanditem": ["eternal_tales:santas_sock", "eternal_tales:cold_star", "aerlunerpg:scrollicsh", "the_forgotten_dimensions:avariel_necklace", "the_forgotten_dimensions:zacariel_necklace", "eternal_tales:christmas_tree_toy", "eternal_tales:rudolphs_bells", "eternal_tales:terra_necklace", "eternal_tales:heart_of_the_elements"],
"potionnoparticles": "minecraft:slowness,200,2"
}
]
Notice, here I use timeout 189 and timeout 190. If they'd both be 190, I would get the effect for two seconds and first level.