mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 03:05:10 +00:00
Lavastone now emits light, fixed bug on Slabs
Slabs can't be placed in the top of a block, yet. I'm going to rewrite it in the future.
This commit is contained in:
1 parent
64e3b55ec3
commit
ed90f90c0c
6 files changed
+9
-16
No files matched your search
@@ -37,7 +37,7 @@ import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.common.registry.GameRegistry.Type;
|
||||
|
||||
|
||||
@Mod(modid = "chisel", name = "Chisel", version = "1.5.4")
|
||||
@Mod(modid = "chisel", name = "Chisel", version = "1.5.4a")
|
||||
public class Chisel
|
||||
{
|
||||
public static ItemChisel chisel;
|
||||
|
||||
@@ -20,15 +20,4 @@ public class StepSoundEx extends SoundType
|
||||
{
|
||||
return this.soundName;
|
||||
}
|
||||
/*
|
||||
@Override
|
||||
public String getStepSound() {
|
||||
return stepName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getPlaceSound() {
|
||||
return placeName;
|
||||
}
|
||||
*/
|
||||
}
|
||||
@@ -13,6 +13,7 @@ public class BlockLavastone extends BlockMarbleTexturedOre
|
||||
public BlockLavastone(Material mat, String baseIcon)
|
||||
{
|
||||
super(mat, baseIcon);
|
||||
setLightLevel(1F);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -116,7 +116,8 @@ public class BlockMarbleSlab extends BlockCarvable
|
||||
@Override
|
||||
public void getSubBlocks(Item block, CreativeTabs tabs, List list)
|
||||
{
|
||||
if(isBottom) super.getSubBlocks(block, tabs, list);
|
||||
if(isBottom)
|
||||
super.getSubBlocks(block, tabs, list);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -109,7 +109,9 @@ public class ItemMarbleSlab extends ItemCarvable
|
||||
if(side != 0 && (side == 1 || hy <= 0.5D))
|
||||
return true;
|
||||
|
||||
world.setBlock(x, y, z, block.top, meta, 2);
|
||||
|
||||
//TODO allow top slabs
|
||||
//world.setBlock(x, y, z, block.top, meta, 2);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user