Skip 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. You don't need to box here. withProperty(LEVEL, lvl) works just fine.
  2. But vanilla doesn't do that, so it doesn't need the seed, so it doesn't synchronize it.
  3. Because the client doesn't give a damn what the seed is. What would the client *do* with the information?
  4. You basically just need to do it once (when the player joins the world) and store it. Every block can then query that stored seed. And yes, you need to do this, because how else would you get the data when the player connects to a server?
  5. Vanilla doesn't know WTF capabilities are, they are a Forge thing. Use Choonster's test mod instead: https://github.com/Choonster-Minecraft-Mods/TestMod3/blob/1.12.1/src/main/java/choonster/testmod3/inventory/container/ContainerModChest.java
  6. It really isn't that hard. If you're already supplying a capability, stop implementing IInventory and use SlotItemHandler instead of Slot in your gui.
  7. What is deathZone?
  8. You should inform Mojang.
  9. This is what clever programmers are for. if(pos.x == N && pos.z == M && pos.y == 39) { log.message("hey! listen!"); }
  10. Draco18s replied to a post in a topic in Modder Support
    That is not the proper variant syntax. http://mcforge.readthedocs.io/en/latest/blockstates/forgeBlockstates/
  11. Add a logging statement to tell you what the output of that method is.
  12. That's pretty much your only option, yes.
  13. You won't be able to do this without rewriting a majority of Minecraft's internals.
  14. Or generate them once and then remove the generation code...
  15. Show your entire, updated, block class.
  16. As far as I am concerned, any block variant that might exist gets an item, for the purposes of creative inventories and silk touch. The standard drop might be different and that's fine, but the variant should probably still have an Item version of itself. Again, whatever item that is supposed to be, you need to register a model for it. I can't tell you much more because your post is confusing as all get out.
  17. Only way to implement this properly is to make two versions of your mod. Do remember that you can't ask for money with regards to features. It would violate the Minecraft EULA.
  18. 1) Use JSON recipes. 2) If you want metadata, you need to specify it with an ItemStack, like you did with charcoal 3) Use JSON recipes.
  19. If you are in a chunk, you can be absolutely sure that the chunk +X and +Z exist. You cannot be sure that -X or -Z exist.
  20. You need to register the item model for all of your block variants. I do it like this: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/hardlib/client/ClientEasyRegistry.java#L45-L54
  21. You're going to have to figure out the combined rotation yourself. You may want to convert to Matrix4x4 and do matrix math, then convert back.
  22. Post the entire log, the actual error is almost always not the first one. There might be a second instance of the error with a different "Caused by:..." line. " MissingVariantException" is pretty much always triggered.
  23. It will. If you'd made those changes you would have seen.
  24. 1) Why is your "register renderers" called from common code? That shit's client only. 2) Models need to be registered in the ModelRegistryEvent
  25. "Not visible" means that it's private. You need to use Reflection.

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.