Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

i've tried setting the ore harvest level. but it's still instantly breakable by anything.

here's the code for the blocks.

package com.kami.blocks;

 

import com.kami.creativetabs.MCreativeTabs;

import com.kami.lib.RefStrings;

 

import cpw.mods.fml.common.registry.GameRegistry;

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraftforge.common.MinecraftForge;

import scala.collection.immutable.Set;

 

public class MBlocks {

public static void mainRegistry() {

initializeBlock();

registerItem();

}

 

public static Block WickOre;

public static Block Wickblock;

public static Block negative;

 

public static void initializeBlock(){

WickOre = new WickOre (Material.ground).setBlockName("WickOre").setCreativeTab(MCreativeTabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":Wickore");WickOre.setHarvestLevel("pickaxe", 2);

Wickblock = new wickblock (Material.ground).setBlockName("wickblock").setCreativeTab(MCreativeTabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":Wickblock");Wickblock.setHarvestLevel("pickaxe", 2);

negative = new negative (Material.ground).setBlockName("negative").setCreativeTab(MCreativeTabs.tabBlock);

 

}

 

public static void registerItem(){

GameRegistry.registerBlock(WickOre, WickOre.getUnlocalizedName());

GameRegistry.registerBlock(Wickblock, Wickblock.getUnlocalizedName());

GameRegistry.registerBlock(negative, negative.getUnlocalizedName());

}

 

}

i'm not really a "coder". all i did was watch mchewy tutorials. i have a very small understanding of coding.

Do you know Java at all? Because if not then please go learn Java and then come back, because mods are literally coding. If you're not a coder, than become one, because otherwise you will not be able to create anything "cool" or such. Java is extremely helpful, seeing as mods and Minecraft is coded in Java. PLEASE learn Java.

Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*.

 

Also this. Check it out.

width=700 height=200http://i.imgur.com/J4rrGt6.png[/img]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.