All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.block.BlockGlassTinted Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
package cn.nukkit.block;

import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.api.Since;
import cn.nukkit.item.Item;

/**
 * @author LoboMetalurgico
 * @since 13/06/2021
 */

@PowerNukkitOnly
@Since("FUTURE")
public class BlockGlassTinted extends BlockGlass {
    @PowerNukkitOnly
    @Since("FUTURE")
    public BlockGlassTinted() {

    }

    @Override
    public String getName() {
        return "Tinted Glass";
    }

    @Override
    public int getId() {
        return TINTED_GLASS;
    }

    @Override
    public Item[] getDrops(Item item) {
        return new Item[] { toItem() };
    }

    @Override
    public boolean canSilkTouch() {
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy