ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/base/BlockBase.java

29 lines
780 B
Java
Raw Normal View History

/*
2016-05-16 22:52:27 +02:00
* 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
2016-05-16 22:52:27 +02:00
* http://ellpeck.de/actaddlicense
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2017-01-01 16:23:26 +01:00
* © 2015-2017 Ellpeck
*/
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.blocks.base;
2024-03-02 21:23:08 +01:00
import net.minecraft.world.item.Item;
import net.minecraft.world.level.block.Block;
2021-02-26 22:15:48 +01:00
public class BlockBase extends Block {
public BlockBase(Properties properties) {
2021-02-26 22:15:48 +01:00
super(properties);
}
2019-05-02 09:10:29 +02:00
protected ItemBlockBase getItemBlock() {
2024-03-03 01:20:53 +01:00
return new ItemBlockBase(this, new Item.Properties());
}
2019-05-02 09:10:29 +02:00
public boolean shouldAddCreative() {
2015-12-19 10:30:39 +01:00
return true;
}
}