mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-16 10:54:31 +02:00
30 lines
852 B
Java
30 lines
852 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;
|
|
|
|
public class BlockBase extends Block {
|
|
public BlockBase(Properties properties) {
|
|
super(properties);
|
|
}
|
|
|
|
protected ItemBlockBase getItemBlock() {
|
|
return new ItemBlockBase(this, new Item.Properties().group(ActuallyAdditions.GROUP));
|
|
}
|
|
|
|
public boolean shouldAddCreative() {
|
|
return true;
|
|
}
|
|
}
|