effects: darkness, hero_of_the_village

This commit is contained in:
Bixilon 2022-12-09 10:02:10 +01:00
parent e193199d74
commit 1b262a317e
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
3 changed files with 12 additions and 0 deletions

View File

@ -36,12 +36,14 @@ object IntegratedStatusEffects : IntegratedRegistry<StatusEffectType>(
MiningEffect.MiningFatigue,
VisionEffect.Blindness,
VisionEffect.Darkness,
VisionEffect.Nausea,
VisionEffect.NightVision,
OtherEffects.BadOmen,
OtherEffects.ConduitPower,
OtherEffects.Glowing,
OtherEffects.HeroOfTheVillage,
OtherEffects.Hunger,
OtherEffects.Invisibility,
OtherEffects.Luck,

View File

@ -69,4 +69,9 @@ interface OtherEffects {
override val RESOURCE_LOCATION = minecraft("bad_omen")
override val color = 0x0B6138.asRGBColor()
}
object HeroOfTheVillage : StatusEffectType(), OtherEffects, CompanionResourceLocation, Colored, BeneficalEffect {
override val RESOURCE_LOCATION = minecraft("hero_of_the_village")
override val color = 0x44FF44.asRGBColor()
}
}

View File

@ -38,4 +38,9 @@ interface VisionEffect {
override val RESOURCE_LOCATION = minecraft("night_vision")
override val color = 0x1F1FA1.asRGBColor()
}
object Darkness : StatusEffectType(), VisionEffect, CompanionResourceLocation, Colored, HarmfulEffect {
override val RESOURCE_LOCATION = minecraft("darkness")
override val color = 0x292721.asRGBColor()
}
}