Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. Cool. Could have used that four years ago, oh well.
  2. This is old and wrong. 20 armor will stop 8 of 20 damage (40%). The more damage you're taking in a single hit, the less effective your armor is.
  3. You mean as: effect.hearts=\0x2665 ? Orr...?
  4. The point was to allow the display to be customizable because lang files are resource-pack-capable.
  5. http://minecraft.gamepedia.com/Armor#Armor_Toughness
  6. Alternatively you can set up your langfile with a markup code and do some regex when you go to display text. I sort of do that here (although that particular one is intended to either be displayed as ♥ or not, in its entirety).
  7. You will need to write your own AI task probably.
  8. if(ent instanceof Zombie && !(ent instanceof PigZombie)) { } Magic.
  9. Loot is done by Loot Tables now.
  10. 1) use spoiler and code tags, not images and a copy paste dump 2) your item model is missing or improperly registered (READ the error, particularly the not where it says "File Not Found")
  11. What is a breeding recipe?
  12. Spoiller tags, much?
  13. No. Try again. Look at the documentation.
  14. Hmm. Let me see here... Can you find anything that uses IForgeRegistryEntry instead?
  15. You can also do if(stackInSlot(0).getItem() == ModItems.myItem) Which won't do metadata items (you will have to compare the metadata value as well) but it's much better than creating a temporary item stack and then throwing it away every frame.
  16. DrawBlockHighlightEvent would be more appropriate.
  17. Depending on exactly what you want (do you want the player to be able to go inside? place blocks inside? neither? both?) you would accomplish this in slightly different ways. However, given that you've had to ask I'm going to peg the difficulty of all of them as "way more difficult than you'll be able to understand."
  18. Would you show a screenshot of the path and file as see in Windows File Explorer? (or equivalent on your system)
  19. Easy. Either use a tool to "activate" the construction (the way Immersive Engineering does) and look for that controller block. From there look for the rest of the construction. If it's all there, activate, do The Thing, give feedback to the player that it was successful, change the models, etc. etc. OR Require that the controller be placed last and on-place check for the rest of the structure, if it's all there, active...etc etc
  20. Tessellator.getInstance().getBuffer(); Tessellator.getInstance() Tessellator Seriously? Also, the class has changed more than just its name, so you'll have to look at existing usages in order to update the code.
  21. The Tessellator class was renamed. It's called VertexBuffer now.
  22. Oh jesus. Get Eclipse. It's freaking free. Or IntelliJ. You wouldn't use Notepad++ to edit a website, so why are you doing it for Java?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.