Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/29/20 in all areas

  1. The parameter "Installed JREs" wasn't available for some reason, so I had to reinstall eclipse. But now it's working. Thank you very much !
    1 point
  2. Decocraft won't work on 1.15.2, it currently only supports up to 1.12.2. You'll have to wait for it to update, or find an alternative mod that is updated for the version you want to play on.
    1 point
  3. It's a standard enforced by vanilla, i.e. Mojang. I believe it's for compatibility reasons, but it also helps ensure consistency. If I had to guess, it may also prevent weird conflicts as "Monster1" and "monster1" are technically different but may look the same, so requiring things to be lowercase likely helps with any strange issues that may arise from that.
    1 point
  4. The enchanted glow is added to an item whenever Item::hasEffect returns true. So you'll probably have to override that to get it to return true, somehow. I'm a little confused by your syntax for creating items, so you'd have to look into that yourself.
    1 point
  5. Subscribe to the RenderGameOverlayEvent (Pre or Post, depending on your needs) and put your rendering code there. Important: Make sure to filter the event by calling getType on it, otherwise your code will be called multiple times which isn't good. For your purposes, I'd recommend filtering for the FOOD event type. To see what your rendering code would need to be, simply study how vanilla does it. A good example of what you're trying to do would be in ForgeIngameGui#renderFood.
    1 point
×
×
  • Create New...

Important Information

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