ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/base/BlockBase.java
2021-08-22 16:09:06 +01:00

32 lines
904 B
Java

/*
* This file ("BlockBase.java") is part of the Actually Additions mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://ellpeck.de/actaddlicense
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
* © 2015-2017 Ellpeck
*/
package de.ellpeck.actuallyadditions.mod.blocks.base;
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.block.AbstractBlock.Properties;
public class BlockBase extends Block {
public BlockBase(Properties properties) {
super(properties);
}
protected ItemBlockBase getItemBlock() {
return new ItemBlockBase(this, new Item.Properties().tab(ActuallyAdditions.GROUP));
}
public boolean shouldAddCreative() {
return true;
}
}