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. The fuck are you doing that causes this?
  2. Its almost as if you've not actually played the game. 1) The F3 screen 2) The /give command 3) Blockstate JSON files (and the associated error messages when they aren't correct) All three of these use string representations of blockstates. Or there's just the sheer point that: anything can be turned into a string if you try hard enough.
  3. That it is, but null has always been Minecraft's air. Block.AIR was null at one point too.
  4. Then table.getPools(); returned null and you didn't check for that.
  5. You can't. ItemStack.EMPTY is meant to be immutable. That's why its a static reference and named the way its named. Its item is Air (and you can't change a stack's item) and Air is always empty.
  6. Its on line 31, whichever line that is.
  7. You don't need to clone the empty stack.
  8. Show what you tried.
  9. Yes, because it can hop in and extinguish itself. Or at least, that's what I suspect.
  10. Yeah, I totally couldn't tell from your previous post with that same code in it.
  11. You should be using EntityEntryBuilder anyway.
  12. for now. That said, the "code style" type issues are ones that are just bad practice, not that they cause the game to break. In some cases it makes things more complicated than they need to be (IHasModel) and in some cases simplifies something that shouldn't be (Proxies).
  13. Just because that's how they did it does not mean it is correct. It simply doesn't crash.
  14. I have seen no code that would result in this behavior.
  15. Huh? What? Have you tried....deleting the code?
  16. The "most often" you can update an object is every frame and you have limited numbers slower than that if you consider that they have to be less than 1. i.e. you can't update an object 0.8 (80%) of the time (what are you supposed to do any given frame?). So you end up with 0.5, 0.333, 0.25, 0.2 etc. as allowable values... Or time%n == 0
  17. Because the onItemRightClick method is only called when the player has their mouse over a block and that only happens when the block is within their reach.
  18. Because you never told the server what you were doing. Remember: The client is always a lying, cheating bastard.
  19. Because you registered your event handler class using an annotation, which requires the methods to be static. The part that makes no sense is that your non-static function was not being called for vanilla blocks but was for modded blocks.
  20. ModelRegistryEvent is client side only. Code Style Issue #1, #3
  21. This part isn't absolutely necessary.
  22. There's no problems with what he's doing in this regard.
  23. IBakedModel main = event.getModelRegistry().getObject(mrl); You need to insure that this is not failing.

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.