Jump to content

DemRat

Forge Modder
  • Posts

    7
  • Joined

  • Last visited

Everything posted by DemRat

  1. Hello there Forge forums. I'm currently trying to add a "item" (Don't ask, it's complicated) which increases jump height and reduces fall damage so that you dont take damage when landing at the same height. The code for the change itself is in place and works, but I ran into this problem: If I have the additional jumped blocks as variable, I do know how to reduce fall damage, but do not know how to increase the velocity appropriately. If I have the percentual increase in velocity as variable, I do not know how to reduce fall damage, but do know how to increase the velocity appropriately. Can anyone help me with that?
  2. It works now, thanks! There was one problem with the texture being cropped, but with a little google-fu I was able to find a solution for that: GL11.glScaled(scale, scale/2, scale);
  3. I tried to avoid that because I don't udnerstand what exactly is happening and therefore can only modify it with trial and error. I'm now using the version of that code used in the inventory until something other comes up, but the arms move and the Item the Player is holding is drawn too. Any Idea how I can prevent that?
  4. First, thank you for that, you at least gave me a starting point to begin with. But I'm still struggling with this. This Code: Results in:
  5. Hello Forums, As you already know if you read the title, I'm trying to draw the Player in a Front view onto a GUI. I don't want/need it to be 3D and therefore dont really want to use the code from the Player Inventory. Can anyone explain to me or post a link to a tutorial how i could do that? Thanks in advance.
×
×
  • Create New...

Important Information

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