Jump to content

BlueSpud

Members
  • Posts

    60
  • Joined

  • Last visited

Everything posted by BlueSpud

  1. I was wondering if there was any Easy way to make a HUD element with a rect. I know it needs to be on the end of a render tick of a tick handler. I wanted to make a meter, similar to that of Thaumcraft's Goggles of Revealing, however for a different purpose. Thanks.
  2. I would think so too.. but I need to make a new damage source and I have no idea how to change the damage amount. Did you even look at that method? It has the DamageSource and the damage value as parameters... I figured it out, wasn't sure what the second parameter was so I made it zero, but I know what it is now, all good
  3. If you use the AttackEntityEvent from forge, you can use: event.target.attackEntityFrom(DamageSource.wither, 1000); This is much better than setDead() because this will a). drop the mob's items b). preform the death animation Otherwise, the entity will just disappear to another dimension.
  4. I would think so too.. but I need to make a new damage source and I have no idea how to change the damage amount.
  5. I know that event.target is what I need to do damage to, I just can't find the function to do it. Do you know what it is?
  6. I'm trying to make a mod and I was wondering if there is a hook or something along those lines to change the player's fist damage or where it is in the Vanilla code. Thanks.
  7. That helped alot, thanks. I instantly realized how scattered Minecrat's code is. One last thing. Do you know where the client side breaking begins? I want to stop the player from breaking blocks like adventure mode if they don't have a tool.
  8. I do know that the HUD is rendered last, but I don't really know where all the renders and everything are for the hud, minecraft's class structure is fairly new to me. What I meant is the arm rotation to the first person fist when one punches.
  9. Hello, I am recently new to modding mine craft, but I am a fairly experienced coder. I would like to make a mod that modifies some of the hand code, specifically where the hand punches. After searching around for a long while, I have not found where the code for the transformations of the hand punching are. Any help would be appreciated. Thanks.
×
×
  • Create New...

Important Information

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