cn.nukkit.item.ItemDoorWarped 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.Block;
import cn.nukkit.block.BlockID;
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public class ItemDoorWarped extends Item {
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public ItemDoorWarped() {
this(0, 1);
}
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public ItemDoorWarped(Integer meta) {
this(meta, 1);
}
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public ItemDoorWarped(Integer meta, int count) {
super(WARPED_DOOR, 0, count, "Warped Door");
this.block = Block.get(BlockID.WARPED_DOOR_BLOCK);
}
}