Jump to content

Recommended Posts

Posted

I'm trying to do meta data blocks but I keep getting errors. Also how would I give each block a texture. The tutorial on it wasn't very in depth.For the code look at the metadata blocks tutorials because I was basically going off that. http://www.minecraftforge.net/wiki/Metadata_Based_Subblocks

 

The method getItemNameIS(ItemStack) of type BrickItems must override or implement a supertype method(works when i remove the @Override)

@Override

public String getItemNameIS(ItemStack itemstack) {

return getItemName() + "." + subNames[itemstack.getItemDamage()];

}

 

 

The method setItemName(String) is undefined for the type BrickItems

setItemName("brick");

 

The method getTextureFile() of type Brick must override or implement a supertype method

public String getTextureFile () {

return CommonProxy.BLOCK_PNG;

}

Posted

Main class:

 

  Reveal hidden contents

 

CommonProxy

 

  Reveal hidden contents

 

ClientProxy

 

  Reveal hidden contents

 

Birck.java

 

  Reveal hidden contents

 

BrickItems.java

 

  Reveal hidden contents

 

Posted

Are you modding in minecraft 1.4.7? Cause in 1.5.x you dont have to preload textures anymore. I've got a link for you that can help you out:

 

http://wuppy29.blogspot.nl/2013/04/modding-151-metadata-blocks.html

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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