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. http://www.minecraftforge.net/forum/index.php/topic,34626.msg182443.html#msg182443
  2. Fuck if I know what the Tessellator class looks like in 1.8, that's why I told you to use your tools. Be smart, look at the class for yourself.
  3. Those are easy to solve without help and impossible to solve without both the code and the crash report.
  4. I think: He wants the player to spawn in a different dimension than the overworld upon starting a new game.
  5. This isn't related to your problem: But don't set the instance yourself. Forge is just going to overwrite it. Your problem likely has to do with having your server->client and client->server packet method as the same method in your proxy. When you're in Single Player, only one of those two can exist at a time, so it'll be the client proxy, which does not call super() and thus cannot handle server->client packets.
  6. He wants to do it as an addon to GalactiCraft, which is the mod supplying the custom dimension. Unfortunately in order to add the celestials he'd have to either get GalactiCraft to add some API methods or events to the required functions.
  7. If/when I do any more animated models, my process is going to be to design it in MCAnimator and Techne. I'll use Techne's exported code, but use the parent/child relationship from MCAnimator using the rotation values I figured out in there. (MCAnimator's exported code uses their custom animation system, which I had concurrent modification errors using).
  8. https://github.com/theMusicalGamer/doctorWhoMod/blob/master/doctorwho/world/chunk/ChunkProviderTardis.java#L39-L42
  9. Psh, that looks awesome. Keep it. (ok, ok, it only looks awesome to me)
  10. This is almost certainly the case.
  11. Use your IDE. Code hinting is awesome and so is jump-to-definition.
  12. Gases and liquids are basically the same, they just have slightly different fluid and material properties. 1) You will need a custom material 2) You will need a fluid object and register it with the fluid registry 3) You will need a custom block that you will pass both of these to
  13. This means your code is only running client side. The server isn't doing anything at all with your code for some reason.
  14. It is unlikely you'll be able to do this at the block level, but there is getPlayerRelativeBlockHardness(EntityPlayer, World, int, int, int)
  15. Correct, only when its in the inventory of a living entity (may even only be the player). There's also onEntityItemUpdate which is what the item is when it is dropped into the world. Containers do not call onUpdate for their contents and there's no real way to make them do so. As a completely impossible form of item destruction that cannot be detected: Item in a chest in a Mystcraft age when the age is destroyed (future mechanic).
  16. To do what? Those highlighted methods deal with the item's metadata value. You wanted to know what they are for, they are for metadata.
  17. Stone is registered "stone" in the oredict, along with other blocks. So "is it an ore" may not be true.
  18. We're not assholes, people are just stupid and claim to have programming knowledge they do not have.
  19. You need a json serializer/deserializer, don't try to write such a thing yourself.
  20. That won't necessarily work. You've dropped the metadata from the smelting result. It also ignores ore blocks that don't drop blocks, but items, which can then be smelted, you'd need to look at the event.drops arraylist. That said, to answer your question: OreDictionary.getOreName(OreDictionary.getOreIDs(stack)); Note that that is not valud code, as getOreIDs() returns an array.
  21. Jesus Christ... ((EntityHorse)event.entityLiving).getHorseType() strike any bells?

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.