mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-18 11:39:14 +00:00
20 lines
517 B
Java
20 lines
517 B
Java
package team.chisel.block;
|
|
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.entity.EnumCreatureType;
|
|
import net.minecraft.world.IBlockAccess;
|
|
|
|
import com.cricketcraft.chisel.api.ICarvable;
|
|
|
|
public class BlockCarvableAntiBlock extends BlockCarvableColor implements ICarvable {
|
|
|
|
public BlockCarvableAntiBlock() {
|
|
super(Material.rock);
|
|
}
|
|
|
|
@Override
|
|
public boolean canCreatureSpawn(EnumCreatureType type, IBlockAccess world, int x, int y, int z) {
|
|
return false;
|
|
}
|
|
}
|