mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-18 19:49:12 +00:00
merge carvable classes
merged glowtek and neonite carvable into one calss
This commit is contained in:
1 parent
bfbdcb07cf
commit
41d38fc263
3 files changed
+5
-23
No files matched your search
+3
-3
@@ -4,10 +4,10 @@ import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public class BlockCarvableGlotek extends BlockCarvable {
|
||||
public class BlockCarvableGlowie extends BlockCarvable {
|
||||
|
||||
public BlockCarvableGlotek() {
|
||||
super(Material.rock);
|
||||
public BlockCarvableGlowie(Material material) {
|
||||
super(material);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -1,17 +0,0 @@
|
||||
package team.chisel.block;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public class BlockCarvableNeonite extends BlockCarvable {
|
||||
|
||||
public BlockCarvableNeonite() {
|
||||
super(Material.rock);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canCreatureSpawn(EnumCreatureType type, IBlockAccess world, int x, int y, int z) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user