Jump to content

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.
    1 point
  2. You imported as a Gradle project, right? Not a regular Eclipse project?
    1 point
  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.
    1 point
  4. What that nstep is meant to do should already have been done when you imported the project I believe
    1 point
  5. If you're referring to step 5, that step shouldn't actually be necessary
    1 point
  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.
    1 point
  7. The thing about LightningBoltEntities is they have to be spawned with ServerWorld::addLightningBolt
    1 point
  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
    1 point
  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
    1 point
  10. You're not prefixing your item textures with your modid is a likely cause.
    1 point
  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.
    1 point
  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.
    1 point
  13. 1 point
  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.
    1 point
  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
    1 point
  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.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.