Jump to content

starwarsmace

Members
  • Posts

    333
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Personal Text
    I was new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

starwarsmace's Achievements

Diamond Finder

Diamond Finder (5/8)

18

Reputation

  1. public void subtractEnergy(int energy){ this.energyContained = this.energyContained + energy; } Its never helpful to add energy when you want to be removing it.
  2. To really understand what your code is doing, you should look at all the functions called. Then look at the source code for those functions, go back till you understand what all the functions that are called inside that function. Then do the same for all the other ones.
  3. I tried doing that, the problem is getting it perfectly aligned with the player. I have some really bad memories associated with aligning models with players... I was rendering a .obj model as a sword and it was hard. I had to change a number than restart minecraft. Till I found the perfect match. It was a painstaking process that took a long time. Then after I finished spending hours on trying to align it, I found out that in debugging mode, it will change it without you having to restart minecraft. So, just run it in debug mode and try looking for the perfect numbers.
  4. To be honest, I really dont see why you would store something in a scythe and what a pouch would have anything to do with it.
  5. I think what he means is that the scythe inventory is completely unrelated from the pouch inventory. But, when you press a certain key it switches the item that's stored in the scythe, and moves it over the to the end of the pouch. But that first item in the pouch is moved over to the scythe inventory. It then moves over all the original pouch items one slot, so the scythe item is at the end.
  6. Woah. Thats a whole lot of switching and moving... I think this is how I would do it: 1. Set the scythe to pouch and the pouch to the scythe. 2. Loop through the entire inventory of the pouch, and set the item to the slot before it by subtracting one from the slot number.
  7. Firstly, works wonders. Secondly, none of the sword crafting recipes work?
  8. Wow, I have to say you've got some of the best explanations. Very thorough, tells you where to look, and at the same time isn't spoonfeeding. Not sure you can get any better than that.
  9. okayyyy...But what excactly am i sending in that packet then? Do i send the whole tileentity? If yes, how? This will probably help. Also, as diesieben said, you can send whatever you need to know on the client side. So if you want the amount of energy in the gui(I think that's what you want) you send the amount in the packet to the client.
  10. Said webmaster(s) shouldn't. They are illegally redistributing other's work, and sometimes claiming credit for it. If one or more of your mods ends up on one of these sites, you should immediately have them take it down. And how? Websites like 9minecraft.com don't give a **** about you and definitely are not going to take down the mod. I mean you can try and file a complaint to google to take it down but...
  11. Hmmmm.... I just realized something that I should have realized a long time ago... I could just flip the block render wise on a 180 degree angle if its upside down. Isn't it something like... GL11.glPushMatrix(); GL11.glRotatef(0, 180, 0, 0); GL11.glPopMatrix();
  12. Ok... im stumped... I really don't know what the heck the code for rendering the lever in RenderBlocks means... I think I should start from scratch... How exactly do I make the renderer...?
×
×
  • Create New...

Important Information

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