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. Packets. ((EntityPlayerSP)p) You can't just do this. This code will crash a dedicated server and even in single player it's reaching across logical sides. You must have the client tell the server "my user pressed this key" and the server needs to be the one to figure out what happens.
  2. Then there's still a problem and you still need to debug it. "Not working" tells us nothing.
  3. You haven't done this yet. I'll keep quoting this until you do it.
  4. You haven't done this yet.
  5. Ok, what about that line?
  6. Edits to posts are almost completely unnoticed. They don't bump the thread, they don't mark the post as unread, and when someone sees a post with an error taking up 90% of it, they're likely to miss the "oh, nevermind" at the bottom. It also didn't help that I offered a suggestion, you said "yeah, I thought so too" and made no comment about it being solved then.
  7. Oh. Try this: Replace "item": "minecraft:stone" with "item": "minecraft:stone","data":0 Stone is a metadata item and so just the item name isn't sufficient enough to fully specify the recipe.
  8. Because I totally would have noticed that after there were new replies...
  9. The only thing that can be null at that line is PacketHandler.INSTANCE, meaning your network stuff hasn't been set up properly.
  10. You can't register items to the OreDictionary if those items aren't registered with the game. You have to wait until after the RegistryEvent<Item> event (or do it inside that event when you register your item).
  11. By "doesn't work" do you mean you can't craft it, or that it doesn't show up in the recipe book?
  12. That means you have an infinite loop somewhere. Start using breakpoints.
  13. Common OreDictionary Names All OreDictionary names for Minecraft items and blocks can be found in net.minecraftforge.oredict.OreDictionary. A full list will not be included here. Common prefixes already used in the OreDictionary include ore, ingot, nugget, dust, gem, dye, block, stone, crop, slab, stair, and pane. Common prefixes for modded items include gear, rod, stick, plate, dustTiny, and cover. Common suffixes in the OreDictionary include Wood, Glass, Iron, Gold, Leaves, and Brick. Common suffixes for modded items include the names of metals (Copper, Aluminum, Lead, Steel, etc.) and other modded materials. http://mcforge.readthedocs.io/en/latest/utilities/oredictionary/
  14. 1.7.10 is no longer supported here. Update.
  15. Usually every Minecraft update.
  16. Yes, just register the items with the ore dictionary.
  17. Yeah. Exactly. That's what we keep telling you: the server tracks everything and you have to synchronize what you do with the client. You can't just cancel the event on one side. If it only happens on one side you need to synchronize the effects.
  18. No, that's the beginning of cargo cult programming. True understanding comes from looking at what is already available. You say you want to look at what we did, but how about you look at what Mojang did first?
  19. https://en.wikipedia.org/w/index.php?title=Fallow
  20. Notice that ITileEntityProivder methods use metadata while the methods in the Block class (added by Forge) use IBlockState
  21. Make the non-moving part a standard block model. Make the moving part (and only the moving part) a TESR. I believe that FastTESR is sufficient, I am not current on that knowledge on account of having not needed a TESR at all in some time.

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.