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

34 lines
919 B
Java
Raw Normal View History

2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.blocks.base;
import net.minecraft.block.BushBlock;
2016-03-18 23:47:22 +01:00
import net.minecraft.block.SoundType;
public class BlockBushBase extends BushBlock {
public BlockBushBase(Properties properties) {
super(properties.sound(SoundType.PLANT));
// this.register();
}
// private void register() {
// ItemUtil.registerBlock(this, this.getItemBlock(), this.getBaseName(), this.shouldAddCreative());
// }
2016-01-08 20:51:03 +01:00
// protected ItemBlockBase getItemBlock() {
// return new ItemBlockBase(this);
// }
2019-05-02 09:10:29 +02:00
public boolean shouldAddCreative() {
2015-12-19 10:30:39 +01:00
return true;
}
// @Override
// public void registerRendering() {
// ActuallyAdditions.PROXY.addRenderRegister(new ItemStack(this), this.getRegistryName(), "inventory");
// }
// @Override
// public EnumRarity getRarity(ItemStack stack) {
// return EnumRarity.COMMON;
// }
}