Everything posted by Hackbaellchen
-
[1.7.2]Rendering a projectile
I use EntityRegistry.findGlobalUniqueEntityId() at EntityRegistry.registerGlobalEntityID too. Is this wrong?
-
[1.7.2]Rendering a projectile
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));
-
[1.7.2]Rendering a projectile
Could you give me an example?
-
[1.7.2]Rendering a projectile
If I want to add one more projectile it is always rendered as the previously..
-
[1.7.2]Rendering a projectile
Good work there! Thank you! Another question: Do you know how to create the render without having an item (just the texture) ?
-
[1.7.2]Rendering a projectile
Hey, I want to render my projectile as a simple item icon. What's the best way to do this?
-
[1.7.2]Add items if config says true
But it just can be final
-
[1.7.2]Add items if config says true
Yes, but I can't access the item from other classes because it can't be public
-
[1.7.2]Add items if config says true
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!
-
[1.7.2]Rotate Block
Thank you guys!
-
[1.7.2]Rotate Block
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!
-
[1.7.2]Create Potion Effect
No.. I don't know other mods
-
[1.7.2]Create Potion Effect
Anyone else?
-
[1.7.2]java.lang.NoClassDefFoundError
I'll give you the link via pm. Please don't publish it
-
[1.7.2]java.lang.NoClassDefFoundError
Noo.. It's exactly the same like before.
-
[1.7.2]java.lang.NoClassDefFoundError
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'.
-
[1.7.2]java.lang.NoClassDefFoundError
- [1.7.2]java.lang.NoClassDefFoundError
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- [1.7.2]java.lang.NoClassDefFoundError
But when I give it some names like 'crap' they don't override the vanilla methods!- [1.7.2]java.lang.NoClassDefFoundError
With which names?!- [1.7.2]java.lang.NoClassDefFoundError
Ok! Now? It isn't overridden- [1.7.2]java.lang.NoClassDefFoundError
Sorry . But could you say to me which these 6 func_* methods do? Thanks.- [1.7.2]java.lang.NoClassDefFoundError
With which names? These in the "Side" class too?- [1.7.2]java.lang.NoClassDefFoundError
Oh! Yes.. And what should I do now?- [1.7.2]java.lang.NoClassDefFoundError
What? - [1.7.2]java.lang.NoClassDefFoundError
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.