Jump to content

Linky132

Members
  • Posts

    33
  • Joined

  • Last visited

Converted

  • Gender
    Male

Recent Profile Visitors

1424 profile views

Linky132's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Alright, thanks for your help. I'm going to have a look at manually applying the knockback.
  2. I'm afraid I'd have no idea where to start with a PR. Are you sure there isn't some other way?
  3. Ah. So is there any alternative or will I have to create a mixin? Or could I apply knockback manually and cancel LivingAttackEvent?
  4. How/where would I set hurtTime?
  5. Hi, I was wondering if anyone could help me. When hit by a certain weapon, I want my custom mob to not flash red and to take less knockback than normal. I'm already cancelling LivingHurtEvent when the damage source is the weapon to make the mob not take damage, but I don't know how to do the other things. If I cancel LivingAttackEvent, it removes the damage, red flash, and knockback, which isn't what I want. Thanks!
  6. Hi, could anyone tell me how to set entity attributes for my custom mob, please? I copied the code that most of the vanilla mobs use, but judging from the log, it doesn't seem to be working. I found this post, but it appears to be out of date. Thanks.
  7. I figured it out. I had the render type set to translucent, when what it should have been on was cutout. Thanks for the help.
  8. I could be wrong, but I think you might need to add this code in the constructor: FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); And you may need to change the setup method to non-static.
  9. Also, the texture doesn't glitch when the dust is in a straight line, or when it's in its dot form (not the '+' shape).
  10. Unfortunately, that didn't work, it still glitches. Any other ideas?
  11. Hi, I'm trying to make a dust-like block for my mod, so I copied the redstone dust class and assets (don't attack me, I'll change them) to a new class. However, when I place my block in the world, the texture glitches, as if the block is clipping. It's not z fighting, because I raised the model way off the ground and it still glitched. The vanilla redstone dust isn't glitched either. This is what the block looks like: Thanks.
  12. I actually figured it out just before you posted this, but thanks anyway!
  13. Thanks, that actually really helped. I think I've got it now!
  14. I managed to sort it out with some help, but thanks anyway!
  15. Sorry I didn't reply sooner, I was busy. I'm glad you got the problem sorted out. I had a look at the code, but I can't find the new problem, sorry. Oh, and I didn't steal your code, don't worry. Although, I couldn't have used it, since like ChampionAsh said, your code is All Rights Reserved by default.
×
×
  • Create New...

Important Information

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