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. Tabs are superior because when you backspace it removed the entire tab. Ergo it is the only correct way (also tabs are exactly 4 spaces wide and every other width is wrong).
  2. You removed a mod. Now those things aren't there. You need to delete the world save file.
  3. show your updated code
  4. There's only two and that one's the wrong one.
  5. https://github.com/DJ1TJOO/fantasy20/blob/master/src/main/java/nl/fantasynetworkmc/fantasy20/setup/RegistryEvents.java#L44 That's the wrong bus. Don't combine your event handlers like this. AttachCap is not a registry event, its a game event.
  6. Probably spaces vs. tabs Yeah, the lit-false line has two tabs, the lit-true is one tab and several spaces.
  7. By the way, format your damn json files. Christ. This should be a straight line:
  8. You don't. It isn't a bug "in your blocks" its a bug in how vanilla handles lighting updates.
  9. https://github.com/MinecraftForge/MinecraftForge/issues/6287
  10. Also don't use mutable block positions if you aren't going to mutate them. Also also BlockPos.getAllInBox(...) exists.
  11. This seems self explanatory
  12. And modifications to such are still being worked on. https://github.com/MinecraftForge/MinecraftForge/pull/6401
  13. I can't tell what the problem is without any code. If you are not the developer, contact the developer.
  14. You have a null in your code. Its right there. I can see it with my brain.
  15. Because Minecraft does not distinguish between North/South as being distinct from East/West with regards to models. The only way to do what you want is to rotate on both X and Y.
  16. The registry event is fine, but the deferred system is the current and new thing. I am blanking on what it's actually called, but it basically combines registration and @ObjectHolder functionality. https://mcforge.readthedocs.io/en/1.15.x/concepts/registries/#injecting-registry-values-into-fields @ObjectHolder lets you assign values to fields so that you can have a reference to any registry object (blocks, items, enchantments, etc) without having to create a hard dependency as well as cleanly handle overrides (i.e. you have one mod that supplies a block, then another mod comes along and supplies a replacement for that block to add its own functionality, your object holder field will reference the correct block--this is true for vanilla objects, your objects, and other mod's objects). Blocks do not (and cannot) exist in your inventory. What is in your inventory is an ItemStack and ItemStacks only hold Items. Blocks are not items. The way to "get around" this limitation is the BlockItem. It is the item form of a block.
  17. Light only comes from blocks.
  18. That's what loot tables are for. If someone wants to change the number dropped (ie "configure it") they can just override the loot table.
  19. Don't forget that blocks that are underground still need to check to see if they can see the sky.
  20. Search the marketplace for "json" there's about three. I use the one called "json editor plugin"

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.