2019-07-11 09:03:08 +02:00
|
|
|
package com.simibubi.create;
|
|
|
|
|
2020-05-13 01:11:07 +02:00
|
|
|
import java.util.Collection;
|
|
|
|
|
2020-05-12 05:18:49 +02:00
|
|
|
import com.tterrag.registrate.util.entry.RegistryEntry;
|
2019-09-12 10:00:15 +02:00
|
|
|
|
|
|
|
import net.minecraft.block.Block;
|
2019-07-11 09:03:08 +02:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
2020-05-12 14:06:50 +02:00
|
|
|
public class CreateItemGroup extends CreateItemGroupBase {
|
2019-07-11 09:03:08 +02:00
|
|
|
|
|
|
|
public CreateItemGroup() {
|
2020-05-12 14:06:50 +02:00
|
|
|
super("base");
|
2019-07-11 09:03:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2020-05-13 01:11:07 +02:00
|
|
|
protected Collection<RegistryEntry<Block>> getBlocks() {
|
|
|
|
return Create.registrate().getAll(Block.class);
|
2019-12-19 22:35:45 +01:00
|
|
|
}
|
|
|
|
|
2020-05-12 14:06:50 +02:00
|
|
|
@Override
|
|
|
|
public ItemStack createIcon() {
|
|
|
|
return AllBlocksNew.COGWHEEL.asStack();
|
2019-09-12 10:00:15 +02:00
|
|
|
}
|
2019-12-19 22:35:45 +01:00
|
|
|
|
2019-07-11 09:03:08 +02:00
|
|
|
}
|