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. event.drops.clear() It's an array list, use it like one.
  2. The multiblock machine I made happens to be just nine, identical, single-block machines that do something different based on their position in the structure.
  3. Do you know how to program in any language?
  4. The cross product thing I did once so I could turn every edge of a 3D model into a thick line (a quad) and wanted those quads to always face the camera. Was a bitch to figure out until I remembered the cross product trick (had to do it 3 times to get the necessary vectors).
  5. @Override public ItemStack getContainerItem(ItemStack itemStack) { return itemStack; }
  6. Also might help if you used the setBlock flag 3 like its supposed to be used: world.setBlock(x, y, z, MBlocks.CABLE, 1, 0); //flag 0: don't send to client, don't inform neighbors world.setBlock(x, y, z, MBlocks.CABLE, 1, 3); //flag 3: send to client, inform neighbors
  7. If the mod is on a server that makes no fucking sense.
  8. Why are you cloning the input stack, setting its size to 1, and returning it? If its size wasn't already 1 you just destroyed (an unknown number of) items. If it was, there was no point in cloning and setting the size.
  9. That return value won't do what you think it might. It won't let you toggle blocks back and forth between opaque and not opaque. It will toggle all blocks of that type.
  10. Because you're still using Minecraft.getMinecraft().thePlayer
  11. http://download.cnet.com/Workspace-Macro-Pro-Automation-Edition/3000-2084_4-10307040.html
  12. How do you expect (non TE) blocks to function? What about a redstone system that extends across several chunks?
  13. Yeah. Once for each face. Up Down North South East West
  14. No. If the client thread "stops" or crashes, the whole thing comes down and you are returned to Eclipse.
  15. I think he copy-pasted a bunch of shit and has no idea what it does, so he has no idea how to update it.
  16. Math. It's called "math." When you math things you can locate vertices in space. Protip: any two non-parallel vectors can be cross-product-ed together to produce a third vector perpendicular to the first two.
  17. The server thread crashed but the client thread did not. That shuts down the SSP world and boots the client connection.
  18. And change your sig, I can't read this thread because of that fucking image. Also, learn about the tag, then you don't need to ".." bullshit.
  19. Fatal Exception is a crash. Specifically you have a Null Pointer: java.lang.NullPointerException at com.halestormxv.inventory.InventoryKeyPouch.<init>(InventoryKeyPouch.java:34) ~[inventoryKeyPouch.class:?] On line 34 of your InventoryKeyPouch class, something is null.
  20. You shouldn't be using the Item Entity renderer to render items in a GUI anyway.
  21. The falling, by the way, is just client side prediction: it sees only air in the chunk and applies gravity. The server thread (when it generates the chunk) should reset the player. I see this all the time with Mystcraft (I've fallen as far down as -60). I don't know what's going on here.
  22. Pretty much everything (actually everything?) in the com.google.common package is part of the Guava library.
  23. Show your main class.
  24. This is what I was asking: I wanted to check to see if the Y value was lower than the teleport's destination coordinates.

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.