cn.nukkit.item.ItemCampfireSoul 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.api.PowerNukkitOnly;
import cn.nukkit.api.Since;
import cn.nukkit.block.BlockCampfireSoul;
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public class ItemCampfireSoul extends Item {
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public ItemCampfireSoul() {
this(0, 1);
}
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public ItemCampfireSoul(Integer meta) {
this(meta, 1);
}
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public ItemCampfireSoul(Integer meta, int count) {
super(SOUL_CAMPFIRE, meta, count, "Soul Campfire");
this.block = new BlockCampfireSoul();
}
@Override
public int getMaxStackSize() {
return 1;
}
}