Everything posted by Mew
-
missing class when loading coremod :\ wtfbbq
Not really Well, not quite the methods that affected the transformer classes, but still. Good call Gotolink
-
[Solved] Getting the X,Y,Z Spawn Location
Well, with what you told me I went and found this: int x = Minecraft.getMinecraft().theWorld.getSpawnPoint().posX; int y = Minecraft.getMinecraft().theWorld.getSpawnPoint().posY; int z = Minecraft.getMinecraft().theWorld.getSpawnPoint().posZ;
-
Updating Textures Gui
If you expand a little more on what the problem is, it helps people pin point the actual problem. So could you please expand?
-
missing class when loading coremod :\ wtfbbq
Mod container class is only required if you want to have mod metadata. In which case he doesn't (I know this because I do). Stup class... I made a coremod for 1.6.2 and didn't have that running either. So no its not needed. A coremod is like a paxel. It is a lot of different functions all put together. In this case though, all those methods are like the mould needed for the paxel, but I only want the shovel part of it. I also only have that mould. So I only fill in the shovel section. Simple as that.
-
Importing Schematics into Forge
Fairly easy. When you generate the chest block, also make a new TileEntity. A TileEntityChest to be exact. Then using one of the methods in the class, add items to your generated chest. Oh, make sure the coords for the TileEntity are the EXACT SAME as the chest block. I think its something like: tileEntityChestVariable.addItemStackToSlot(slotID, new ItemStack(Item.diamond, 1)); I think its something like that at least... Don't take my word for it
-
Rotation angle for model?
So you are wanting it to (say you are looking at the side) go from vertical, to 45˚? example: | to /
-
Rotation angle for model?
Unfortunately no one can give you the answer. When it comes to model rotation you have to play with it until it is how you want it...
-
Advanced GUI Making
I was wondering, how would one go about making a GUI like the achievement page GUI? What I am really wanting is the scrollable/draggable area that is contained in it, and the ability to have points on that page be buttons and such. Any help would be appreciated.
-
Special Ability Tools
Awww...!! I liked the idea. Maybe I will figure it out and make a small mod out of it
-
Special Ability Tools
I have no flippin idea I was just saying what I would do, but that would require me to learn how they work. So I would suggest reading through how they are set and such.
-
[SOLVED]HOW DO TEXTURES WORK 1.6.2
Go to pixlr.com/editor and use that. Make a new TRANSPARENT image and copy your image over to that one. Then using the eraser or whatever, delete the white.
-
[SOLVED]HOW DO TEXTURES WORK 1.6.2
Try that...
-
[SOLVED]HOW DO TEXTURES WORK 1.6.2
... READ THIS TUTORIAL: http://www.minecraftforge.net/wiki/Icons_and_Textures
-
[1.6.2] Modifying the HUD
Haha, I never would have thought of that... That, is called openGL
-
[1.6.2] Modifying the HUD
This is probably extremely inefficient, but I would cancel the call for the elements, and then copy the code I wanted (say I was moving the XP bar) and paste it in, and then draw it in the new desired location. But like I said, most likely very inefficient...
-
Logging in?
then try --password PASSWORD (PASSWORD being your password). I have no idea if that will work, but use common sense
-
Special Ability Tools
So for example, you are using the axe to break a dirt block. Above the dirt block is a tree. The timber effect should not take place since you are breaking dirt. That is why it checks for logs first, so that "hey, you're breaking a wood block now, let's know out the rest of 'em" will happen. That makes sense now I didn't think of that... Good job mate! Glad someone has common sense
-
Special Ability Tools
It's to tell it that breaking a block beneath a wood block won't have the "timber" effect. If that weren't there it could work by breaking it otherwise. Thanks for the concern, though. That still doesn't quite work out logically in my mind... Why check the block you are breaking is wood, if you are wanting to check the block under it? That is what caused my confusion in the first place.
-
[1.6.1] add item to players inventory?
Does this text box you have work the same (sorta) as a JTextField? If it does, you can put a listener on it (or if you can, put the same kind of listener on it that gets called everytime you hit "return" or "enter") and execute the code via that listener. Then you do your check and such. And then clear the text field. That should work everytime. Well, it does with a JTextField at any rate
-
Special Ability Tools
Thanks but when I break it with the pick the first time i break that ore type I get an ingot and the ore, the rest of the then I just get the ore back That makes sense. The problem with the ore is the fact that what a block drops is set inside the block's class. And to my knowledge, there is no way to void that block drop. But I guess you could do a hackish type job by using gamerules... By that I mean set block drops to false and then back to true again once it dropped the item. As to it only working once... I am not sure
-
Special Ability Tools
That first if statement seems EXTREMELY redundant... But oh well
-
GuiScreen with a button doesn't get the button texture?
The problem is is that your button is too "tall". It cannot be more than 20px high or it starts drawing other parts of the gui on it. public class GuiAmmoSatchel extends GuiScreen { public GuiAmmoSatchel() { } @Override public void initGui() { super.initGui(); this.buttonList.add(new GuiButton(0, 96, 96, 96, 20, "Testing 1.2.3.")); // this is the line that I changed } @Override public void drawScreen(int x, int y, float f) { drawDefaultBackground(); super.drawScreen(x, y, f); } } Another way you could do the button is like this: this.buttonList.add(new GuiButton(0, 96, 96, "Testing 1.2.3.")); That automagically makes a width. The height is set to 20 automagically aswell. Hope that helped
-
[Not solved but im done.]How to save integers to a file.
Thanks Chibill This is making things easier for me... But I will admit, I was being rude to him... I am sorry for returning the favour. And of course I know it's not static. playerINSTANCE means something like: EntityPlayer [i]playerInstance[/i] = new EntityPlayer(); Except you can't do that. So maybe try Minecraft.getMinecraft().thePlayer.username Don't post here again. I've already reported you a moderator. I hope this isn't the way you solve every problem you come by. Heaps of people have posted here trying to help you and you have not been able to get code that they have spent time to write for you to work. The code is especially tailor made for your request. I suggest this: http://docs.oracle.com/javase/tutorial/ [EDIT] And yes, I have been rude to you. And I have no excuses for that. But you have been extremely rude to me and others in the first place. So I am willing to accept my actions and be reprimanded for them. Report away. Why are you still trying to help him? I gave up after the first sour comment to be honest. If he hasn't understood it by now, he never will- between you and maxpowa you pretty much wrote the entire code for him. I'm not exactly good at Java and I managed to get it all working and even release the first alpha of my standalone economy mod which uses it. I am still trying to help him because that is what he wants. If someone asks for help, you do not turn a blind eye and walk away. Even if they are not quite sure HOW they want the help, it is still right to help them, and help them until the have no need for help. As it is he still needs help. So I will still help him. But as he seems to have just givien up, there is no need to help. Thanks all for your support And thank you for trying to help him
-
[Not solved but im done.]How to save integers to a file.
I am sorry for returning the favour. And of course I know it's not static. playerINSTANCE means something like: EntityPlayer [i]playerInstance[/i] = new EntityPlayer(); Except you can't do that. So maybe try Minecraft.getMinecraft().thePlayer.username Don't post here again. I've already reported you a moderator. I hope this isn't the way you solve every problem you come by. Heaps of people have posted here trying to help you and you have not been able to get code that they have spent time to write for you to work. The code is especially tailor made for your request. I suggest this: http://docs.oracle.com/javase/tutorial/ [EDIT] And yes, I have been rude to you. And I have no excuses for that. But you have been extremely rude to me and others in the first place. So I am willing to accept my actions and be reprimanded for them. Report away.
-
[Not solved but im done.]How to save integers to a file.
I am sorry for returning the favour. And of course I know it's not static. playerINSTANCE means something like: EntityPlayer [i]playerInstance[/i] = new EntityPlayer(); Except you can't do that. So maybe try Minecraft.getMinecraft().thePlayer.username
IPS spam blocked by CleanTalk.