Skip to content

Exception during recipe registration #4291

@MrHell228

Description

@MrHell228

Affected Product(s)

SpongeVanilla

Version

26.1.2-19.0.0-RC2596

Operating System

Windows

Java Version

openjdk version "25.0.1" 2025-10-21

Plugins/Mods

-

Describe the bug

Using ItemStack#of during recipe registration throws exception which makes it impossible to register any recipe.

Code to reproduce:

@Listener
public void registerRecipies(final RegisterRegistryValueEvent.EngineScoped<Server> event) {
	event.registry(RegistryTypes.RECIPE, step -> {
		ItemStack.of(ItemTypes.COBBLESTONE);
	});
}

Link to logs

https://gist.github.com/MrHell228/45c78000c731419ce82e8a8bd441c2d2

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageThis label is automatically applied to new issues and pull requests to indicate they require triagetype: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions