Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. @Insane96MCP You could also just reload your config on disconnect or when the client opens another server or a singleplayer world.
  2. Write a file parser that will do it for you.
  3. Multiple people could try to use that modid leading to mod ID conflictions. You have 64 characters use them.
  4. No one said to do that, so why are you doing that
  5. Please, just go learn Java first. You have absolutely no idea what you are doing. That code won't even compile your IDE should be yelling its head off at you.
  6. @Kinniken What you should probably do in this case is have a built in creator of the Jsons. That will create them at runtime if they do not exist. Then prompt the user to restart the game in order to load the newly generated Advancements if there are any new ones and they haven't been loaded. It should all be done through Json, unless you are going to add the ability to change things in your way of loading custom cultures, etc.
  7. Describe what you would want to do from an end user perspective and we might be able to help more.
  8. Yes, create a world capability(global object). And subscribe to the WorldTickEvent.
  9. It should still be done in JSON. Take a look at the format here.
  10. This should be this.prevPosY, the.prevPosY+vy And the same for the 'x's
  11. You shouldn't be doing this at all.
  12. Use the HarvestDropsEvent provided by forge.
  13. As long as it is also stored in the BlockState.
  14. Get rid of optifine. Give Minecraft more RAM.
  15. Animefan8888

    .

    Count ticks in a tick event, ie ClientTickEvent
  16. This is arguable, since the Recipes registry is modifiable(at least the last time I checked).
  17. This is true, it's even in my signature. ? It will obviously go over the basics first, but eventually I will get to TE's. And I would love criticism from the various modders on here for when it is made to make it better than I can by myself.
  18. The thing is that it extends from the basic EntityEvent so it must have those methods, but since it only fires when a Living entity dies it also provides an EntityLiving(Base) this also makes it so you do not have to cast it yourself.
  19. He didnt specify what he was trying to accomplish. So I gave him a vague answer. I should've said "Use Json and make custom IIngredientFactory or an IRecipeFactory if you need to."
  20. Seriously you should change them to something that has meaning, what you are doing just makes me think your dealing with magic numbers.
×
×
  • Create New...

Important Information

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