
Mew
Members-
Posts
567 -
Joined
-
Last visited
Everything posted by Mew
-
Help Stuck at TileEntity for my block (water lvl)
Mew replied to EarthGuardian's topic in Modder Support
I used it. It worked for me. I got the concept behind it Sorry, but no explaining tonight I need to sleep my brain back into working order -
Well... I have no clue then Well, have fun. There is a bed with my name on it I need some sleep... Ill sleep on it
-
That to me seems like you have no channel set up... I am not sure if you need it but.. Well, may as well try
-
GL11 boy, GL11... I even don't know all the fascinating tid bits that come with it So don't ask me too much about it. I do know that you could, in theory, get the players rotation, and then rotate the model by the same rotation. So, basically something like: int someRandomIntThatHoldsPlayerRotationX = someRandomGetterMethodThatReturnsTheValueNeeded(); int someRandomIntThatHoldsPlayerRotationY = someRandomGetterMethodThatReturnsTheValueNeeded(); int someRandomIntThatHoldsPlayerRotationZ = someRandomGetterMethodThatReturnsTheValueNeeded(); GL11.glRotate(someRandomIntThatHoldsPlayerRotationX, someRandomIntThatHoldsPlayerRotationY, someRandomIntThatHoldsPlayerRotationZ);
-
How do I use IItemRender to rotate an item when it's held?
Mew replied to Jacknoshima's topic in Modder Support
Have you tried using *racks brain* what is it... this.setFull3d(); in the constructor? Or chaining it onto the item call? -
That makes so much sense Why didn't I think of that? *facepalms* of course it's client side, you are working with the clients microphone for crying out loud! So yes, that seems to be the case doesn't it. I am looking into it now. Expand on unexpected please? I am pushing the limits of my awakens right now.
-
Help Stuck at TileEntity for my block (water lvl)
Mew replied to EarthGuardian's topic in Modder Support
Gimme a sec... *pulls up list of tutorials that get frequently referenced* Ah, here we go! http://www.minecraftforge.net/wiki/Advanced_Packet_Handling -
I would suggest trying to get the layout of blocks around, then erasing / replacing them. I know this would not work at all, but that is all the heck I have. ( I left a comment on your PMC post btw, I go by many names ) I wish I could think of something, but Have you tried looking into what water does when it comes into contact with fire? That would seem like another logical place to check. I guess you could also try placing a block of water that disappears again... Hey, you asked for suggestions Also, I do believe that blowing on a fire makes it burn stronger... I would consider that if I were you! Still a great mod idea though...
-
Help Stuck at TileEntity for my block (water lvl)
Mew replied to EarthGuardian's topic in Modder Support
You have to make a packet that sends the data from the server to the client telling the client what the water level is. Surely that is not complicated?!? I mean... I am a beginner and I get this stuff ( I don't mean to brag, and I would explain, but I couldn't explain anything to save my life ... well, nevermind that statement. That was a paradox... Just don't mind these brackets k? ) -
Would you mind sharing the concept behind your solution? I can't be bothered to work it out from scratch
-
Just times the dimensions of the picture by two ( in a photo editor ) and you will have a HD texture. ( Or at least more HD than before. All you gotta do is keep multiplying by 2. I wouldn't go abouve 512 though. )
-
YES!!! I can't believe that worked I am getting better at this bug solving than I though Glad I could help. It helped me too
-
No, no they can't.... No wonder I thought there was something wrong with this Thanks for clearing my mind
-
Ahhh.... That makes more sense. Try a TickHandler, I mean, they are called that for a reason... A TickHandler gets called very tick. And you can choose what kind of tick as well
-
No... Just.... No...... Do you even know what a null does? IT RETURNS A NULL POINTER EXCEPTION!!!!! You should return the par1ItemStack....
-
Please explain what you are wanting in more detail. Also, try using CTRL + H to search for any method you want etc. It is extremely useful
-
Try using onItemRightClick() method... And also, why are you returning true in both statements? I am thinking you might want to make on e false
-
Hmm... Cancel the renderer... Maybe give it the new renderer?
-
For others to use your blocks and machines... That is easy. Forge has built in stuff for that I believe. But for the use of machines... I really can't be bothered to explain it all... I am sorry, school and no sleep are starting to bug me
-
Well... I HAD tried to post something, but the internet died when I went to post it... So now I can't remember what I was posting... It was something about how I had already mentioned something along these lines... Oh right! It could be a lighting issue. I know Draco ( a member on this forum... Haven't seen him in a while ) He made a post about lighting issues. If you could find his post, maybe you could shed some light on the situation
-
I was getting bored the other day and started making a Coremod/Normal mod all with the one file. I basically had the IFMLLoadingPlugin class with all the other methods and annotations etc. It didn't work very well
-
Well you got me I don't do rendering The closest thing I do is GUI's. I am sorry...
-
It seems to me that maybe your GL11.gl_SomethingOrOtherThatEditsRGBValuesAndAlpha(Red, Green, Blue, Alpha); // Not sure what it is as you can tell also not sure what order they go in as params, but I am fairly certain that Alpha is last has a little green added to it? Thats all I can think of **EDIT** (20 seconds later...) Well, I am actually led to believe that you don't have that line... Maybe it is to do with overlays? Is your road block somehow a grass block and so is getting the grass overlay? Or the grass color applied to it? Thats it for my ideas... For now... As this edit has proven that my earlier statement of "Thats all I can think of " has been so quickly disproved... Sorry peeps!
-
I would suggest this tutorial: http://www.minecraftforge.net/wiki/Advanced_Packet_Handling Its the way I do my packet handling now :3