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. Question: are you making your own plant block that you want to sway in the wind? or are you trying to make all plant blocks sway in the wind?
  2. http://lmgtfy.com/?q=set+JAVA_HOME
  3. There's a way to get the direction the player is looking (EntityPlayer#getLookVec) that you can use to create an offset for which blocks to change.
  4. You need to add +0.5 to your X and Z transform offsets.
  5. OTOH, TileEntities are more expensive than regular blocks, which is why Vanilla has two logs and two leaves rather than a TE.
  6. In order for full diamond armor to have 8/10 protection, you would need to alter each piece of armor to have less overall protection. The bar is literally a sum of all the pieces worn.
  7. Define "fruit tree." What does this object look like? How does it behave?
  8. Namely because it is unable to do so. The ItemStack doesn't have a reference to the inventory it is in, and is thereby unable to make itself null.
  9. Well, you'd need to do the NBT data on the ItemStack correctly. Unfortunately I cannot locate the documentation regarding this, but it would be available by looking at the WrittenBook item class.
  10. I think it is. I just read a few threads in Modder Support, and when one of them got a new reply, every thread showed the "new" label. When I read the new reply, went back to Modder Support and refreshed the page, the "new" markers dissappeared. EDIT: If you click the "new" button on a post without a new reply, it goes to another thread which does have a new reply. This is annoying the fuck out of me. As soon as I noticed it my immediate thought was, "What'd we do downgrade our forum software?" But Larsgerrits is correct, the new button doesn't even apply to the thread it's next to:
  11. SSP is SMP only running its own copy of the server and with only a single player connected.
  12. Your block gives no shits about metadata other than 0 and 1, which it uses to supply two different TileEntities.
  13. Two random numbers like that would result in less than a 50% I think, but I'm not in a place to so the math. However, that two-numbers thing does get you a different result if you are returning a float (as compared to a uniform random), the Wald Distribution (Inverse Gaussian) uses that method.
  14. There's a reason there's not a BlockUpdateEvent fired when any block runs its update tick method: the sheer number of calls that would be made to the event bus. Reducing this to only redstone powered objects wouldn't really do much. Afterall: do you expect every dot of redstone dust to fire this event?
  15. Make sure to check null. Not all DamageSources have a source entity.
  16. Stop using static variables any class-level variables at all inside your item class.
  17. Yeah no, you're not going to be able to do that because power-able blocks check their neighbors for power. If none of their neighbors have power, they turn off. Creating a "virtual" connection like that would require replacing a block with the Redstone Block (or equivalent).
  18. Presumably the method returns a value, that value being the amount inserted.
  19. Making a recipe handler takes having an existent sample to work from, as the documentation is very limited. In that, have a working one-input-one-output NEI handler https://github.com/Draco18s/HarderStuff/blob/master/src/main/java/com/draco18s/ores/recipes/nei/ProcessorNEI.java
  20. Or use the passed ItemStack to differentiate.
  21. There's an entire BrewingRecipe class now. Take a look at it.
  22. Note that you cannot set the near clip plane to 0. Well, you probably can, I wouldn't expect things to work right though. You can, however, set it very very small. Like 0.001 small. http://answers.unity3d.com/questions/129030/why-is-near-clip-plane-necessary.html As for how to actually do that in MC, I have no idea.
  23. I misread, I read "to 100 blocks" to "by 100 blocks"
  24. Does it use == or instance of? If the former: not easily (you will have to use events and basically duplicate all that code) If the latter: just extend ItemElytra
  25. Support and bug reports. But long story short is you're using the wrong mod version for the version of Minecraft you are running.

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.