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