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. Well yes. But I left that as an exercise to the reader.
  2. Also stop using the language registry. http://www.minecraftforge.net/forum/index.php/topic,16331.msg82795.html#msg82795
  3. Well if your Item extends Item (anywhere in its hierarchy), then in the Item class there's getStrVsBlock Use that
  4. Draco18s replied to Wuble's topic in Modder Support
    You need to start somewhere else. All of those things are fairly advanced operations.
  5. The reason I figure that you didn't call setTextureName as you said that the log indicates that it's trying to load textures from "minecraft:"
  6. And what does Reference.MOD_ID equal?
  7. ChestGenHooks.getInfo("A_WIZARD_DID_IT").addItem(new WeightedRandomChestContent(Item.expBottle.itemID, 0, 1, 1, 2));
  8. Did you use setTextureName and give it your modID?
  9. That's what I meant. There are a handful of leftover values/functions that seem related to chests left in DungeonHooks and back when I was messing with it, the tutorial I was looking at was using DungeonHooks and there was juuuust enough leftover scrap to make it confusing.
  10. ChestGenHooks or DungeonHooks. One is depricated the other is useful, don't recall offhand which is which.
  11. more like if(this.worldObj.getBlockTileEntity(this.xCoord+1, this.yCoord, this.zCoord) != null) { if(this.worldObj.getBlockTileEntity(this.xCoord+1, this.yCoord, this.zCoord) instanceof TileEntityWire) { //can send data } }
  12. Those will tell you that yes there is a tile entity there, but won't tell you what kind. You need to use worldObj.getBlockTileEntityAt(...) and then check for kind (instanceof) and typecast it.
  13. If you're not using Forge then you're in the wrong place.
  14. onBlockDestroyed probably.
  15. Yes. If you know how to detect that an apple is in the furnace, then everything you need is already available.
  16. public class MyClass extends VanillaClass implements IOtherModInterface, IMyInterfaces And what did you expect it to do if you didn't include IOtherModInterface in your zip?
  17. Without code we can't help you. All I can tell is that it can't find your client proxy.
  18. For multiple textures you kind of have to. For one you don't.
  19. Depends on what you're trying to do. God --ing damn it. An apostrophe is for showing possessiveness and a GUI here is not in possession of that question mark. English mo****er do you write it?
  20. ... I think the more important class to share with us would be ModItems
  21. What are you trying to do? ...!? The hell? What are you trying to do?
  22. ItemStack.getItem() perhaps? Use your god damn IDE for what it was built for.
  23. Yes, it got turned into an event, like every other event.

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.