diff --git a/src/main/java/com/github/alexmodguy/alexscaves/mixin/ItemMixin.java b/src/main/java/com/github/alexmodguy/alexscaves/mixin/ItemMixin.java new file mode 100644 index 000000000..aec1ab02f --- /dev/null +++ b/src/main/java/com/github/alexmodguy/alexscaves/mixin/ItemMixin.java @@ -0,0 +1,56 @@ +package com.github.alexmodguy.alexscaves.mixin; + +import com.github.alexmodguy.alexscaves.AlexsCaves; +import com.github.alexmodguy.alexscaves.server.item.HazmatArmorItem; +import com.github.alexmodguy.alexscaves.server.message.UpdateEffectVisualityEntityMessage; +import com.github.alexmodguy.alexscaves.server.potion.ACEffectRegistry; +import com.github.alexmodguy.alexscaves.server.misc.ACTagRegistry; +import net.minecraft.world.effect.MobEffectInstance; +import net.minecraft.world.entity.Entity; +import net.minecraft.world.entity.LivingEntity; +import net.minecraft.world.entity.player.Player; +import net.minecraft.world.item.ItemStack; +import net.minecraft.world.item.Item; +import net.minecraft.world.level.Level; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; + +@Mixin(Item.class) +public class ItemMixin { + + @Inject(method = "inventoryTick", at = @At("HEAD")) + public void inventoryTick(ItemStack stack, Level level, Entity entity, int i, boolean held, CallbackInfo info) { + + if (!stack.is(ACTagRegistry.ALL_RADIOACTIVE_ITEMS)) { + return; + } + + if (!level.isClientSide && entity instanceof LivingEntity living && !(living instanceof Player player && player.isCreative())) { + + float randomChanceOfRadiation = 0.0F; + + if (stack.is(ACTagRegistry.WEAK_RADIOACTIVE_ITEMS)) { + randomChanceOfRadiation = 0.0005F; + } + + if (stack.is(ACTagRegistry.RADIOACTIVE_ITEMS)) { + randomChanceOfRadiation = 0.001F; + } + + if (stack.is(ACTagRegistry.STRONG_RADIOACTIVE_ITEMS)) { + randomChanceOfRadiation = 0.01F; + } + + float stackChance = stack.getCount() * randomChanceOfRadiation; + float hazmatMultiplier = 1F - HazmatArmorItem.getRadProtection(living) / 4F; + + if (!living.hasEffect(ACEffectRegistry.IRRADIATED.get()) && level.random.nextFloat() < stackChance * hazmatMultiplier) { + MobEffectInstance instance = new MobEffectInstance(ACEffectRegistry.IRRADIATED.get(), 1800); + living.addEffect(instance); + AlexsCaves.sendMSGToAll(new UpdateEffectVisualityEntityMessage(entity.getId(), entity.getId(), 0, instance.getDuration())); + } + } + } +} diff --git a/src/main/java/com/github/alexmodguy/alexscaves/server/block/AcidBlock.java b/src/main/java/com/github/alexmodguy/alexscaves/server/block/AcidBlock.java index 6366afb1c..ac767f1ec 100644 --- a/src/main/java/com/github/alexmodguy/alexscaves/server/block/AcidBlock.java +++ b/src/main/java/com/github/alexmodguy/alexscaves/server/block/AcidBlock.java @@ -59,7 +59,7 @@ public void entityInside(BlockState blockState, Level level, BlockPos pos, Entit for (EquipmentSlot slot : EquipmentSlot.values()) { if (slot.isArmor()) { ItemStack item = living.getItemBySlot(slot); - if (item != null && item.isDamageableItem() && !(item.getItem() instanceof HazmatArmorItem)) { + if (item != null && item.isDamageableItem() && !(item.is(ACTagRegistry.ACID_PROTECTIVE_ARMOR))) { armor = true; if (living.getRandom().nextFloat() < 0.05F && !(entity instanceof Player player && player.isCreative())) { item.hurtAndBreak(1, living, e -> e.broadcastBreakEvent(slot)); @@ -67,7 +67,7 @@ public void entityInside(BlockState blockState, Level level, BlockPos pos, Entit } } } - dmgMultiplier = 1.0F - (HazmatArmorItem.getWornAmount(living) / 4F); + dmgMultiplier = 1.0F - (HazmatArmorItem.getAcidProtection(living) / 4F); } if (armor) { ACAdvancementTriggerRegistry.ENTER_ACID_WITH_ARMOR.triggerForEntity(entity); diff --git a/src/main/java/com/github/alexmodguy/alexscaves/server/item/ACItemRegistry.java b/src/main/java/com/github/alexmodguy/alexscaves/server/item/ACItemRegistry.java index abdb2923b..d8924864a 100644 --- a/src/main/java/com/github/alexmodguy/alexscaves/server/item/ACItemRegistry.java +++ b/src/main/java/com/github/alexmodguy/alexscaves/server/item/ACItemRegistry.java @@ -113,8 +113,8 @@ public class ACItemRegistry { public static final RegistryObject RADGILL_BUCKET = DEF_REG.register("radgill_bucket", () -> new ModFishBucketItem(ACEntityRegistry.RADGILL, ACFluidRegistry.ACID_FLUID_SOURCE, new Item.Properties().craftRemainder(Items.BUCKET).stacksTo(1))); public static final RegistryObject RADGILL = DEF_REG.register("radgill", () -> new Item(new Item.Properties().food(ACFoods.RADGILL))); public static final RegistryObject COOKED_RADGILL = DEF_REG.register("cooked_radgill", () -> new Item(new Item.Properties().food(ACFoods.RADGILL_COOKED))); - public static final RegistryObject URANIUM = DEF_REG.register("uranium", () -> new RadioactiveItem(new Item.Properties(), 0.001F)); - public static final RegistryObject URANIUM_SHARD = DEF_REG.register("uranium_shard", () -> new RadioactiveItem(new Item.Properties(), 0.001F)); + public static final RegistryObject URANIUM = DEF_REG.register("uranium", () -> new Item(new Item.Properties())); + public static final RegistryObject URANIUM_SHARD = DEF_REG.register("uranium_shard", () -> new Item(new Item.Properties())); public static final RegistryObject SULFUR_DUST = DEF_REG.register("sulfur_dust", () -> new Item(new Item.Properties())); public static final RegistryObject RADON_BOTTLE = DEF_REG.register("radon_bottle", () -> new Item(new Item.Properties().craftRemainder(Items.GLASS_BOTTLE).stacksTo(16))); public static final RegistryObject CINDER_BRICK = DEF_REG.register("cinder_brick", () -> new ThrownProjectileItem(new Item.Properties(), player -> new CinderBrickEntity(player.level(), player), -20.0F, 0.65F, 0.9F)); @@ -127,8 +127,8 @@ public class ACItemRegistry { public static final RegistryObject HAZMAT_CHESTPLATE = DEF_REG.register("hazmat_chestplate", () -> new HazmatArmorItem(HAZMAT_SUIT_ARMOR_MATERIAL, ArmorItem.Type.CHESTPLATE)); public static final RegistryObject HAZMAT_LEGGINGS = DEF_REG.register("hazmat_leggings", () -> new HazmatArmorItem(HAZMAT_SUIT_ARMOR_MATERIAL, ArmorItem.Type.LEGGINGS)); public static final RegistryObject HAZMAT_BOOTS = DEF_REG.register("hazmat_boots", () -> new HazmatArmorItem(HAZMAT_SUIT_ARMOR_MATERIAL, ArmorItem.Type.BOOTS)); - public static final RegistryObject FISSILE_CORE = DEF_REG.register("fissile_core", () -> new RadioactiveItem(new Item.Properties().rarity(Rarity.UNCOMMON), 0.001F)); - public static final RegistryObject CHARRED_REMNANT = DEF_REG.register("charred_remnant", () -> new RadioactiveItem(new Item.Properties(), 0.0005F)); + public static final RegistryObject FISSILE_CORE = DEF_REG.register("fissile_core", () -> new Item(new Item.Properties().rarity(Rarity.UNCOMMON))); + public static final RegistryObject CHARRED_REMNANT = DEF_REG.register("charred_remnant", () -> new Item(new Item.Properties())); public static final RegistryObject REMOTE_DETONATOR = DEF_REG.register("remote_detonator", () -> new RemoteDetonatorItem()); public static final RegistryObject RAYGUN = DEF_REG.register("raygun", () -> new RaygunItem()); public static final RegistryObject MUSIC_DISC_FUSION_FRAGMENT = DEF_REG.register("disc_fragment_fusion", () -> new DiscFragmentItem(new Item.Properties())); diff --git a/src/main/java/com/github/alexmodguy/alexscaves/server/item/HazmatArmorItem.java b/src/main/java/com/github/alexmodguy/alexscaves/server/item/HazmatArmorItem.java index 225b83654..50466aede 100644 --- a/src/main/java/com/github/alexmodguy/alexscaves/server/item/HazmatArmorItem.java +++ b/src/main/java/com/github/alexmodguy/alexscaves/server/item/HazmatArmorItem.java @@ -1,6 +1,7 @@ package com.github.alexmodguy.alexscaves.server.item; import com.github.alexmodguy.alexscaves.AlexsCaves; +import com.github.alexmodguy.alexscaves.server.misc.ACTagRegistry; import com.github.alexmodguy.alexscaves.client.particle.ACParticleRegistry; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.EquipmentSlot; @@ -50,18 +51,35 @@ public String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot } } - public static int getWornAmount(LivingEntity entity) { + public static int getRadProtection(LivingEntity entity) { int i = 0; - if (entity.getItemBySlot(EquipmentSlot.HEAD).is(ACItemRegistry.HAZMAT_MASK.get())) { + if (entity.getItemBySlot(EquipmentSlot.HEAD).is(ACTagRegistry.RAD_PROTECTIVE_ARMOR)) { i++; } - if (entity.getItemBySlot(EquipmentSlot.CHEST).is(ACItemRegistry.HAZMAT_CHESTPLATE.get())) { + if (entity.getItemBySlot(EquipmentSlot.CHEST).is(ACTagRegistry.RAD_PROTECTIVE_ARMOR)) { i++; } - if (entity.getItemBySlot(EquipmentSlot.LEGS).is(ACItemRegistry.HAZMAT_LEGGINGS.get())) { + if (entity.getItemBySlot(EquipmentSlot.LEGS).is(ACTagRegistry.RAD_PROTECTIVE_ARMOR)) { i++; } - if (entity.getItemBySlot(EquipmentSlot.FEET).is(ACItemRegistry.HAZMAT_BOOTS.get())) { + if (entity.getItemBySlot(EquipmentSlot.FEET).is(ACTagRegistry.RAD_PROTECTIVE_ARMOR)) { + i++; + } + return i; + } + + public static int getAcidProtection(LivingEntity entity) { + int i = 0; + if (entity.getItemBySlot(EquipmentSlot.HEAD).is(ACTagRegistry.ACID_PROTECTIVE_ARMOR)) { + i++; + } + if (entity.getItemBySlot(EquipmentSlot.CHEST).is(ACTagRegistry.ACID_PROTECTIVE_ARMOR)) { + i++; + } + if (entity.getItemBySlot(EquipmentSlot.LEGS).is(ACTagRegistry.ACID_PROTECTIVE_ARMOR)) { + i++; + } + if (entity.getItemBySlot(EquipmentSlot.FEET).is(ACTagRegistry.ACID_PROTECTIVE_ARMOR)) { i++; } return i; diff --git a/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveBlockItem.java b/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveBlockItem.java index c1bb41972..b5a4d59be 100644 --- a/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveBlockItem.java +++ b/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveBlockItem.java @@ -22,18 +22,18 @@ public RadioactiveBlockItem(RegistryObject blockSupplier, Properties prop this.randomChanceOfRadiation = randomChanceOfRadiation; } - public void inventoryTick(ItemStack stack, Level level, Entity entity, int i, boolean held) { + /*public void inventoryTick(ItemStack stack, Level level, Entity entity, int i, boolean held) { super.inventoryTick(stack, level, entity, i, held); if (!level.isClientSide && entity instanceof LivingEntity living && !(living instanceof Player player && player.isCreative())) { float stackChance = stack.getCount() * randomChanceOfRadiation; - float hazmatMultiplier = 1F - HazmatArmorItem.getWornAmount(living) / 4F; + float hazmatMultiplier = 1F - HazmatArmorItem.getRadProtection(living) / 4F; if (!living.hasEffect(ACEffectRegistry.IRRADIATED.get()) && level.random.nextFloat() < stackChance * hazmatMultiplier) { MobEffectInstance instance = new MobEffectInstance(ACEffectRegistry.IRRADIATED.get(), 1800); living.addEffect(instance); AlexsCaves.sendMSGToAll(new UpdateEffectVisualityEntityMessage(entity.getId(), entity.getId(), 0, instance.getDuration())); } } - } + }*/ } diff --git a/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveItem.java b/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveItem.java index 26fdfc56e..7f23a3ceb 100644 --- a/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveItem.java +++ b/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveItem.java @@ -1,4 +1,4 @@ -package com.github.alexmodguy.alexscaves.server.item; +/*package com.github.alexmodguy.alexscaves.server.item; import com.github.alexmodguy.alexscaves.AlexsCaves; import com.github.alexmodguy.alexscaves.server.message.UpdateEffectVisualityEntityMessage; @@ -24,7 +24,7 @@ public void inventoryTick(ItemStack stack, Level level, Entity entity, int i, bo super.inventoryTick(stack, level, entity, i, held); if (!level.isClientSide && entity instanceof LivingEntity living && !(living instanceof Player player && player.isCreative())) { float stackChance = stack.getCount() * randomChanceOfRadiation; - float hazmatMultiplier = 1F - HazmatArmorItem.getWornAmount(living) / 4F; + float hazmatMultiplier = 1F - HazmatArmorItem.getRadProtection(living) / 4F; if (!living.hasEffect(ACEffectRegistry.IRRADIATED.get()) && level.random.nextFloat() < stackChance * hazmatMultiplier) { MobEffectInstance instance = new MobEffectInstance(ACEffectRegistry.IRRADIATED.get(), 1800); living.addEffect(instance); @@ -33,3 +33,4 @@ public void inventoryTick(ItemStack stack, Level level, Entity entity, int i, bo } } } +*/ diff --git a/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveOnDestroyedBlockItem.java b/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveOnDestroyedBlockItem.java index b9f4cc4e5..01641878d 100644 --- a/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveOnDestroyedBlockItem.java +++ b/src/main/java/com/github/alexmodguy/alexscaves/server/item/RadioactiveOnDestroyedBlockItem.java @@ -2,6 +2,7 @@ import com.github.alexmodguy.alexscaves.client.particle.ACParticleRegistry; import com.github.alexmodguy.alexscaves.server.potion.ACEffectRegistry; +import com.github.alexmodguy.alexscaves.server.misc.ACTagRegistry; import net.minecraft.world.damagesource.DamageSource; import net.minecraft.world.effect.MobEffectInstance; import net.minecraft.world.entity.AreaEffectCloud; @@ -18,6 +19,10 @@ public RadioactiveOnDestroyedBlockItem(RegistryObject blockSupplier, Prop @Override public void onDestroyed(ItemEntity itemEntity, DamageSource damageSource){ + var stack = itemEntity.getItem(); + if (!stack.is(ACTagRegistry.ALL_RADIOACTIVE_ITEMS)) { + return; + } super.onDestroyed(itemEntity, damageSource); if(!damageSource.isCreativePlayer() && !itemEntity.isRemoved()){ itemEntity.discard(); diff --git a/src/main/java/com/github/alexmodguy/alexscaves/server/misc/ACTagRegistry.java b/src/main/java/com/github/alexmodguy/alexscaves/server/misc/ACTagRegistry.java index b1ed312b8..2907327a0 100644 --- a/src/main/java/com/github/alexmodguy/alexscaves/server/misc/ACTagRegistry.java +++ b/src/main/java/com/github/alexmodguy/alexscaves/server/misc/ACTagRegistry.java @@ -93,6 +93,16 @@ public class ACTagRegistry { public static final TagKey GINGERBREAD_MEN_WANDER_THROUGH = registerStructureTag("gingerbread_men_wander_through"); public static final TagKey DEEP_ONE_IGNORES = registerDamageTypeTag("deep_one_ignores"); public static final TagKey DOES_NOT_FLOW_INTO_WATERLOGGABLE_BLOCKS = registerFluidTag("does_not_flow_into_waterloggable_blocks"); + public static final TagKey RAD_PROTECTIVE_ARMOR = registerItemTag("rad_protective_armor"); + public static final TagKey ACID_PROTECTIVE_ARMOR = registerItemTag("acid_protective_armor"); + public static final TagKey WEAK_RADIOACTIVE_ITEMS = registerItemTag("weak_radioactive_items"); // 0.0005F + public static final TagKey WEAK_RADIOACTIVE_BLOCKS = registerBlockTag("weak_radioactive_blocks"); // 0.0005F + public static final TagKey RADIOACTIVE_ITEMS = registerItemTag("radioactive_items"); // 0.001F + public static final TagKey RADIOACTIVE_BLOCKS = registerBlockTag("radioactive_blocks"); // 0.001F + public static final TagKey STRONG_RADIOACTIVE_ITEMS = registerItemTag("strong_radioactive_items"); // 0.01F + public static final TagKey STRONG_RADIOACTIVE_BLOCKS = registerBlockTag("strong_radioactive_blocks"); // 0.01F + public static final TagKey ALL_RADIOACTIVE_ITEMS = registerItemTag("all_radioactive_items"); // contains a list of all radioactive items + public static final TagKey ALL_RADIOACTIVE_BLOCKS = registerBlockTag("all_radioactive_blocks"); // contains a list of all radioactive blocks private static TagKey> registerEntityTag(String name) { return TagKey.create(Registries.ENTITY_TYPE, ResourceLocation.fromNamespaceAndPath(AlexsCaves.MODID, name)); diff --git a/src/main/java/com/github/alexmodguy/alexscaves/server/potion/IrradiatedEffect.java b/src/main/java/com/github/alexmodguy/alexscaves/server/potion/IrradiatedEffect.java index 668185e81..de281952e 100644 --- a/src/main/java/com/github/alexmodguy/alexscaves/server/potion/IrradiatedEffect.java +++ b/src/main/java/com/github/alexmodguy/alexscaves/server/potion/IrradiatedEffect.java @@ -20,7 +20,7 @@ protected IrradiatedEffect() { } public void applyEffectTick(LivingEntity entity, int tick) { - int hazmat = HazmatArmorItem.getWornAmount(entity); + int hazmat = HazmatArmorItem.getRadProtection(entity); float damageScale = 1F - hazmat * 0.25F; if (entity instanceof Player player && hazmat == 0) { player.causeFoodExhaustion(0.4F); diff --git a/src/main/resources/alexscaves.mixins.json b/src/main/resources/alexscaves.mixins.json index adb5f6892..d0f7cde8e 100644 --- a/src/main/resources/alexscaves.mixins.json +++ b/src/main/resources/alexscaves.mixins.json @@ -12,6 +12,7 @@ "CoralFeatureMixin", "EnchantRandomlyFunctionMixin", "EntityMixin", + "ItemMixin", "FallingBlockEntityMixin", "FlowingFluidMixin", "FoodDataMixin", @@ -64,4 +65,4 @@ "defaultRequire": 1 }, "minVersion": "0.8" -} \ No newline at end of file +} diff --git a/src/main/resources/data/alexscaves/tags/blocks/all_radioactive_blocks.json b/src/main/resources/data/alexscaves/tags/blocks/all_radioactive_blocks.json new file mode 100644 index 000000000..497085d72 --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/blocks/all_radioactive_blocks.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "#alexscaves:weak_radioactive_blocks", + "#alexscaves:radioactive_blocks", + "#alexscaves:strong_radioactive_blocks" + ] +} diff --git a/src/main/resources/data/alexscaves/tags/blocks/radioactive_blocks.json b/src/main/resources/data/alexscaves/tags/blocks/radioactive_blocks.json new file mode 100644 index 000000000..f77e34bab --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/blocks/radioactive_blocks.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "alexscaves:radrock_uranium_ore", + "alexscaves:block_of_uranium", + "alexscaves:unrefined_waste" + ] +} diff --git a/src/main/resources/data/alexscaves/tags/blocks/strong_radioactive_blocks.json b/src/main/resources/data/alexscaves/tags/blocks/strong_radioactive_blocks.json new file mode 100644 index 000000000..c2d555762 --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/blocks/strong_radioactive_blocks.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "alexscaves:waste_drum" + ] +} diff --git a/src/main/resources/data/alexscaves/tags/blocks/weak_radioactive_blocks.json b/src/main/resources/data/alexscaves/tags/blocks/weak_radioactive_blocks.json new file mode 100644 index 000000000..d275da3f4 --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/blocks/weak_radioactive_blocks.json @@ -0,0 +1,5 @@ +{ + "replace": false, + "values": [ + ] +} diff --git a/src/main/resources/data/alexscaves/tags/items/acid_protective_armor.json b/src/main/resources/data/alexscaves/tags/items/acid_protective_armor.json new file mode 100644 index 000000000..3f342758b --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/items/acid_protective_armor.json @@ -0,0 +1,8 @@ +{ + "values": [ + "alexscaves:hazmat_mask", + "alexscaves:hazmat_chestplate", + "alexscaves:hazmat_leggings", + "alexscaves:hazmat_boots" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/alexscaves/tags/items/all_radioactive_items.json b/src/main/resources/data/alexscaves/tags/items/all_radioactive_items.json new file mode 100644 index 000000000..e4268371d --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/items/all_radioactive_items.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "#alexscaves:weak_radioactive_items", + "#alexscaves:radioactive_items", + "#alexscaves:strong_radioactive_items" + ] +} diff --git a/src/main/resources/data/alexscaves/tags/items/rad_protective_armor.json b/src/main/resources/data/alexscaves/tags/items/rad_protective_armor.json new file mode 100644 index 000000000..3f342758b --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/items/rad_protective_armor.json @@ -0,0 +1,8 @@ +{ + "values": [ + "alexscaves:hazmat_mask", + "alexscaves:hazmat_chestplate", + "alexscaves:hazmat_leggings", + "alexscaves:hazmat_boots" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/alexscaves/tags/items/radioactive_items.json b/src/main/resources/data/alexscaves/tags/items/radioactive_items.json new file mode 100644 index 000000000..df30a48d7 --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/items/radioactive_items.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": [ + "alexscaves:radrock_uranium_ore", + "alexscaves:block_of_uranium", + "alexscaves:unrefined_waste", + "alexscaves:fissile_core", + "alexscaves:uranium_shard", + "alexscaves:uranium" + ] +} diff --git a/src/main/resources/data/alexscaves/tags/items/strong_radioactive_items.json b/src/main/resources/data/alexscaves/tags/items/strong_radioactive_items.json new file mode 100644 index 000000000..c2d555762 --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/items/strong_radioactive_items.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "alexscaves:waste_drum" + ] +} diff --git a/src/main/resources/data/alexscaves/tags/items/weak_radioactive_items.json b/src/main/resources/data/alexscaves/tags/items/weak_radioactive_items.json new file mode 100644 index 000000000..7d2e1bda4 --- /dev/null +++ b/src/main/resources/data/alexscaves/tags/items/weak_radioactive_items.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "alexscaves:charred_remnant" + ] +}