Revert "Manually write android_immune_effects.json"

This reverts commit 1b8e1d147f.

because minecraft engine is stupid
This commit is contained in:
DBotThePony 2023-03-14 16:21:19 +07:00
parent 594e6c9fbf
commit efc1642254
Signed by: DBot
GPG Key ID: DCC23B5715498507
3 changed files with 19 additions and 15 deletions

View File

@ -228,4 +228,21 @@ fun addTags(tagsProvider: TagsProvider) {
tagsProvider.witherImmune.add(
MBlocks.BLACK_HOLE,
)
tagsProvider.androidImmuneEffects.add(
MobEffects.CONDUIT_POWER,
MobEffects.HEAL,
// maybe it makes things go haywire idk
// MobEffects.HARM,
MobEffects.REGENERATION,
MobEffects.WATER_BREATHING,
MobEffects.POISON,
// even skeletons can be withered
// MobEffects.WITHER,
MobEffects.HEALTH_BOOST,
MobEffects.ABSORPTION,
MobEffects.SATURATION,
MobEffects.DOLPHINS_GRACE,
MobEffects.CONFUSION,
)
}

View File

@ -187,6 +187,8 @@ class TagsProvider(
val items = Delegate(ForgeRegistries.ITEMS)
val mobEffects = Delegate(ForgeRegistries.MOB_EFFECTS)
val androidImmuneEffects = mobEffects.appender(MatteryPlayerCapability.ANDROID_IMMUNE_EFFECTS)
val requiresShovel = blocks.appender(BlockTags.MINEABLE_WITH_SHOVEL)
val requiresAxe = blocks.appender(BlockTags.MINEABLE_WITH_AXE)
val requiresHoe = blocks.appender(BlockTags.MINEABLE_WITH_HOE)

View File

@ -1,15 +0,0 @@
{
"values": [
"minecraft:conduit_power",
"minecraft:instant_health",
"minecraft:regeneration",
"minecraft:water_breathing",
"minecraft:poison",
"minecraft:health_boost",
"minecraft:absorption",
"minecraft:saturation",
"minecraft:dolphins_grace",
"minecraft:nausea",
"hordes:infected"
]
}