mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-19 12:09:12 +00:00
All devs and contributors should use the provided formatter settings. If your IDE does not support the format, the rules are simple, it is the default java formatting rules, with 200char line lengths and 1 extra line after class definitions.
31 lines
618 B
Java
31 lines
618 B
Java
package com.cricketcraft.chisel.block;
|
|
|
|
import java.util.Random;
|
|
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.init.Blocks;
|
|
import net.minecraft.init.Items;
|
|
import net.minecraft.item.Item;
|
|
|
|
public class BlockLightstoneCarvable extends BlockCarvable {
|
|
|
|
public BlockLightstoneCarvable() {
|
|
super(Material.glass);
|
|
}
|
|
|
|
@Override
|
|
public int quantityDropped(Random random) {
|
|
return Blocks.glowstone.quantityDropped(random);
|
|
}
|
|
|
|
@Override
|
|
public Item getItemDropped(int i, Random random, int a) {
|
|
return Items.glowstone_dust;
|
|
}
|
|
|
|
@Override
|
|
public int damageDropped(int i) {
|
|
return 0;
|
|
}
|
|
}
|