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. For the life of me, I can't figure out why you should even care. If you check "this chunk" and then the 3 neighbor chunks at +X, +Z, and +X+Z (all of which are guaranteed to already exist, even if they have not yet been populated) then you should be fine. If they have been populated already, you don't cause further population. If the current chunk caused anything to appear in them, you find it. If they haven't been populated, you don't cause further population (because vanilla already expects cross-chunk-boundary placements to occur in this direction and not cascade population). If the current chunk caused anything to appear in them, you find it. If that chunk's own population would place it, but it hasn't populated yet, you don't need to care, because it will fire its own population event. ALL OTHER CHUNKS ARE IRRELEVANT
  2. True, he does. But the stack trace doesn't say what went wrong, only where.
  3. On top of that, print out "error" without saying what kind of error helps nobody. (Ironically a problem I've had working with the Oculus SDK lately: API fails to initialize for any reason? dll not found exception. Store transaction failed or was canceled by the user? Oculus.Platform.Model.Error)
  4. I once did a speed analysis of comparing block states on every block in a chunk from 0 to the surface (so that same average of 90) and when no modifications needed to occur (e.g. none of the blocks I was looking for existed, yes, I was looking for one of many blocks, so I was doing some List#indexOf()) it took around 400,000 nanos (or 0.4ms). When the block(s) I was looking for did exist and I had to execute some block updates elsewhere (frequently in another chunk entirely) that number rose...to 600,000 nanos. So your guess isn't wrong.
  5. I can tell you that this code cannot be here. ModelLoader is client-side only.
  6. setBlockState
  7. The first place I'd go is to whomever put together the pack...
  8. Are you making a mod of your own? No? You're in the wrong place
  9. 1.7.10 is no longer supported here
  10. If you are in a chunk that has just been populated, you can only (for sure) request the three chunks that are X+ and Z+ of the current one
  11. Also needs to be all lower case (all resources do), so if that's correct, then it should actually be nl_nl.lang
  12. https://www.w3schools.com/tags/ref_language_codes.asp nl.lang
  13. 1.12 -> 1.13 will not be as big as 1.7 -> 1.12, there's only one system I'm aware of that will see a massive overhaul, and that's item metadata, but at this time, no one knows how its going to be handled by modders. (Or at least, I've not seen any info)
  14. There's a boat load of changes, plus an additional two truck loads and a fuckton between 1.7.10 and 1.12. I suggest starting the upgrade down, and possibly even doing so for an intermediary version (e.g. 1.10) so that you can get a handle on the changes in steps. Or you could literally set your code on fire and start from scratch, as it's pretty much worthless now.
  15. Yes I did: Right there. if(you want an inventory model) { you need an inventory variant } You need to supply the "particle" texture. e.g.: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/blockstates/axel.json#L5
  16. GitHub repositories are amazing
  17. ADD (do not remove) these lines to your blockstate file https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/blockstates/axel.json#L11-L14 I never told you to remove anything. I said "you do not have these lines" and you have not added those lines. ADD THEM.
  18. Post your code. Like, all of it.
  19. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/blockstates/axel.json#L11-L14 Seriously, you don't have this. I said as much, you asked what to do, I said "add this" and your response was to complain about my being terse. You haven't changed your blockstate json at all.
  20. The class instance that the code is in. Which considering he is getting logging messages when using the PopulateChunkEvent super-class, that part's fine.
  21. 1) We here support people writing mods, not users. You want help with a mod causing a problem? Talk to the mod author. 2) We no longer support freaking ancient versions of Minecraft, such as 1.7.10. Update.
  22. This is not true. This is only true if you register the class or use the annotation. If you register a class instance (such as jredfox has done) then making the methods static is wrong.

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.