cn.nukkit.block.BlockPumpkinLit Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.Player;
import cn.nukkit.item.Item;
import javax.annotation.Nonnull;
/**
* @author xtypr
* @since 2015/12/8
*/
public class BlockPumpkinLit extends BlockPumpkin {
public BlockPumpkinLit() {
this(0);
}
public BlockPumpkinLit(int meta) {
super(meta);
}
@Override
public String getName() {
return "Jack o'Lantern";
}
@Override
public int getId() {
return LIT_PUMPKIN;
}
@Override
public int getLightLevel() {
return 15;
}
@Override
public boolean canBeActivated() {
return false;
}
@Override
public boolean onActivate(@Nonnull Item item, Player player) {
return false;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy