get

@Nullable()
public abstract @Nullable() ItemStack get(String id)

Get an item stack based on the input.

Return

The item stack

Parameters

id

The input


@Nullable()
public abstract @Nullable() String get(ItemStack stack)

Get the id based on the item provided.

Return

The id, may return null when none is available

Parameters

stack

The item stack