Jump to content

Aziz

Members
  • Posts

    3
  • Joined

  • Last visited

Aziz's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi could you help me please because When I did the thing that you do I got a error at the creatbuilder line and the error say "Create method 'createBuilder(String)' " here is my EntityInit file: package com.azizsmod.aziz.init; import com.azizsmod.aziz.entity.EntityCoyoteMob; import com.azizsmod.aziz.util.handlers.ConfigHandler; import net.minecraft.entity.Entity; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.registry.EntityEntry; public class EntityInit { /* public static void registerEntities() { registerEntity("Coyote", EntityCoyoteMob.class, ConfigHandler.ENTITY_COYOTE, 50, 16777215, 8519680); } */ @SubscribeEvent public static void registerEntities(final RegistryEvent.Register<EntityEntry> event) { final EntityEntry[] entries = { createBuilder("Coyote") //----------- error is here :( .entity(EntityCoyoteMob.class) .tracker(50, 3, true) .build() }; } /* private static void registerEntity(String name, Class<? extends Entity> entity, int id, int range, int color1, int color2) { EntityRegistry.registerModEntity(new ResourceLocation(Reference.MOD_ID + ":" + name), entity, name, id, azizsmod.instance, range, 1, true, color1, color2); } */ }
  2. Hi ! first things excuse me if my english is bad (because I'm french and turkish) second things excuse me if I do some error (it's my first topic) so , I made a mod that will include some entity I've started with a coyote.... so in the coyote's class I cannot see/found what did I need to add for my entity attack us when he hurt him because actually in game when I attack him it jump to me but do nothing and he won't move to me for trying to kill me .... please help ! ps: if you know how to make it just like a wolf that will be perfect because I try to do exactly the same thing but with a different texture . EntityCoyote: https://pastebin.com/ja9cwnHc
  3. HI ! so i don't know someone will come back but I haved the same problem as adrianrv1999 but now I can rotate my block but I still have a problem , my bounding box aren't get rotated. If you know a fix plz help... I telled nothing sorry
×
×
  • Create New...

Important Information

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