cn.nukkit.block.BlockBeeNest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.block;
import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.item.Item;
@PowerNukkitOnly
public class BlockBeeNest extends BlockBeehive {
public BlockBeeNest() {
this(0);
}
protected BlockBeeNest(int meta) {
super(meta);
}
@Override
public int getId() {
return BEE_NEST;
}
@Override
public String getName() {
return "Bee Nest";
}
@Override
public int getBurnChance() {
return 30;
}
@Override
public int getBurnAbility() {
return 60;
}
@Override
public double getHardness() {
return 0.3;
}
@Override
public double getResistance() {
return 1.5;
}
@Override
public Item[] getDrops(Item item) {
return Item.EMPTY_ARRAY;
}
}