Skip to main content

Module content

Module content 

Source
Expand description

Content registration (custom items / blocks / food).

Structs§

AdvancementReward
BlockDef
A custom block to register; it also gets a matching block-item.
BookRecipe
A shapeless recipe that produces a book from yog-book. Replaces patchouli:shapeless_book_recipe.
FoodDef
Nutritional properties for a food item.
ItemDef
A custom item to register, identified by namespace:path.
ItemModifier
An item modifier applied during loot generation (like smelting, enchanted, etc.).
Recipe
A recipe, in Yog’s own format — what a .yrecipe says. The host writes the recipe JSON of its Minecraft version from it.
StartupGrant
Grant items/books to every player once when they first join. This is the Yog-side replacement for grant_patchi_book.json.

Enums§

Cooking
How a cooking recipe cooks.
RecipeKind
What a recipe is made of besides its result.