Jump to content

[1.6.2] Metadata and texture randomly changes???


CleanPawnege

Recommended Posts

So I was making a leaf block and got most of it correct, but for some reason I have trouble with the blockID's(metadata)? So I can place all the 3 different blocks correctly and they render correctly in inventory, but after they have been on the ground for about 5 - 30 seconds they start to randomly change texture to another of the leaf textures? When I middle mouse click(in creative u get the block your looking at in your inventory) and it still gives me the block I placed, but on on the ground it had the wrong texture? This also happens when you place a block on top of any of the leaf textures. And I have tried to use if statement and switch both have the same problem anybody know how to fix?

 

 

Here is a direct link to the correct class in my github directory u can also look at all the other classes if necessary ;)

 

https://github.com/Rasmustof/Kitchenmod/blob/master/common/kitchenmod/blocks/BlockPearLeaves.java

Link to comment
Share on other sites

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.