Jump to content

Darknesschaos

Members
  • Posts

    26
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Darknesschaos's Achievements

Tree Puncher

Tree Puncher (2/8)

3

Reputation

  1. 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.
  2. Your request lacks detail. I have no idea what your problem is.
  3. 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).
  4. 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?
  5. I believe only Item numbers can only go that high.
  6. 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.
  7. 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.
  8. I was wondering the same about the player model in general.
  9. 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.
  10. 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).
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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!
×
×
  • Create New...

Important Information

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