Data Pack Format - ochotonida/artifacts GitHub Wiki
This page lists the data pack object types/serializers that are added by Artifacts. Unless you want to know something specific about the data pack that comes with the mod, you probably don't need these.
Tags
Blocks
artifacts:mineable/digging_claws: Blocks that the digging claws can harvest, if they have the correct tool tier. Contains#mineable/pickaxe,#mineable/axe,#mineable/shoveland#mineable/hoeby defaultartifacts:campsite_chests: Chests that can generate inside campsite when theuseModdedChestsconfig option is turned on. Includes the vanilla chest and wooden chests from Quarkartifacts:rooted_boots_grass: Blocks that restore hunger with the Rooted Boots. Contains#animals_spawneable_onby default.artifacts:snow_layers: Blocks that that affect theartifacts:generic.movement_speed_on_snowattribute
Items
artifacts:artifacts: Contains all artifacts. Used in the Amateur Archaeologist advancement
Entity Types
artifacts:creepers: Entities that avoid players wearing the Kitty Slippers. Includes creepers from creeper overhaul by default
Mob Effects
artifacts:antidote_vessel_cancellable: The mob effects that can are affected by the Antidote Vessel
Damage Types
artifacts:is_hot_floor: Damage types that are nullified by the Strider Shoes
Features
-
artifacts:campsiteThe Artifacts campsite. Uses an empty feature config.
Placement Modifiers
-
artifacts:campsite_countSimilar to
minecraft:count, but reads the count value from the config. -
artifacts:campsite_height_rangeSimilar to a uniform
minecraft:height_rangeplacement. The minimum and maximum Y-levels are read from the config. -
artifacts:ceiling_height_filtermax_height: the maximum distance between the current block and another solid block above it.
Used to prevent too many campsites from spawning in large, open caves.
Loot Conditions
-
artifacts:artifact_rarity_adjusted_chancedefault_probability: the probability that this loot condition succeeds whenartifactRarityis set to 1.
Similar to
minecraft:random_chance, but the actual probability used is weighted closer to 0 or 1 depending on theartifactRarityvalue in the Artifacts config. The actual probability used is p รท (p + r - p ร r), where p is thedefault_probabilityfield and r is theartifactRarityvalue set in the config. This loot condition always fails if theartifactRarityvalue in the config is greater than 9999. -
artifacts:config_value_chanceconfig: eitherarchaeology,entity_equipmentoreverlasting_beef
Succeeds if a randomly generated number between 0 and 1 is smaller than the associated value set in the config.
Loot Functions
-
artifacts:replace_with_loot_tableloot_table: the loot table to roll from
Replaces the item with an item rolled from a loot table. Logs an error unless exactly 1 item was generated from the loot table. Used for archaeology loot in the Fabric version of Artifacts.
Loot Modifiers (Forge/NeoForge Only)
-
artifacts:roll_loot_tablelootTable: the loot table that loot is generated from.replace: (optional, default = false) whether the loot generated previously should be completely replaced by the rolled loot table.
Used in combination with the
forge:loot_table_id/neoforge:loot_table_idloot condition to add loot to existing loot tables. Thereplaceoption is used for archaeology loot.Note: due to how the
loot_table_idloot condition works, items will only be added to the generated loot if the target loot table is the actual loot table being rolled. If a loot table references other loot tables, only the top-level loot table will have its loot modified, the loot from any referenced loot tables will remain unchanged.