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.

Leaderboard

Popular Content

Showing content with the highest reputation on 04/09/20 in all areas

  1. Thank you that seems to have worked. I appreciate your time.
  2. You imported as a Gradle project, right? Not a regular Eclipse project?
  3. Not 100% sure if it matters (I'm not a json guy really), but I thought for sure it was \n not /n for a newline.
  4. What that nstep is meant to do should already have been done when you imported the project I believe
  5. If you're referring to step 5, that step shouldn't actually be necessary
  6. To be honest, those two YouTubers are notorious for creating low quality tutorials with bad coding practices. I would suggest ditching those tutorials to avoid writing problematic code. Some good quality tutorials are https://github.com/TheGreyGhost/MinecraftByExample and https://github.com/Cadiboo/Example-Mod.
  7. The thing about LightningBoltEntities is they have to be spawned with ServerWorld::addLightningBolt
  8. No problem, and don't think if you get stuck you can't come ask for help, because of course you can! But dig through some vanilla code first, see if you can find examples, also searching the forums often yields great results. I was messing with custom shields for fun, and couldn't figure out why the texture wasn't working, and searching on here led me to the answer without having to make my own topic and ask
  9. Hi You might find these links useful https://github.com/TheGreyGhost/MinecraftByExample (see mbe20) - working example of tile entity synchronisation and http://greyminecraftcoder.blogspot.com/2015/01/tileentity.html (a bit outdated but still current I think) -TGG
  10. You're not prefixing your item textures with your modid is a likely cause.
  11. Scan vanilla code for something to drops an item. You should try looking a little more in the vanilla code, it's really useful and has lots of stuff to learn from/give ideas, I notice that you ask a lot of things without trying/looking first. You'd be surprised what you can accomplish if you check out existing code that does things similar to what you want I did a quick search in my IDE for something that calls ItemEntity and the LecternBlock popped up.
  12. If you look at the LightningBoltEntity code, there's a lot of stuff that doesn't happen if effectOnly is true. I've never tried doing this myself, or messed with lightning, but that's the first thing I noticed when I looked at the vanilla code.
  13. Do not use Mineshafter. Buy the game.
  14. Create a Model (and texture for it) that extends BipedModel<T extends LivingEntity> for your armor piece. Override getArmorModel and getArmorTexture in your armor item class. Once you've started, if you have issues, come back here and make sure you post code, logs, what you are trying to achieve (looks/effect/etc), and what is actually happening.
  15. Tutorials are telling you to set the missing "eclipse" folder as your workspace right? Disregard that and just put it somewhere (I would recommend somewhere in your user folder), then click File -> Import -> Gradle -> Existing Gradle Project and select the folder with your build.gradle in it
  16. That exception is unrelated, it just tells you you couldn't log in, since you normally don't use an account inside your development setup. I think there is a way to use your mojang account, but it's not really needed. If you have code depending on names you can just add -username NICK to your run configuration to test that stuff. Your crash should have another reason.

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.