New Composter API usage, missing items fix

This commit is contained in:
paulevsGitch 2021-11-21 07:22:42 +03:00
parent 2afb62d6c8
commit 1ca8ffca7c
4 changed files with 17 additions and 37 deletions

View file

@ -17,7 +17,7 @@ public class CreativeTabs {
TAB_BLOCKS = FabricItemGroupBuilder
.create(BetterEnd.makeID("end_blocks"))
.icon(() -> new ItemStack(EndBlocks.END_MYCELIUM))
.appendItems(stacks -> stacks.addAll(EndBlocks.getModBlocks()
.appendItems(stacks -> stacks.addAll(EndBlocks.getModBlockItems()
.stream()
.map(ItemStack::new)
.collect(Collectors.toList())))