VictorZombie
Members-
Posts
10 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
-
Personal Text
Help and be helped my friend.
VictorZombie's Achievements
Tree Puncher (2/8)
0
Reputation
-
This happened to me! I solved it by using the proxys system, look for it here:http://wuppy29.blogspot.nl/2012/10/forge-modding-142.html
-
Ok, it's solved now. I had to make some changes and added proxys and some stuff.
-
Then maybe you can use: world.getBlockId(x, y, z) You can scan the blocks arround the player (supposing you know the position of the player) and know if it's the block you want by the ID. To know the direction you should scan use the strategy i posted before. Hope to help you now
-
I will redirect you to this post in which I reply, maybe is useful for you too: http://www.minecraftforge.net/forum/index.php/topic,5214.0.html
-
Way to get Block-Side player is pointing at ?
VictorZombie replied to Maexx's topic in Modder Support
There is a way to know if player look at +X -X +Z -Z I do this: int var6 = MathHelper.floor_double((double)(EntityLiving.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; The variable can take 4 values, from 0 to 3, each case is a direction that the player is looking at (can't remember which is everyone, just try them). Hope this help -
Hi, I have a problem with my entity, it works fine while testing but if i close minecraft (or back to title screen) and load again the same map the entity looks like disappeared but still in the same place, just don't shows the model i made for it and the texture, and more, it is rideable but if I try to ride it again it doesn't work, just if i place another new one. Any help about this?
-
I solved it, it was as easy as ussing the function setSize(float f1, float f2); to set an appropiate size for the entity and now the player mounts at the high that I want.
-
Hi to all! I'm developing a mod with a new rideable entity and need some help. I need to know if is it possible to change the size of the entity or something like that becuase when a player rides the entity that i'm making it sits too high from the ground and i want to make it as high as half block high. Thanks for any reply.