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

DeValdi

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by DeValdi

  1. https://github.com/DeValdi/TutorialMod I hope it works for you, I'm new to GitHub. ๐Ÿ˜…
  2. First of all, thank you very much for the quick response and your help! I've played around a bit more and tried setting a random particle color each tick on the server side and then rendering that particle client-side by overriding the Projectile's tick method and differentiating via the isClientSide method. As expected, it works flawlessly and my bullet now has a nice rainbow trail ๐Ÿ˜…. @Override public void tick() { super.tick(); if (this.level.isClientSide) { this.level.addParticle(this.entityData.get(PARTICLE), this.getX(), this.getY(), this.getZ(), 0.0D, 0.0D, 0.0D); } e
  3. Hi there! I am currently developing my first mod and I've run into a bit of a problem regarding an item that I am trying to implement. The item is a flintlock pistol and it shoots out a projectile which inherits from ProjectileItemEntity, the same class that SnowballEntity inherits from. I was able to overwrite several things like the damage, default item, etc. on that projectile, however, I am a little bit stuck when it comes to the particle effect that should be played whenever the projectile hits something. As far as I know, each entity exists both on the client and the ser
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.