MC/network/ITEM-METADATA-COOKING.md
2026-11-27 23:43:05 +00:00

1.5 KiB
Raw Permalink Blame History

Item metadata and cooking

JarvisTranslator 0.5.16 classifies every native item using its prototype rarity. The four native baselines are common MK I, uncommon MK IV, rare MK VII and very rare MK X. Shared material overrides provide the agreed progression across MK 0–XIV: ore/metal hierarchy, common MK II villager workstations, uncommon MK III redstone mechanisms, very rare debris/scrap, and legendary netherite. Registered custom items keep their own template grades, including spice and kits. Classification is presentation, never issuance or payment authority.

Cooking recipes and output must have identical stable item metadata because Minecraft compares the existing result slot against the recipe before emitting the Bukkit smelt event. At server load, cooking recipes receive canonical input (only exact choices) and output metadata. Recipe key, native ordering, category, group, cooking time and XP remain intact, including custom recipes. No timer is needed and no per-item serial number is introduced.

tools/probes/CookingProbe.java is an isolated Paper integration probe, never a production plugin. Compile it with the connector classes and Paper classpath, package those classes/resources with a plugin.yml naming CookingProbe, and run in a disposable server with no shared database/bridge configuration. It checks all native item types and two consecutive stone, charcoal, iron, cooked beef, and custom exact-input rabbit recipes. A successful run emits PROBE SUCCESS.