with Meta
@Contract(value = "_ -> new", pure = true )
Creates a new item stack with meta retrieved applying the given builder to a new item metadata builder.
Return
a new item stack
Parameters
builder
the builder to apply
@Contract(value = "_ -> new", pure = true )
Creates a new item stack with meta retrieved applying the given builder to a new meta builder created with the given type P.
Return
a new item stack
Parameters
B
the builder type
P
the metadata type
builder
the builder to apply