Jump to content

deathbyaeth3r

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

2043 profile views

deathbyaeth3r's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I know... ty for the help tho! I'll find a way to figure it out.
  2. Honestly, I don't know what else would work. This is my first time creating a new particle. Everything works fine except trying to spawn it in.
  3. Well, yeah. I've tried changing RegistryObject<BasicParticleType> to IParticleData but It just crashes with the error "Caused by: java.io.FileNotFoundException: minecraft:particles/dragonfire_particle.json" which makes no sense.
  4. The method addParticle(IParticleData, double, double, double, double, double, double) in the type World is not applicable for the arguments (RegistryObject<BasicParticleType>, double, double, double, double, double, double) The error is showing up at this line of code this.world.addParticle(ParticleList.DRAGONFIRE_PARTICLE, this.getPosX() - vec3d1.x, this.getPosY() - vec3d1.y + 0.15D, this.getPosZ() - vec3d1.z, 0.0D, 0.0D, 0.0D);
  5. Hi! I already fixed the problem. It was because I didn’t set the velocity of the projectile when it gets spawned in. However, I’ll look into this tho. Tysm!
  6. I have a projectile that when it is spawned in, it just stays stationary mid-air. I have no idea why it does this. Can anyone help? Here are github links to entity code and the item shooting the entity code: Entity: https://github.com/deathbyaeth3r/Custom-Mob-Swords/blob/master/src/main/java/com/deathbyaether/custommobswords/objects/entities/DragonForceEntity.java Item: https://github.com/deathbyaeth3r/Custom-Mob-Swords/blob/master/src/main/java/com/deathbyaether/custommobswords/objects/items/EnderdragonSwordItem.java
  7. Have you tried running it without OptiFine?
  8. Heyy! All you gotta do is create a new folder called mods.
  9. Sure! https://github.com/deathbyaeth3r/Custom-Mob-Swords
  10. Hi! I need some help with something. I have an item that shoots an existing Minecraft projectile at the direction of where the player is facing. However, when the x-rot value of the player’s facing direction is positive, the fireball shoots at under the player. How do I even fix this 😂. If needed I can link my GitHub or type the code out for reference.
  11. I’ve created two swords that shoot WitherSkullEntity and FireBallEntity. I’m able to get them to shoot well as long as vec3d.y is negative. When it is positive, the projectile shoots under the player. Is there any way to fix this?
×
×
  • Create New...

Important Information

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