Java Code Examples for net.minecraft.block.Block#soundTypeMetal()

The following examples show how to use net.minecraft.block.Block#soundTypeMetal() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Mobycraft.java    From mobycraft with Apache License 2.0 6 votes vote down vote up
@EventHandler
public void init(FMLInitializationEvent event) {
	injector = Guice.createInjector(new MobycraftModule());

	// Helps render item textures
	mesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher();

	docker_block = new GenericBlock("docker_block", Material.iron, 5.0F,
			10.0F, "pickaxe", 1, Block.soundTypeMetal);
	registerBlock(docker_block, "docker_block");

	container_wand = new GenericItem("container_wand",
			CreativeTabs.tabTools).setMaxStackSize(1);
	registerItem(container_wand, "container_wand");

	container_essence = new GenericItem("container_essence",
			CreativeTabs.tabMaterials);
	registerItem(container_essence, "container_essence");

	RenderManager render = Minecraft.getMinecraft().getRenderManager();

	registerModEntity(EntityMoby.class, new RenderMoby(), "moby",
			EntityRegistry.findGlobalUniqueEntityId(), 0x24B8EB, 0x008BB8);
	registerModEntity(EntityChaosMonkey.class, new RenderChaosMonkey(),
			"chaos_monkey", EntityRegistry.findGlobalUniqueEntityId(),
			0x8E6400, 0xEAFF00);

	DimensionRegistry.mainRegistry();

	commands = injector.getInstance(MainCommand.class);
	commands.loadConfig();

	MinecraftForge.EVENT_BUS.register(commands);
	FMLCommonHandler.instance().bus().register(commands);

	GameRegistry.addRecipe(new ItemStack(container_wand), " ei", "ese",
			"se ", 'e', container_essence, 'i', Items.iron_ingot, 's',
			Items.stick);
}
 
Example 2
Source File: BronzePlatedReinforcedStoneProperties.java    From NewHorizonsCoreMod with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Block.SoundType getStepSound() { return Block.soundTypeMetal; }
 
Example 3
Source File: SteelPlatedReinforcedStoneProperties.java    From NewHorizonsCoreMod with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Block.SoundType getStepSound() { return Block.soundTypeMetal; }
 
Example 4
Source File: TungstensteelPlatedReinforcedStoneProperties.java    From NewHorizonsCoreMod with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Block.SoundType getStepSound() { return Block.soundTypeMetal; }
 
Example 5
Source File: NeutroniumPlatedReinforcedStoneProperties.java    From NewHorizonsCoreMod with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Block.SoundType getStepSound() { return Block.soundTypeMetal; }
 
Example 6
Source File: DiamondFrameBoxProperties.java    From NewHorizonsCoreMod with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Block.SoundType getStepSound() { return Block.soundTypeMetal; }
 
Example 7
Source File: NaquadahPlatedReinforcedStoneProperties.java    From NewHorizonsCoreMod with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Block.SoundType getStepSound() { return Block.soundTypeMetal;}
 
Example 8
Source File: TitaniumPlatedReinforcedStoneProperties.java    From NewHorizonsCoreMod with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Block.SoundType getStepSound() { return Block.soundTypeMetal; }