BedrioxDOCUMENTATION
API CLASS

RecipeIngredient

Immutable ingredient alternatives for one occupied crafting-grid cell.

Bedriox\Api\Crafting\RecipeIngredient
classBedriox\Api\Crafting

Public methods

__construct(array $identifiers, int $count = 1, ?int $auxValue = null, ?int $damage = null, ?Bedriox\Api\Inventory\ItemNbt $nbt = null)

Typed public method.

static exact(string $identifier, int $count = 1, ?int $auxValue = null, ?int $damage = null, ?Bedriox\Api\Inventory\ItemNbt $nbt = null): self

Typed public method.

Constants

MAXIMUM_ALTERNATIVES

View exact source ↗