๐Ÿ—„๏ธ simpledrawer#

SimpleDrawer compatibility, for compacting drawers.

get_result_count(item: str, ingr_to_seek: str) → int[source]#

Get the result count of an item in a recipe :param item: Item to check recipes for :param ingr_to_seek: Ingredient to seek in the recipe

beet_default(ctx: Context)[source]#

Main entry point for the simpledrawer compatibility plugin. This plugin sets up SimpleDrawer compatibility for compacting drawers.

Parameters:

ctx โ€“ The beet context.

material_variants(block: str) → dict[str, str] | None[source]#

The forms of a storage blockโ€™s material: the block, the materialโ€™s name, and its ingot and nugget when defined.

A raw blockโ€™s ingot is the raw material. None for a block with no smithed material.

write_material_functions(
ns: str,
material: dict[str, str],
) → None[source]#

A function per form of the material telling SimpleDrawer its type, and the main one giving its conversions and items.

silent#