AnotherBackpackContent:Item Filters
Each backpack decides by the item ID whether it takes an item. Hytale names its items by a fixed scheme, for example Ore_Iron_Stone, Rock_Stone_Brick_Stairs or Wood_Oak_Trunk. The filters read those names. This page lists every rule.
How a rule reads
An ID is split into parts at the underscores. Rock_Stone_Cobble_Stairs has the parts Rock, Stone, Cobble and Stairs.
A rule always names the first parts of the ID. It can also ask that some part is present or that some parts are missing. Ore matches Ore_Iron_Stone but not a made-up Orebody_Test, because the prefix has to end at a part boundary.
An item may match more than one backpack. A backpack never takes another backpack.
Building shapes
Several rules use the same list of building shapes to tell a placed or worked material from a raw one. An ID counts as a building shape if it contains one of these parts:
Brick, Roof, Half, Stairs, Beam, Pillar, Wall, Smooth, Ornate, Decorative, Corner, Planks, Fence, Gate, Processed
Rules
| Backpack | ID starts with | Condition | Examples |
|---|---|---|---|
| Miner's | Ore |
– | Ore_Iron_Stone, Ore_Prisma
|
Rock_Gem |
– | Rock_Gem_Diamond
| |
Rock_Crystal |
– | Rock_Crystal_Blue_Small
| |
Ingredient_Bar |
– | Ingredient_Bar_Copper
| |
Ingredient_Crystal |
– | ||
Ingredient_Charcoal |
– | ||
Ingredient_Salt |
– | ||
Rock_Salt |
– | ||
| Digger's | Soil |
– | Soil_Dirt, Soil_Gravel
|
Rubble |
– | Rubble_Stone
| |
Rock |
no building shape, no Gem, Crystal or Salt |
Rock_Stone, Rock_Stone_Cobble, Rock_Stone_Cobble_Mossy
| |
| Forester's | Wood |
contains Trunk, Branch or Roots, but no Stairs, Roof, Wall or Beam |
Wood_Oak_Trunk, Wood_Oak_Branch_Long, Wood_Oak_Trunk_Half
|
Plant |
– | Plant_Sapling_Oak, Plant_Seeds_Wheat
| |
Ingredient_Tree |
– | Ingredient_Tree_Bark, Ingredient_Tree_Sap
| |
Ingredient_Stick |
– | Ingredient_Stick
| |
Ingredient_Fibre |
– | Plant Fiber | |
Ingredient_Hay |
– | ||
| Hunter's | Ingredient_Hide |
– | Ingredient_Hide_Light
|
Ingredient_Leather |
– | Light, Medium and Heavy Leather | |
Ingredient_Feathers |
– | Ingredient_Feathers_Red
| |
Ingredient_Bone |
– | Ingredient_Bone_Fragment
| |
Ingredient_Fishbone |
– | ||
Ingredient_Sinue |
– | ||
Ingredient_Chitin |
– | ||
Ingredient_Sac |
– | ||
Ingredient_Spider |
– | ||
Ingredient_Voidtaken |
– | ||
Fish |
– | Fish_Trout
| |
Food |
contains Raw |
Food_Wildmeat_Raw
| |
Food_Egg |
– | Food_Egg
| |
| Builder's | Rock |
is a building shape | Rock_Stone_Brick, Rock_Stone_Cobble_Stairs, Rock_Sandstone_Brick_Roof
|
Wood |
is a building shape | Wood_Redwood_Planks, Wood_Oak_Trunk_Stairs, Wood_Oak_Trunk_Half
| |
Cloth |
– | Cloth_Block_Wool_Red
| |
Build |
– | ||
Metal |
– | ||
Glass |
– | ||
Deco |
– | ||
Furniture |
– | Furniture_Village_Chest
| |
| Adventurer's | Potion |
– | Potion_Health_Small
|
Rune |
– | ||
Ingredient |
contains Essence |
Ingredient_Fire_Essence
| |
Ingredient_Rune |
– | Ingredient_Rune_Shard
| |
Ingredient_Voidheart |
– | ||
Ingredient_Motes |
– | ||
Ingredient_Scraps |
– | ||
Ingredient_Deep |
– | ||
Ingredient_Enkindled |
– | ||
Ingredient_Powder |
– | ||
Ingredient_Gadget |
– | ||
Ingredient_Gobliterator |
– | ||
PortalKey |
– |
Items that fit no backpack
Weapons, tools, armor and cooked food are not taken by any backpack, for example Weapon_Sword_Iron, Tool_Pickaxe_Iron, Armor_Iron_Chest, Food_Bread and Food_Wildmeat_Cooked.
Items that fit two backpacks
Half logs such as Wood_Oak_Trunk_Half fit both the Forester's and the Builder's Backpack. Log stairs, log roofs, log walls and log beams only fit the Builder's Backpack. See Which backpack gets it for how the mod picks one.
Items from other mods
The rules were written against the vanilla items of Hytale 0.7.0. Items from other mods only fit if their IDs follow the same naming, for example Ore_… for ores or Wood_…_Trunk for logs.
| Another Backpack Content | |
|---|---|
| Start | Installation · Getting Started |
| Backpacks | Overview · Miner's · Digger's · Forester's · Hunter's · Builder's · Adventurer's |
| Mechanics | Crafting · Auto-Pickup · Item Filters · Better Storage |
| Reference | Modding API · Version History |
| Links | Project page on mutigeraffe.com · Download on CurseForge |