cn.nukkit.item.ItemFlowerPot 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.item;
import cn.nukkit.block.Block;
/**
* @author Snake1999
* @since 2016/2/4
*/
public class ItemFlowerPot extends Item {
public ItemFlowerPot() {
this(0, 1);
}
public ItemFlowerPot(Integer meta) {
this(meta, 1);
}
public ItemFlowerPot(Integer meta, int count) {
super(FLOWER_POT, meta, count, "Flower Pot");
this.block = Block.get(Block.FLOWER_POT_BLOCK);
}
}