-
Notifications
You must be signed in to change notification settings - Fork 67
Data Pack Format
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.
-
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 default -
artifacts:campsite_chests: Chests that can generate inside campsite when theuseModdedChestsconfig option is turned on. Includes the vanilla chest and wooden chests from Quark -
artifacts: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
-
artifacts:artifacts: Contains all artifacts. Used in the Amateur Archaeologist advancement
-
artifacts:creepers: Entities that avoid players wearing the Kitty Slippers. Includes creepers from creeper overhaul by default
-
artifacts:antidote_vessel_cancellable: The mob effects that can are affected by the Antidote Vessel
-
artifacts:is_hot_floor: Damage types that are nullified by the Strider Shoes
-
artifacts:campsiteThe Artifacts campsite. Uses an empty feature config.
-
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_filter-
max_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.
-
-
artifacts:artifact_rarity_adjusted_chance-
default_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_chance-
config: eitherarchaeology,entity_equipmentoreverlasting_beef
Succeeds if a randomly generated number between 0 and 1 is smaller than the associated value set in the config.
-
-
artifacts:replace_with_loot_table-
loot_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.
-
-
artifacts:roll_loot_table-
lootTable: 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. -