Created json files of all addon blocks

This commit is contained in:
Robert Sosnitzka
2016-05-13 18:59:37 +02:00
parent 453f12d70f
commit 2240c324f1
34 changed files with 6 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import net.minecraft.block.material.Material;
public class BasicBlockOre extends Block { public class BasicBlockOre extends Block {
public BasicBlockOre(String name, Material material, float hardness, float resistance, int harvest, float lightLevel) { public BasicBlockOre(String name, Material material, float hardness, float resistance, int harvest, float lightLevel) {
super(material); super(material);
setUnlocalizedName(name); setUnlocalizedName(name);
@@ -13,6 +14,7 @@ public class BasicBlockOre extends Block {
setResistance(resistance); setResistance(resistance);
setHarvestLevel("pickaxe", harvest); setHarvestLevel("pickaxe", harvest);
setLightLevel(lightLevel); setLightLevel(lightLevel);
} }
public BasicBlockOre(String name, Material material, float hardness, float resistance, int harvest) { public BasicBlockOre(String name, Material material, float hardness, float resistance, int harvest) {

View File

@@ -12,6 +12,10 @@ import net.minecraftforge.fml.common.registry.GameRegistry;
public class Utils { public class Utils {
public static String PREFIX_INGOT = "ingot"; public static String PREFIX_INGOT = "ingot";
public static String PREFIX_NUGGET = "nugget";
public static String PREFIX_ORE = "ore";
public static String PREFIX_BLOCK = "block";
public static void registerBlockWithItem(Block block) { public static void registerBlockWithItem(Block block) {
System.out.println(String.format("Register Block: %s", block.getUnlocalizedName())); System.out.println(String.format("Register Block: %s", block.getUnlocalizedName()));

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB