Jump to content

Gamesterido

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Gamesterido

  1. ok done that. Now i've heard of the Entityrenderer class but I never understood on how to register/add that. I've created the class but I need explanation on how to link it. And that is the part that I haven't found any tutorial on (that is in 1.19).
  2. Hi, I've created a new projectile that is basically a retextured fire ball that I want it to be shot whenever I use an item that I created. I've already registered the entity but I do not know it what folder do I add the textures of it or how to render it. I would really like some guidance on that because I haven't found any tutorials for that anywhere for 1.19.
  3. yeah, that's what I thought after some time. ok, Imma do that. Thanks for the help!
  4. firstly, it won't let me run it because of the error. second, so how do I specify that it's my entity type in the second constructor?
  5. public class MyProjEntity extends LargeFireball { public MyProjEntity(EntityType<? extends MyProjEntity> pEntityType, Level pLevel) { super(pEntityType, pLevel); } public MyProjEntity(Level pLevel, LivingEntity pShooter, double pOffsetX, double pOffsetY, double pOffsetZ, int pExplosionPower) { super(pLevel, pShooter, pOffsetX, pOffsetY, pOffsetZ, pExplosionPower); } } above is my custom entity class public static final RegistryObject<EntityType<MyProjEntity>> myProjectileEntity = entityTypes.register("my_projectile_entity", () -> EntityType.Builder.of(MyProjEntity::new); and this is how I registered it (haven't finished because of the error below) it confuses between the two constructors I have in the class and idk how to fix it
×
×
  • Create New...

Important Information

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