Everything posted by MuffinMonster
-
[1.7.10] Custom bow animation and behaviour
Thanks, I already got the texture transformation now. The animation I was referring to is the one that makes the bow move towards the camera and start to shake a bit, that animation is not defined as far as I can see in the base item class for the bow.
-
Merging ItemStacks that are stored in an ArrayList
I'd say you could do a if(inventory != null) check before that get() call. I also see that you do not have brackets for the if-statements, which only works for one-line statements after the if()
-
[1.7.10] Custom bow animation and behaviour
I've been able to create a custom bow with different range and damage that the usual bow, now the bow doesn't animate as needed and after looking through the ItemBow class and referred classes inside I cannot make up where the actual animation length and "zooming-in" effect comes from. I have been able to find where the animation is decided which should be this: /** * returns the action that specifies what animation to play when the items is being used */ public EnumAction getItemUseAction(ItemStack p_77661_1_) { return EnumAction.bow; } But there is nothing in that EnumAction class that declares the parameters of the animation. As far as the "zooming-in" effect goes, I'm confused as to why it isn't already functioning since I'm just extending the base ItemBow class which should have that in it.
-
[1.7.10] Eclipse cannot find *some* deobfuscated source class files [SOLVED]
Ah, I didn't run that after I had ran the setupDecompWorkspace when I ran it the first time. Now it works, thank you!
-
[1.7.2][SOLVED]Assign a texture to a EntityThrowable?
But doesn't arrows have a separate non-item renderer? (Entity) Arrows aren't items afaik.
-
[1.7.10] Eclipse cannot find *some* deobfuscated source class files [SOLVED]
Run what eclipse task if I may ask?
-
[1.7.10] Eclipse cannot find *some* deobfuscated source class files [SOLVED]
Hmm, well, The problem is that I've ran that command before but still with source missing. May it require a fresh install to run the setupDecompWorkspace or can I run it on an existing project?
-
right Click sword error V.1.6.4
If you didn't already know that is the correct position of a sword when blocking(aka right clicking).
-
[1.7.10] Eclipse cannot find *some* deobfuscated source class files [SOLVED]
I've run into an issue where I cannot find some source class files for some classes in the forge modding environment. There are source files for some classes (for example Item class and ItemBow class to name a few) but not for EntityArrow or EnumAction classes to name a few. I cannot confirm which of all the classes who has their source files or not since there are too many and I don't know where to look that up. Is this a expected behaviour, something that is being worked on or something I have done wrong in the setup of my environment? The current source folder/location I'm using is located at "/Forge_Root_Folder/build/tmp/recompSrc". I'm running Forge 10.13.0.1180 and Java 1.7 with no compilation issues.