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. We are not here to teach you English. Your goal is still not clear: stone will exist in the world somewhere. Checking to see if it exists at a location requires calling World#getBlock(x, y, z) and checking that it equals Blocks.stone Part 2 still makes no sense to me.
  2. Your entity is larger than the entire volume of world being loaded.
  3. IIRC, onRightClick is only run client side. In order to damage an item, you need to do it server side. Ergo packets.
  4. LookingGlass had to be custom built to handle other dimensions, but it works just fine in a single dimension.
  5. His example has two: the ore color (blue) and the stone color (white). In any case, if the OP wishes to go the custom TextureAtlasSprite route (which renders the color once) I've got some posts on this forum on how to do precisely that. I don't know if the class has changed in 1.8+ however, and due to the nature of a custom load() method in that class, a lot of the "texture not found" error messages get dropped (and instead you get NPEs in later parts of the rendering code), so you'd be mostly on your own.
  6. Rather than randomly determine if a location gets an update, randomly determine a location to update.
  7. You may be interested in Looking Glass
  8. I think it's some kind of "game" that could be built out of even just command blocks. All this fellow is trying to do is render the chat-context information as a HUD element rather than as chat messages. That is: the game can be played without the mod he's writing and the "Checkpoint Reached!" is just a chat message sent by whatever operates the game to the player so that player has some sort of feedback. He's just trying to fancy it up some. Admittedly I would still rebuild the system from the bottom up and use packets, but whatever. Also, Ernio, that is a fantastic image.
  9. It shows once a day. http://www.minecraftforge.net/forum/index.php/topic,39689.msg209119.html
  10. Someone was asking just the other day how to disable the nag.
  11. The forum's new syntax highlighter is trying to syntax highlight your comments.
  12. sharedHexColor needs to be white, not black, by default for this to work. Right now if you don't pass a color the integer's default value of 0 is used. That's 0x000000 which is black.
  13. I'm D18, does that make me 11 revisions better?
  14. Sketchup is terrible at assigning UVs. Try http://www.geeks3d.com/20090303/lithunwrap-free-uv-mapper-for-windows/ (You will have to zoom out a lot in order to see the polys)
  15. You need to fix your obj's UVs
  16. Do you understand Java? At all? The block is passed a World object and a BlockPos object. Use them.
  17. registerItem is struck-out because it's deprecated. Use GameRegistry.register() Be sure to call setRegistryName
  18. Its funny how you don't override writeToNBT or readFromNBT and still expect your data to get saved.
  19. Your package name should include your mod name and your name. e.g. I use package com.draco18s.artifacts for one of my mods (modID is "artifacts"). Although I technically shouldn't use "com.draco18s" unless I actually own "draco18s.com"
  20. The last attack shouldn't reset the hurt time, just FYI
  21. And what code is calling this code?
  22. Technically speaking, you don't have to get that complex. Its only if you want to be able to have 3x3 crafting bench recipes. If your goal is to turn a "N-stack of Foo" into a "Y-stack of Bar" you can get away with a lot less. Container Slot GuiContainer IGuiHandler CraftingManager (this is just a class that stores the hashmap of ingredients -> results, allows you to add recipes and get recipe results).

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.