Skip 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. 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).
  2. You will need to write your own AI task probably.
  3. if(ent instanceof Zombie && !(ent instanceof PigZombie)) { } Magic.
  4. Loot is done by Loot Tables now.
  5. 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")
  6. What is a breeding recipe?
  7. Spoiller tags, much?
  8. No. Try again. Look at the documentation.
  9. Hmm. Let me see here... Can you find anything that uses IForgeRegistryEntry instead?
  10. 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.
  11. DrawBlockHighlightEvent would be more appropriate.
  12. 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."
  13. Would you show a screenshot of the path and file as see in Windows File Explorer? (or equivalent on your system)
  14. 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
  15. 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.
  16. The Tessellator class was renamed. It's called VertexBuffer now.
  17. 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?
  18. if(item == item) { } never checks metadata. You in fact, wrap an item and metadata into an item stack only to pull the item back out, discarding the metadata. if(inventory.getStackInSlot(3).getItem() == ModItems.ItemUpgrades && inventory.getStackInSlot(3).getMetadata() == 1) { return 120; }
  19. Your question and post literally make no sense. "Item renders as if it is rendering." Uh..? "they render as they normal items (you know the item that rotates around)." Um...ok? "I tried changing the GROUND." What?
  20. Pretty much works out the same. Total cook time gives you more flexibility and the incremental way needs to look up what upgrade it has every tick. But neither of those are terribly huge concerns.
  21. I have a hard time thinking of a professional IDE that doesn't jump you straight to the link in question. Flash is the only one, but it's IDE barely has intellisense, sooo...

Important Information

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

Account

Navigation

Search

Search

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.