-
Notifications
You must be signed in to change notification settings - Fork 63
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/shovel
and#mineable/hoe
by default -
artifacts:campsite_chests
: Chests that can generate inside campsite when theuseModdedChests
config 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_on
by default. -
artifacts:snow_layers
: Blocks that that affect theartifacts:generic.movement_speed_on_snow
attribute
-
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:campsite
The Artifacts campsite. Uses an empty feature config.
-
artifacts:campsite_count
Similar to
minecraft:count
, but reads the count value from the config. -
artifacts:campsite_height_range
Similar to a uniform
minecraft:height_range
placement. 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 whenartifactRarity
is set to 1.
Similar to
minecraft:random_chance
, but the actual probability used is weighted closer to 0 or 1 depending on theartifactRarity
value in the Artifacts config. The actual probability used is p ÷ (p + r - p × r), where p is thedefault_probability
field and r is theartifactRarity
value set in the config. This loot condition always fails if theartifactRarity
value in the config is greater than 9999. -
-
artifacts:config_value_chance
-
config
: eitherarchaeology
,entity_equipment
oreverlasting_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_id
loot condition to add loot to existing loot tables. Thereplace
option is used for archaeology loot.Note: due to how the
loot_table_id
loot 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. -