Hwyla

Hwyla

86M Downloads

Blocks without an Item don't show up in the HUD

Darkhax opened this issue ยท 7 comments

commented

Issue Description:

If you look at any block which doesn't have an ItemBlock, such as lit redstone ore, the hud will not show.

What happens:

Instead of having a hud be visible, there is no hud. I suspect this is because the ItemStack doesn't have an Item, and is considered empty.

What you expected to happen:

I expect the hud to show up, using the block as a fallback, or having some built in code to allow blocks without items to fall back to those.

Steps to reproduce:

  1. Place down redstone block.
  2. If it's not lit, punch or walk on it.
  3. Look at the hud and be disapointed.

Affected Versions (Do not use "latest"):

  • Hwyla: Latest :kappa: (1.8.13)
  • Minecraft: 1.11.2
  • Forge: 13.20.0.2314

Possible Conflicting Mods (Provide their version, as well)

Nope

commented

STOP WASTING MY TIME REEEEE

reeee

commented

Worst mod dev ever

commented

I may have reee'ed too soon.

commented

It looks like this might be an issue again in 1.12 and 1.14.

Blocks without it's corresponding item won't display any info for the block.
This can be replicated with the mods Ceiling Torch and/or Tombstone. Ceiling Torches and Graves placed after a player death won't display any information.
Corail31/tombstone_lite#107

If a new issue needs to be opened, just let me know!

commented

Nice, thanks! I'll let them know.

commented

@TehNut is it really done to differenciate blocks using the same class (and having the same tileentity), or i missed something ? hm yes, the accessor, sorry ;)