use of org.lanternpowered.server.item.ItemTypeBuilderImpl in project LanternServer by LanternPowered.
the class BlockTypeBuilderImpl method itemType.
@Override
public BlockTypeBuilderImpl itemType(Consumer<ItemTypeBuilder> consumer) {
checkNotNull(consumer, "consumer");
if (this.itemTypeBuilder == null) {
this.itemTypeBuilder = new ItemTypeBuilderImpl();
}
consumer.accept(this.itemTypeBuilder);
return this;
}
Aggregations