-
[1.6.2] [Solved] Texture isn't loading...
That doesn't work when you are testing, and I am unsure on how it is when you package your mod. You need to put the textures in the /minecraft/mod/[yourmod]/.... folder. (I have found that this works for me) Please if I am wrong and there is a better way I would love to be corrected.
-
multi-textured block help
Your request lacks detail. I have no idea what your problem is.
-
Monitor All Items Placed In Chests?
Don't do that. Just do it when it is accessed by a player or a block next to it updates (to catch items piping or whatnot).
-
[1.5.1]Dimension Problems
Well, we don't seem to have any information to help you at all. At best, we can provide you a "feels bad man". We do not have access to your code nor know what your playing environment looks like. So, what do you need from us?
-
Mod keeps crashing! [1.5.1]
I believe only Item numbers can only go that high.
-
Beginner noob help.
Well, what are you doing right now? Creating a block or an item? This tutorial may be of interest: http://www.minecraftforge.net/wiki/Icons_and_Textures From what I can tell, the tutorial you listed is a little out of date for 1.5.1 but is mostly applicable.
-
[SOLVED] Explosive Sword not working
I believe onBlockActivated only triggers when you right click it. But you never specified what button you are clicking with. Also, I advise using a switch system instead of your bunch of if(...) code. Not that efficiency here would matter too much, but any little bit always helps. edit: Or at least use an if else system.
-
[Unsolved]Changing player arms position
I was wondering the same about the player model in general.
-
Change vanilla block drop using special item (pickaxe)
I think your best bet would be to look into Java reflection and change how the block is dropped when beaten to oblivion by your new pick.
-
How would I set my blocks metadata depending on the players direction?
You should always strive to use the least space possible when it comes to saves/ram usage and minimize the footprint of these blocks as much as possible. To me, that is just good practice. And seeing that these blocks are strictly cosmetic, I highly suggest looking into the log code more, as it seems that the log code is closes to what you are trying to achieve (save leaf support and vertical axis alignment). I will try to look into icon rotation later to see if it is easy to rotate the texture face on a block (just don't hold me to this please).
-
How would I set my blocks metadata depending on the players direction?
Please do not do this, it isn't worth the extra save file size cost. I would rather see you make a texture for the two separate possible directions and use the metadata to store the direction. Here is how I would do it: when deciding the icon for the face: if nbt (metadata) = 0 > choose north/south icon if nbt = 1 > choose east/west icon when placing the block: use the code above to tell if the player is facing north or south, if they are set the metadata to 0, otherwise set it to 1. From what you have said so far, I would assume this block is strictly visual and has no intended functionality other than being a block. There appears to be some code in the Minecraft source that handles icon face rotation, but I haven't played with that yet. maybe later, as I do see myself hitting a similar problem in the future.
-
How would I set my blocks metadata depending on the players direction?
Please do not do this, it isn't worth the extra save file size cost. I would rather see you make a texture for the two separate possible directions and use the metadata to store the direction. Here is how I would do it: when deciding the icon for the face: if nbt (metadata) = 0 > choose north/south icon if nbt = 1 > choose east/west icon when placing the block: use the code above to tell if the player is facing north or south, if they are set the metadata to 0, otherwise set it to 1. From what you have said so far, I would assume this block is strictly visual and has no intended functionality other than being a block. There appears to be some code in the Minecraft source that handles icon face rotation, but I haven't played with that yet. maybe later, as I do see myself hitting a similar problem in the future.
-
How would I set my blocks metadata depending on the players direction?
How are you storing the data that controls the orientation of your block then? Do you have the texture rendering code handling each possible wanted orientation of the block? If not, then this would be a good first step. If you do not mind sharing it, I would like to see how you are handling block orientation.
-
How would I set my blocks metadata depending on the players direction?
How are you storing the data that controls the orientation of your block then? Do you have the texture rendering code handling each possible wanted orientation of the block? If not, then this would be a good first step. If you do not mind sharing it, I would like to see how you are handling block orientation.
-
Best approach to connected textures?
Hi All, I am working on a mod that I hope to use connected textures with. Now, my question before starting my research in implementing this, is there a 'best' (or easy) method in handling this, or will i need to evaluate each face and check all of the nearby blocks for computing the connected texture? Thanks in advance!
IPS spam blocked by CleanTalk.