Jump to content

Hackbaellchen

Members
  • Posts

    111
  • Joined

  • Last visited

Everything posted by Hackbaellchen

  1. I use EntityRegistry.findGlobalUniqueEntityId() at EntityRegistry.registerGlobalEntityID too. Is this wrong?
  2. Yes, but the problem is that my next projectile is rendered as this one before.. EntityRegistry.registerModEntity(EntityMyItem.class, "MyItem", EntityRegistry.findGlobalUniqueEntityId(), this, 64, 10, true); EntityRegistry.registerModEntity(EntityMySecondItem.class, "MySecondItem", EntityRegistry.findGlobalUniqueEntityId(), this, 64, 10, true); RenderingRegistry.registerEntityRenderingHandler(EntityMyItem.class, new RenderSnowball(Items.egg)); RenderingRegistry.registerEntityRenderingHandler(EntityMySecondItem.class, new RenderSnowball(Items.fire_charge));
  3. Could you give me an example?
  4. If I want to add one more projectile it is always rendered as the previously..
  5. Good work there! Thank you! Another question: Do you know how to create the render without having an item (just the texture) ?
  6. Hey, I want to render my projectile as a simple item icon. What's the best way to do this?
  7. But it just can be final
  8. Yes, but I can't access the item from other classes because it can't be public
  9. Hey, I want to make a flag in the config like this: flag1 = configFile.get("Misc", "if false: deactivats the item", true).getBoolean(flag1); and then add the item like this: public void addItems() { if(flag1) { final Item MyItem = new MyItem().setUnlocalizedName("MyItem").setTextureName(""); GameRegistry.registerItem(MyItem, "MyItem"); } } But it can't be public and I can't reach it from other classes... Thanks for help!
  10. Thank you guys!
  11. Hey, I want to rotate my block, when I look into the direction like a furnace or a pumpkin. I had a look into it, but found out nothing. Thanks for help!
  12. No.. I don't know other mods
  13. Anyone else?
  14. I'll give you the link via pm. Please don't publish it
  15. Noo.. It's exactly the same like before.
  16. There's my Portal class. In there is another class called 'Size'. 1 func_* was in my Portal class and was in 1.6.4 named 'tryToCreatePortal' (It named it to this). In the Size class (in my Portal class) are 5 more func_* methods, which I renamed to 'something1,2,3,4 or 5'.
  17. I renamed all func_* methods to 'something<number>'. Doesn't work. Sorry for my madness but I think it has NOT to do with my methods
  18. But when I give it some names like 'crap' they don't override the vanilla methods!
  19. With which names?!
  20. Ok! Now? It isn't overridden
  21. Sorry . But could you say to me which these 6 func_* methods do? Thanks.
  22. With which names? These in the "Side" class too?
  23. Oh! Yes.. And what should I do now?
×
×
  • Create New...

Important Information

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