+4
.gitignore
+103
-44
build.gradle.kts
+27
flake.lock
+41
flake.nix
+1
-1
gradle/wrapper/gradle-wrapper.properties
+21
-11
libs.versions.toml
+81
src/common/main/kotlin/xyz/naomieow/asbestos/Asbestos.kt
+49
src/common/main/kotlin/xyz/naomieow/asbestos/armor/ProtectiveMaterial.kt
+62
src/common/main/kotlin/xyz/naomieow/asbestos/block/AsbestosBlocks.kt
+76
src/common/main/kotlin/xyz/naomieow/asbestos/block/AsbestosRoofBlock.kt
+33
src/common/main/kotlin/xyz/naomieow/asbestos/block/CarcinogenicBlock.kt
+110
src/common/main/kotlin/xyz/naomieow/asbestos/cancer_meter/CancerMeter.kt
+11
src/common/main/kotlin/xyz/naomieow/asbestos/client/AsbestosClient.kt
+10
src/common/main/kotlin/xyz/naomieow/asbestos/client/screen/AsbestosScreens.kt
+95
src/common/main/kotlin/xyz/naomieow/asbestos/client/screen/CancerMeterScreen.kt
+42
src/common/main/kotlin/xyz/naomieow/asbestos/config/AsbestosConfig.kt
+28
src/common/main/kotlin/xyz/naomieow/asbestos/damage/AsbestosDamageTypes.kt
+35
src/common/main/kotlin/xyz/naomieow/asbestos/item/AsbestosCreativeTabs.kt
+89
src/common/main/kotlin/xyz/naomieow/asbestos/item/AsbestosItems.kt
+59
src/common/main/kotlin/xyz/naomieow/asbestos/item/CancerMeterItem.kt
+59
src/common/main/kotlin/xyz/naomieow/asbestos/item/EmptySyringeItem.kt
+46
src/common/main/kotlin/xyz/naomieow/asbestos/item/FilledSyringeItem.kt
+45
src/common/main/kotlin/xyz/naomieow/asbestos/item/PPEArmorItem.kt
+28
src/common/main/kotlin/xyz/naomieow/asbestos/item/ScraperItem.kt
+36
src/common/main/kotlin/xyz/naomieow/asbestos/item/ScraperItemMaterial.kt
+7
src/common/main/kotlin/xyz/naomieow/asbestos/mesothelioma/Mesothelioma.kt
+11
src/common/main/kotlin/xyz/naomieow/asbestos/mob_effect/AsbestosMobEffects.kt
+38
src/common/main/kotlin/xyz/naomieow/asbestos/mob_effect/MesotheliomaMobEffect.kt
+31
src/common/main/kotlin/xyz/naomieow/asbestos/poi/AsbestosPOIs.kt
+15
src/common/main/kotlin/xyz/naomieow/asbestos/util/MouseUtil.kt
+23
src/common/main/kotlin/xyz/naomieow/asbestos/util/PlayerUtil.kt
+12
src/common/main/kotlin/xyz/naomieow/asbestos/util/VectorUtil.kt
+7
src/common/main/resources/assets/asbestos/blockstates/asbestos_block.json
+19
src/common/main/resources/assets/asbestos/blockstates/asbestos_roof_block.json
+7
src/common/main/resources/assets/asbestos/blockstates/asbestos_tile_block.json
+7
src/common/main/resources/assets/asbestos/blockstates/popcorn_ceiling_block.json
+7
src/common/main/resources/assets/asbestos/blockstates/serpentinite_block.json
src/common/main/resources/assets/asbestos/icon.png
This is a binary file and will not be displayed.
+50
src/common/main/resources/assets/asbestos/icon.svg
+37
src/common/main/resources/assets/asbestos/lang/en_us.json
+6
src/common/main/resources/assets/asbestos/models/block/asbestos_block.json
+497
src/common/main/resources/assets/asbestos/models/block/asbestos_roof_block.json
+6
src/common/main/resources/assets/asbestos/models/block/asbestos_tile_block.json
+8
src/common/main/resources/assets/asbestos/models/block/popcorn_ceiling_block.json
+6
src/common/main/resources/assets/asbestos/models/block/serpentinite_block.json
+3
src/common/main/resources/assets/asbestos/models/item/asbestos_block.json
+6
src/common/main/resources/assets/asbestos/models/item/asbestos_fibers.json
+3
src/common/main/resources/assets/asbestos/models/item/asbestos_roof_block.json
+3
src/common/main/resources/assets/asbestos/models/item/asbestos_tile_block.json
+6
src/common/main/resources/assets/asbestos/models/item/cancer_meter.json
+6
src/common/main/resources/assets/asbestos/models/item/empty_syringe.json
+6
src/common/main/resources/assets/asbestos/models/item/filled_syringe.json
+6
src/common/main/resources/assets/asbestos/models/item/iron_scraper.json
+3
src/common/main/resources/assets/asbestos/models/item/popcorn_ceiling_block.json
+6
src/common/main/resources/assets/asbestos/models/item/ppe_boots.json
+6
src/common/main/resources/assets/asbestos/models/item/ppe_chestplate.json
+6
src/common/main/resources/assets/asbestos/models/item/ppe_helmet.json
+6
src/common/main/resources/assets/asbestos/models/item/ppe_leggings.json
+3
src/common/main/resources/assets/asbestos/models/item/serpentinite_block.json
src/common/main/resources/assets/asbestos/textures/block/asbestos_block.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/block/asbestos_roof_side.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/block/asbestos_roof_top.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/block/asbestos_tiles.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/block/popcorn_bottom.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/block/popcorn_side.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/block/popcorn_top.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/block/serpentinite_block.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/gui/cancer_meter.ase
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/gui/cancer_meter.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/asbestos_fibers.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/cancer_meter.aseprite
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/cancer_meter.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/empty_syringe.aseprite
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/empty_syringe.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/filled_syringe.aseprite
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/filled_syringe.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/iron_scraper.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/ppe_boots.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/ppe_chestplate.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/ppe_helmet.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/item/ppe_leggings.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/asbestos/textures/mob_effect/mesothelioma.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/minecraft/textures/models/armor/asbestos_protective_layer_1.png
This is a binary file and will not be displayed.
src/common/main/resources/assets/minecraft/textures/models/armor/asbestos_protective_layer_2.png
This is a binary file and will not be displayed.
+5
src/common/main/resources/data/asbestos/damage_type/blood_extract.json
+5
src/common/main/resources/data/asbestos/damage_type/mesothelioma.json
+6
src/common/main/resources/data/asbestos/forge/biome_modifier/serpentinite_feature.json
+34
src/common/main/resources/data/asbestos/loot_tables/blocks/asbestos_block.json
+19
src/common/main/resources/data/asbestos/loot_tables/blocks/asbestos_roof_block.json
+19
src/common/main/resources/data/asbestos/loot_tables/blocks/asbestos_tile_block.json
+19
src/common/main/resources/data/asbestos/loot_tables/blocks/popcorn_ceiling_block.json
+29
src/common/main/resources/data/asbestos/loot_tables/blocks/serpentinite_block.json
+15
src/common/main/resources/data/asbestos/recipes/asbestos_block.json
+23
src/common/main/resources/data/asbestos/recipes/asbestos_roof_block.json
+19
src/common/main/resources/data/asbestos/recipes/asbestos_tile_block.json
+19
src/common/main/resources/data/asbestos/recipes/cancer_meter.json
+22
src/common/main/resources/data/asbestos/recipes/empty_syringe.json
+22
src/common/main/resources/data/asbestos/recipes/iron_scraper.json
+22
src/common/main/resources/data/asbestos/recipes/popcorn_ceiling_block.json
+16
src/common/main/resources/data/asbestos/recipes/ppe_boots.json
+16
src/common/main/resources/data/asbestos/recipes/ppe_chestplate.json
+19
src/common/main/resources/data/asbestos/recipes/ppe_helmet.json
+16
src/common/main/resources/data/asbestos/recipes/ppe_leggings.json
+18
src/common/main/resources/data/asbestos/worldgen/configured_feature/serpentinite_overworld.json
+24
src/common/main/resources/data/asbestos/worldgen/placed_feature/serpentinite.json
+6
src/common/main/resources/pack.mcmeta
+16
src/fabric/main/kotlin/xyz/naomieow/asbestos/AsbestosFabric.kt
+7
src/fabric/main/kotlin/xyz/naomieow/asbestos/client/AsbestosClientFabric.kt
+72
src/fabric/main/kotlin/xyz/naomieow/asbestos/client/ModMenuIntegration.kt
+14
src/fabric/main/kotlin/xyz/naomieow/asbestos/mesothelioma/Mesothelioma.kt
+15
src/fabric/main/kotlin/xyz/naomieow/asbestos/mesothelioma/MesotheliomaAttachment.kt
+37
src/forge/main/kotlin/xyz/naomieow/asbestos/AsbestosForge.kt
+13
src/forge/main/kotlin/xyz/naomieow/asbestos/client/AsbestosClientForge.kt
+9
src/forge/main/kotlin/xyz/naomieow/asbestos/mesothelioma/IMesotheliomaCapability.kt
+13
src/forge/main/kotlin/xyz/naomieow/asbestos/mesothelioma/Mesothelioma.kt
+15
src/forge/main/kotlin/xyz/naomieow/asbestos/mesothelioma/MesotheliomaCapability.kt
+44
src/forge/main/kotlin/xyz/naomieow/asbestos/mesothelioma/MesotheliomaCapabilityProvider.kt
+30
src/forge/main/kotlin/xyz/naomieow/asbestos/mesothelioma/MesotheliomaImplementation.kt
-77
src/main/kotlin/xyz/naomieow/asbestos/AsbestosMod.kt
-16
src/main/kotlin/xyz/naomieow/asbestos/AsbestosModClient.kt
-55
src/main/kotlin/xyz/naomieow/asbestos/ModScheduler.kt
-49
src/main/kotlin/xyz/naomieow/asbestos/armor/ProtectiveMaterial.kt
-80
src/main/kotlin/xyz/naomieow/asbestos/block/AsbestosRoofBlock.kt
-38
src/main/kotlin/xyz/naomieow/asbestos/block/CarcinogenicBlock.kt
-62
src/main/kotlin/xyz/naomieow/asbestos/block/ModBlocks.kt
-102
src/main/kotlin/xyz/naomieow/asbestos/config/AsbestosConfig.kt
-13
src/main/kotlin/xyz/naomieow/asbestos/config/ModMenuIntegration.kt
-27
src/main/kotlin/xyz/naomieow/asbestos/damage/ModDamageTypes.kt
-152
src/main/kotlin/xyz/naomieow/asbestos/inventory/CancerMeterInventory.kt
-27
src/main/kotlin/xyz/naomieow/asbestos/inventory/ICancerMeterInventory.kt
-78
src/main/kotlin/xyz/naomieow/asbestos/inventory/InventoryImproved.kt
-27
src/main/kotlin/xyz/naomieow/asbestos/item/CancerMeterItem.kt
-61
src/main/kotlin/xyz/naomieow/asbestos/item/EmptySyringeItem.kt
-34
src/main/kotlin/xyz/naomieow/asbestos/item/FilledSyringeItem.kt
-36
src/main/kotlin/xyz/naomieow/asbestos/item/ModCreativeTabs.kt
-88
src/main/kotlin/xyz/naomieow/asbestos/item/ModItems.kt
-28
src/main/kotlin/xyz/naomieow/asbestos/item/ScraperItem.kt
-35
src/main/kotlin/xyz/naomieow/asbestos/item/ScraperItemMaterial.kt
-8
src/main/kotlin/xyz/naomieow/asbestos/mesothelioma/MesoComponent.kt
-35
src/main/kotlin/xyz/naomieow/asbestos/mesothelioma/MesoStatusEffect.kt
-29
src/main/kotlin/xyz/naomieow/asbestos/mesothelioma/PlayerMesoComponent.kt
-96
src/main/kotlin/xyz/naomieow/asbestos/screen/CancerMeterScreen.kt
-144
src/main/kotlin/xyz/naomieow/asbestos/screen/CancerMeterScreenHandler.kt
-22
src/main/kotlin/xyz/naomieow/asbestos/screen/ModMenuTypes.kt
-18
src/main/kotlin/xyz/naomieow/asbestos/screen/util/MouseUtil.kt
-7
src/main/resources/assets/asbestos/blockstates/asbestos_block.json
-19
src/main/resources/assets/asbestos/blockstates/asbestos_roof_block.json
-7
src/main/resources/assets/asbestos/blockstates/asbestos_tile_block.json
-7
src/main/resources/assets/asbestos/blockstates/popcorn_ceiling_block.json
-7
src/main/resources/assets/asbestos/blockstates/serpentinite_block.json
src/main/resources/assets/asbestos/icon.png
This is a binary file and will not be displayed.
-50
src/main/resources/assets/asbestos/icon.svg
-30
src/main/resources/assets/asbestos/lang/en_us.json
-6
src/main/resources/assets/asbestos/models/block/asbestos_block.json
-97
src/main/resources/assets/asbestos/models/block/asbestos_roof_block.json
-6
src/main/resources/assets/asbestos/models/block/asbestos_tile_block.json
-8
src/main/resources/assets/asbestos/models/block/popcorn_ceiling_block.json
-6
src/main/resources/assets/asbestos/models/block/serpentinite_block.json
-3
src/main/resources/assets/asbestos/models/item/asbestos_block.json
-6
src/main/resources/assets/asbestos/models/item/asbestos_fibers.json
-3
src/main/resources/assets/asbestos/models/item/asbestos_roof_block.json
-3
src/main/resources/assets/asbestos/models/item/asbestos_tile_block.json
-6
src/main/resources/assets/asbestos/models/item/cancer_meter.json
-6
src/main/resources/assets/asbestos/models/item/empty_syringe.json
-6
src/main/resources/assets/asbestos/models/item/filled_syringe.json
-6
src/main/resources/assets/asbestos/models/item/iron_scraper.json
-3
src/main/resources/assets/asbestos/models/item/popcorn_ceiling_block.json
-6
src/main/resources/assets/asbestos/models/item/ppe_boots.json
-6
src/main/resources/assets/asbestos/models/item/ppe_chestplate.json
-6
src/main/resources/assets/asbestos/models/item/ppe_helmet.json
-6
src/main/resources/assets/asbestos/models/item/ppe_leggings.json
-3
src/main/resources/assets/asbestos/models/item/serpentinite_block.json
src/main/resources/assets/asbestos/textures/block/asbestos_block.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/block/asbestos_roof_side.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/block/asbestos_roof_top.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/block/asbestos_tiles.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/block/popcorn_bottom.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/block/popcorn_side.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/block/popcorn_top.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/block/serpentinite_block.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/gui/cancer_meter.ase
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/gui/cancer_meter.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/asbestos_fibers.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/cancer_meter.aseprite
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/cancer_meter.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/empty_syringe.aseprite
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/empty_syringe.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/filled_syringe.aseprite
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/filled_syringe.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/iron_scraper.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/ppe_boots.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/ppe_chestplate.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/ppe_helmet.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/item/ppe_leggings.png
This is a binary file and will not be displayed.
src/main/resources/assets/asbestos/textures/mob_effect/mesothelioma.png
This is a binary file and will not be displayed.
src/main/resources/assets/minecraft/textures/models/armor/asbestos_protective_layer_1.png
This is a binary file and will not be displayed.
src/main/resources/assets/minecraft/textures/models/armor/asbestos_protective_layer_2.png
This is a binary file and will not be displayed.