
starwarsmace
Members-
Posts
333 -
Joined
-
Last visited
Everything posted by starwarsmace
-
[1.7] Creating a new bar, like the armor bar.
starwarsmace replied to Alex_Richard's topic in Modder Support
You didn't read the post did you? The post has the extended properties tutorial below it and how to make the gui overlay. -
[1.7] Creating a new bar, like the armor bar.
starwarsmace replied to Alex_Richard's topic in Modder Support
http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and Awesome tutorial by cool alias. -
Alright, I decided. Im getting luna. One of the only reason is so my eyes dont combust from looking at bright white for hours and hours. I'm probably going to be using dark mode a lot.
-
True.... Not sure what that page was.... I was wondering what Lex was doing on that forum.
-
Use instanceof
-
http://www.minecraftforge.net/forum/index.php?topic=25528.0 If youre too lazy to read it: "If you need to render something special for players you just add another layer to the RenderPlayer instance in the Entity renderer registry."
-
[1.7.10]How would I get the delta x,y, and z from two entites
starwarsmace replied to starwarsmace's topic in Modder Support
Would it be better to calculate a vector between the two entities? -
[1.7.10]How would I get the delta x,y, and z from two entites
starwarsmace replied to starwarsmace's topic in Modder Support
Im really not getting it... -
[me=diesieben07]is confuzzled[/me] He asks for what to put in the method... You tell him.. And then he says what I think is asking for code(I may have misinterpreted it) when he asks again And then you say your sarcastic comment which means(I told you what to put in the method and youre not going to get any code) And then he says it works... after he asks for code... So that sarcastic comment deflected right back!
-
Diesieben comes in with the sarcastic comment and it just deflects right back! No offense, diesieben. It was all fun and games
-
[1.7.10]How would I get the delta x,y, and z from two entites
starwarsmace replied to starwarsmace's topic in Modder Support
Arrgggg the look helper code is driving me crazy! Ill look more though... -
To save NBT into a player you would need IExtendedEntityProperties
-
[1.7.10]How would I get the delta x,y, and z from two entites
starwarsmace replied to starwarsmace's topic in Modder Support
You bet I'll figure it out! Anyway thanks for the help. -
[1.7.10]How would I get the delta x,y, and z from two entites
starwarsmace replied to starwarsmace's topic in Modder Support
Well.... I dont need exact values... motionX *= 0.98000001907348633D; motionY *= 0.98000001907348633D; motionZ *= 0.98000001907348633D; MC has something like that where they multiple the motion. I need to know how to get the direction in which the particle should travel, and how to set that direction -
[1.7.10]How would I get the delta x,y, and z from two entites
starwarsmace replied to starwarsmace's topic in Modder Support
Motion is the speed the particle is moving at. What do you mean by your second question? -
Hey guys. How would I get the motion x, y, and z from two entities. What I mean by that is if I have entity A and entity B how would I know what the motion x,y,z would be to get from Entity A to Entity B. (I am making a particle) I know some math as to converting to radians but how would I apply that to this?
-
[1.7.10]Finding the item slot number from ItemToolTipEvent
starwarsmace replied to starwarsmace's topic in Modder Support
Thats what I wanted to do but Im making this mod for somebody else and he wants right click so Im like, Ill give you right click! -
[1.7.10]Finding the item slot number from ItemToolTipEvent
starwarsmace replied to starwarsmace's topic in Modder Support
Sorry, I forgot something in the post before this. The problem is how would I find the slot number? Or is there some other way to stop it from falling? -
[1.7.10] Not all Item/blocks have their own classes
starwarsmace replied to whitephoenix's topic in Modder Support
larsgerrits with those "lmgtfy"s! Always fun with those -
[1.7.10]Finding the item slot number from ItemToolTipEvent
starwarsmace replied to starwarsmace's topic in Modder Support
okay............. Yeah I entirely messed up with my question. I have an info gui that pops up when you right click an item in an inventory(I use anything that extends GuiContainer). I use ItemToolTipEvent to do this because when the player hovers over the item it fires the event, so all I need to check for is whether the mouse is right clicked and then if it is I open my gui. Now as all of you probably know, in minecraft when you right click an item it splits the stack and also when you close the inventory while youre "holding an item with your mouse" the item drops. Which is what happens when I close the inventory and open my gui. Now all I need to do is to stop the item from dropping when the inventory is closed. One way I thought of is that, I could get the slot number of the item's original place in the ItemToolTipEvent, and then later in the ItemTossEvent add it back to that slot. -
In my mod, I close the inventory gui, when I open my gui. Only problem is when, my gui opens when an item in the inventory is right-clicked, so that splits the stack and drops the items on the ground when its closed. Is there some way to find the slot from ItemToolTipEvent so later on the itemtossevent I can just add the stack back into the inventory. By the way in the javadoc for itemtossevent it says, cancelling the event will stop the EntityItem from being thrown but not stop the item from being removed from the inventory. Or is there some other way all together so I can avoid having the item from being thrown in the first place.
-
Modelling, is there anything better than Techne?
starwarsmace replied to jordsta95's topic in Modder Support
Ya mine does too. Still. Theres nothing better than having your own numbers to mess around with. Its way better to code it yourself. Not only does it in the long run look better, it gives you an understanding of your model, so you can add rotation points and such. For things like animation api, you really need to know java models and the best way to understand it is to code it yourself. -
Alright. Thanks. Offtopic: I love how even though TheGreyGhost, has one of the best tutorials online about modding; CoolAlias, with his awesome tutorials and mods; jabelar, also with his awesome tutorials; diesieben07, with his awesome mods, are all really famous, in their own way, yet still help out the forge community. Thank you guys, for all your wonderful help!
-
[1.7.10] Having some trouble with getting recipes to work.
starwarsmace replied to Nikolater's topic in Modder Support
Does your smelting work? -
Modelling, is there anything better than Techne?
starwarsmace replied to jordsta95's topic in Modder Support
I agree. The Java in the entity models is simple: just a bunch of blocks. So you can actually just draw your entity on graph paper and then code in the positions as quickly and with less aggravation of using Techne. Woah. Jabelar agreed with me. That is a true honor to have.