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. https://en.wikipedia.org/wiki/Multithreading_(computer_architecture)
  2. Personally I'm interested in knowing what will change: what will newly be possible and what will no longer be possible. It's going to be a mountain. Deal with it.
  3. I mean, probably. Stan might also be dead too, though. If you use the rules from the game of shiritori from No Game No Life (where their spoken objects will either materialize or disappear), notably when it ends (the first person to be incapacitated or killed as a result of a move) Meruem would still be the "winner." (Think about the fight between Meruem and Netero: Meruem won that fight, even though Netero was the one with the bomb: Netero's goal wasn't to win, it was to insure that Meruem died).
  4. What? This is literally nonsense. "Two instances of the class" and "two threads" are completely and utterly different concepts.
  5. Your folder name is ítems it should be items.
  6. There's also a SIDE parameter. CLIENT and SERVER. You need to pick one.
  7. You're storing all that data in your TE somewhere, right? Grab that data from inside your TESR render call, and build a series of quads for each "bit"
  8. Calculate your data, then render your calculations.
  9. This is disgusting. Do not do this. JSON is a serialization format, you are dealing with runtime data, use runtime storage techniques. Don't serialize the data, then deserialize it back into memory, that's fucking retarded. On top of that, you're trying to make one JSON file handled an arbitrary number of different model results by overwriting the file every time you need to render. This is a massive fucking mess.
  10. Well you're trying to get/set a FACING property, but your block does not declare a FACING property in its BlockStateContainer (this is what the error is saying, at least...along with the block being null, what the hell?). Looking over your code... Your BlockEnum class declares how to handle the creation of the BlockStateContainer for the enum via the realStateContainer field, but your BlockMenhir class gives no fucks about this field and declares its own BlockStateContainer as only having a FACING property. You've done something terrifyingly wrong, and I can't quite figure out what.
  11. Wait what? You want to render a JSON model, but that that JSON model changes during runtime, so you don't want the IBakedModel created from that JSON file. Why the hell is that JSON model dynamic?
  12. Some mod-based examples: https://github.com/Draco18s/ReasonableRealism/tree/1.12.1/src/main/resources/assets/harderores/advancements
  13. Fair enough. I was hesitant in my assessment as I had to scratch my head over what the possible pros and cons were. I suppose, "It's....not? great?" might've better expressed that. *Shrug* Thanks for the reading material, though.
  14. My point was it won't crash. Whether or not it's a good idea or bad idea to create an empty array (vs. using the zero parameter version vs. creating the array yourself) I don't know what's best. All I was countering was the comment that "oh, there's your problem, you're creating an empty array!" No, no that is not your problem.
  15. This is what pushMatrix and popMatrix do. GLStateManager.pushMatrix(); GlStateManager.rotate(angle, 1, 1, 1); //Rotating everything renderBody(te, x, y, z, partialTicks, destroyStage); //render the thing GLStateManager.popMatrix(); //undo to the last pushMatrix
  16. You call this from common code: This calls: This calls which is a class located at Oops, that's client side only. Server has crashed.
  17. And where do you call this code from?
  18. No modder, bad cookie. It should be done in the main mod class. The concept of a "common proxy" does not make sense. The whole point of @SidedProxy is to abstract over client specific and server specific behavior, the opposite of "common". Common code should go in your main mod class.
  19. https://docs.oracle.com/javase/7/docs/api/java/util/List.html toArray(new Item[0]) is fine. It's...not great, but it won't fail.
  20. You need to think about this in a single-threaded fashion. You want the game to do other stuff while you keep the mouse button held down which means you need to not use an infinite loop.
  21. while(gs.keyBindAttack.isKeyDown()) { Congrats, the game is now frozen until you let go.
  22. Yes you can. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/util/AdvancementUtils.java#L79

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.