Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Linky132

Members
  • Content Count

    33
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Linky132

  • Rank
    Tree Puncher

Converted

  • Gender
    Male

Recent Profile Visitors

273 profile views
  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. 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!
  5. 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.
  6. 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.
  7. 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.
  8. 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).
  9. Unfortunately, that didn't work, it still glitches. Any other ideas?
  10. 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.
  11. I actually figured it out just before you posted this, but thanks anyway!
  12. Thanks, that actually really helped. I think I've got it now!
  13. I managed to sort it out with some help, but thanks anyway!
  14. 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 Privacy Policy.