Jump to content

Quack Man

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am quacking from here to Ceres!

Quack Man's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks a lot for the info. I will see those 2 events you mentioned. I saw that post earlier. I will have to read it in more detail. It was awfully similar to what I want to accomplish. Not all that true, really. You can do pretty space-efficient things using a ChunkDataEvent. So, saving extra data in blocks can be done with that event? I will have to check that one as well. Thanks for the info. Half true. The extra variable I want to add is to actually avoid keeping track of the supports.
  2. I am trying to accomplish something similar. I think I can see what you mean. What kind of performance impact would this have? Would this be viable to replace every block on the game with custom ones?
  3. Greetings people from... somewhere. I am currently facing an issue that I have given up on how to address it and I am unable to find the information I really want, so I ended up here. For simplicity and to better allow understanding on the issue, I will break it up on parts; however, it is all regarding the edition of blocks that are already on the game, like dirt. 1. Make blocks fall I remember trying this long ago. Back then I could simply change the line for the block and make it say extend BlockFalling instead of Block. However, in this new version I am not allowed to touch the vanilla code. The question would be, how can I do such thing? I could create a custom event to make them fall on update I suppose, but for something of this scale (every measly block) I don't think this would be the best approach, so I haven't really tried this approach. If it is, then I guess this is problem solved... 2. Changing the drops I have added custom blocks and I am able to make them drop what I want, yet again, I can't figure out how to edit those that are already on the game. I have yet to exhaust all my options here yet, but I am asking in case none of them works. Also because a different approach could help me see things in a different way. 3. Adding a custom function and extra variable This one is a bit unusual, yes. It is tied with the first point in regards that I want to use a function to make the block fall under certain circumstances using a new variable. Here is the big issue. Using metadata would not work apparently. I have been looking around and it seems this only have 16 bits of information, making it only able to store an integer of up to 16. I want to store an integer that could go to up 30, not to mention that existing block are probably making use of some of this already very limited space. Also, I have read somewhere (can't remember where) that using an NBT tag is not recommendable at all for common blocks since it could make a world's save file to just shoot to astronomical sizes. Request Although information directly about any of the three point above would be appreciated and very helpful, general information on how to edit, twinkle, mess with, touch, , or modify with existing blocks would work as well. I think I could work my way around with it. In case it is of any help on how to help me or point me in a direction, I do have some programming experience; although not much in Java, I can hold my own. However, dealing with code that not only I have not written, but I can't edit is giving me problems. I learn a lot more by trial and error, so breaking things up is my way to go... my specialty? ... my dream?... I really would need to think in a way to properly put that. HAIL ENGLISH! I have also done this on an earlier version (1.6) and it did work, all of these issues were not issues (I had to deal with storing the extra info though), but since I can't touch the vanilla code anymore, I am at a loss and I can't find a good source of information, tutorial or guide for this.
×
×
  • Create New...

Important Information

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