Jump to content

Recommended Posts

Posted

Hi, I'm having an issue with getting my Block to display in game. The ItemBlock is clearly registered and working correctly as the texture displays in inventory and when dropped. However placing the block gives a no texture purple/black cube at first. Then if you stop looking at it, respawn, or reload the world, the texture becomes invisible. Jumping on top of the block causes a weird glitchy effect, and they don't seem to be able to be broken at this point, but can be mined before the texture disappears. Never experienced anything like this before but I am rewriting my mod for 1.12 following a tutorial because I'm not that familiar with the 1.12 changes and I'm a bit rusty at this. Here are the relevant .java files. Any ideas on what I'm missing here?

 

MoreFuelsMod.java (Main class)

  Reveal hidden contents

BlockBase.java

  Reveal hidden contents

BlockOre.java

  Reveal hidden contents

ModBlocks.java

  Reveal hidden contents

ore_bituminous_coal.json (Blockstates)

  Reveal hidden contents

 

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.