forLegacy

public static String forLegacy(String baseItem, double customModelData)

Identity of a type=legacy entry. Geyser turns it into a definition whose model is the Java item itself and whose sole predicate is legacyCustomModelData(cmd) — byte-identical to a modern range_dispatch on custom_model_data with scale 1 and index 0, which is why a dual-format pack's two entries can collide.