-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6711e75
commit a369d34
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package sousuke.sousukeMod_main; | ||
|
||
import net.minecraft.block.Block; | ||
import net.minecraft.block.material.Material; | ||
import net.minecraft.creativetab.CreativeTabs; | ||
|
||
public class S_RubyBlockOre extends Block { | ||
|
||
public S_RubyBlockOre(Material material) { | ||
|
||
super(material); | ||
|
||
//クリエイティブの登録 | ||
this.setCreativeTab(CreativeTabs.tabBlock); | ||
|
||
//硬さの設定 | ||
this.setHardness(6.0F); | ||
|
||
//回収するのに必要なツールを設定 | ||
this.setHarvestLevel("pickaxe", 3); | ||
|
||
//明るさの設定 | ||
this.setLightLevel(0.0F); | ||
|
||
//生成高度設定 | ||
|
||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,6 @@ | |
public class Sousuke_sMod | ||
{ | ||
public static final String MODID = ""; | ||
|
||
|
||
} |