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. player.addPotionEffect(new PotionEffect (Potion.getPotionById(16), 220, 0)); ? Seriously, how hard is it to add the parameters you removed back in? Except you'd replace the hardcoded ID with MobEffects as mentioned earlier.
  2. The static keyword is almost certainly not what you want.
  3. Would also have been easy to name your thread with a title relating to your problem, rather than "This is simple."
  4. Good job, you created an identifier. You might want to set it equal to something. http://stackoverflow.com/questions/2614072/java-define-terms-initialization-declaration-and-assignment
  5. Correct. The faces you outlined are not being rendered at all: they are facing away from the camera and are being culled. Their back-faces (facing towards the camera) don't exist unless you explicitly tell them to.
  6. Back faces don't exist unless you tell them to exist. All faces are by default one sided unless you specificity create them.
  7. That's not a back face. That's the front side of the spoke that is behind another spoke.
  8. Entities require more CPU, RAM, and GPU than blocks.
  9. You can handle the versioning error yourself, if you'd like. There's an event for it IIRC, and you can display your own error screen. The "easy end user solution" for using the wrong version is "stop being an idiot and use the right version."
  10. Having both sets yourself up for collisions and unexpected behavior.
  11. Why not save the players' inventory to NBT?
  12. TL;DR you can't return a generic OreDict item. You must choose one of them.
  13. That would be a terrible idea.
  14. http://stackoverflow.com/questions/12688068/how-to-read-and-understand-the-java-stack-trace
  15. "It crashed" is not equal to "it crashed." Just because "it crashed" does not mean that the problem has not changed: it is possible to have more than one error at a time. You have to READ your fucking crash logs and use your god damn brain.
  16. This sounds like a terrible idea.
  17. It's own implementation of what? And how would Minecraft "override" that implementation if it is built in Java?
  18. What do you mean by that? He wants to take an item model (a model for MyItemFoo) and combine it with a damage bar model. This is so he can add that same bar to another item's model (a model for MyItemBaz) without having to create two different models that have their own bars pre-rendered.
  19. This has nothing to do with Minecraft's "inconsistencies." It's called floating point error.
  20. You have a null pointer in you hash code function. Post BlockRbsCrop.java
  21. Yeah...of two different inventories.
  22. Both of the quoted lines refer to your TE's inventory.
  23. The only way I can think of doing this without performance impact would be ASM and inject your own event into the water block class. Note: ASM is not a standard protocol and you will receive no help here for writing it.
  24. updateTick doesn't always fire. It's random, once about every 3-5 minutes, iirc.

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.