Everything posted by HappyKiller1O1
-
[1.7.10] How to write and read a String Array to ByteBuf?
Hey! So, I need to basically write a given string array (just the player list) to ByteBuf while sending a packet. But honestly, I have no clue how to. Any suggestions?
-
Buttons on GUI
So, you want to click a button that displays another gui over the current open one with more buttons? I do this on my shop by setting a certain boolean to true when clicking the button and, if it's true: drawing another texture over the gui and enabling the buttons. Not sure if this is what you want to do but, I thought I might mention it.
-
Remove Anvil cost for Item
I think this would require editing the base class of the anvil (NOT SUGGESTED) considering there is no event for it. You could look about how the anvil actually renames an Item and create your own anvil and make the crafting recipe output yours?
-
[1.7.10] Picture not showing
I don't think he understands.
-
[1.7.10] Picture not showing
Are you sure your assets compile into the .jar for your mod?
-
Adding more damage to a sword if a player is sprinting
I seemed to of missed the bottom line of his post. Are you sure the entity you are using is the attacker? First, try switching them by using if(target.isSpriniting()) just to see if the target is actually the attacker. After that make sure you are sprinting when you try to attack something. I know that may sound a bit silly but, the game could be stopping your sprinting as you hit.
-
[1.7.10] Picture not showing
Does the case of the extension matter? Huh, never knew that.
-
[1.7.10] Picture not showing
When you say picture you mean texture right? And do you mean all the textures can not be found or just a few?
-
Adding more damage to a sword if a player is sprinting
Does it not detect the player is sprinting or, not add the damage? You need to be more specific instead of just saying. "Nope none of that worked".
-
[1.7.10]Brewing recipes and anvil recipes
Check out the GUI's of the Breawing Stand/Anvil and their containers to find where recipes are defined. I do believe Forge added some simple ways to add recipes like that but I'm not sure. The anvil, if you just want to repair an item - should do it automatically if you didn't set the item for noRepair.
-
[1.7.10] Picture not showing
My exact point. ^ I had this problem before and, it was because the case of the texture I set DID NOT match the case of the texture. It's a small thing that makes a huge difference and, is quite annoying. Just make sure they both match.
-
[1.7.10] Picture not showing
Mod folder name must be lowercase (as stated above) and, the texture name MUST match the actually texture name with the correct case. Probably already does but, I feel like you might of changed your texture names to lowercase in the code instead of just the mod folder.
-
[1.7.10] Picture not showing
Are your textures formatted to .png?
-
[RESOLVED][1.7.10] Force the unloading of a dimension
Considering you want to delete and regenerate the dimension. I believe the actually world data would have to be deleted and re-created. Unloading a dimension saves it to it's current state I believe.
-
[1.7.10] Custom 3d armor not positioned properly
Also, is your custom armors rotation points PERFECTLY matched to the ModelBiped ones? EDIT: It seems that in the tutorial listed above, he got the EXACT same issue you have and, shows how to fix it. Seems you need to add a few more methods to your model class. Just look through the tutorial till you reach the point where he fixes it.
-
[1.7.10] Custom 3d armor not positioned properly
Honestly no. I do remember hexxit cloud boots had a custom armor model but, I'm not sure what mod implemented it. Have you tried this tutorial? http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571595-1-7-2-how-to-code-custom-3d-armor-models-3d Any methods that may be obfuscated, you can reference to the forge github change log here: https://github.com/MinecraftForge/FML/tree/1.7.10/conf The files extended with ".csv" are the ones containing the conversions from obfuscated to de-obfuscated. Hope this kinda helps.
-
[1.8] Custom Potion Effects
Seems like your super that you called (the constructor of the class you're extended if you didn't know ) is not be called correctly perhaps? That's the only time I get an error such as the one you got.
-
[1.7.10] Custom 3d armor not positioned properly
Have you thought about finding a mod that implements custom armor models and comparing it via their github? Whenever I encounter a problem, I normally think of a mod doing what I want to do and seeing if they have a github.
-
[1.8][SOLVED]"Silently" catching entity tracking error when creating my entity
Aren't you the rude one. I made a mistake when looking at it just like everyone does. I do not appreciate being called "stupid" based upon one post.
-
[1.7.10] Custom 3d armor not positioned properly
Hm, see - I have not worked with custom armor models yet but I'm sure this must be a common problem. Have you tried googling your error?
-
Question about server ticks and threads
You said it reads a text file to place the blocks, maybe the way you read the file is slower thus causing it to take longer to generate?
-
[1.7.10] Custom 3d armor not positioned properly
I have not fully worked on this before but, I believe each piece of armor may need it's own model class. Again, NOT SURE just a guess.
-
Adding more damage to a sword if a player is sprinting
You would most likely use the hitEntity method in Item.java and then tell the game: if(player.isSpriniting) { //do your stuff } Alternatively, you could use the LivingAttackEvent but, not really useful considering you have a sword class.
-
[1.8][SOLVED]"Silently" catching entity tracking error when creating my entity
Oh dear God! I did screw up my last response quite a lot. I didn't realize it was the block class. coolAlias is right though, I render 3D models to my items just fine so that is a very good question.
-
[1.8][SOLVED]"Silently" catching entity tracking error when creating my entity
Thank you for that quite insulting way of putting it. No matter that, the error is line 29 of ItemBlockCoalGun which is the closing bracket of hitEntity. With that in mind, it seems that you're spawning your entity wrong or. perhaps, you registering it as a block is affecting it? I don't want you to take what I am saying as a cold cut way of immediatly fixing your problem. I am just throwing suggesting on what may be CAUSING the error.
IPS spam blocked by CleanTalk.