Interface ItemStackGenerator
- All Superinterfaces:
Function<RandomProvider.Source,
ItemStack>
A simple generator that takes a
RandomGenerator
and generates
an ItemStack
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A builder to add variousBiConsumer
s that will be applied in order to anItemStackGenerator
. -
Method Summary
Modifier and TypeMethodDescriptionstatic ItemStackGenerator.Builder
builder()
Creates a new builder to build anItemStackGenerator
.
-
Method Details
-
builder
Creates a new builder to build anItemStackGenerator
.- Returns:
- The builder to create an itemstack generator
-