-
Rotate the block texture the way you placed it, storing in TE?
Seems like you havent read the post either. I cant use the metadata, as well as I have already found out how to do it and why it doesnt work.
-
Rotate the block texture the way you placed it, storing in TE?
Anyways, it can be closed now. The tutorials everywhere were outdated.
-
Rotate the block texture the way you placed it, storing in TE?
You have to got to be kidding me? PHP, C++, Java (for a year), Python, Perl and some basic ones like Shell, Bacth etc.
-
Rotate the block texture the way you placed it, storing in TE?
That is why I said coding in general not exactly java... also, I have been coding bukkit plugins for a year and never had to override anything, As well as I have read where other people have used this and they have not overrided it. As well, I tried to override it but it told me there is nothing to be overriden, so yeah.
-
Rotate the block texture the way you placed it, storing in TE?
I have quite a lot of spirit. I have messed with this problem for 3 days and this is like a call of help. I have been coding in general for about 6-7 years... so yeah. Also, here is my method: public void onBlockPlacedBy(World world, int x, int y, int z, EntityLiving livingentity, ItemStack stack){ System.out.println(livingentity); rotation = MathHelper.floor_double((double)(livingentity.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; }
-
Rotate the block texture the way you placed it, storing in TE?
Bump?
-
Rotate the block texture the way you placed it, storing in TE?
Did you even read what I said? I cant use metadata!
-
Rotate the block texture the way you placed it, storing in TE?
I already said, that for unknown reason my onBlockPlacedBy doesn't work. This means I can't use what vanilla does.
-
Rotate the block texture the way you placed it, storing in TE?
I am pretty new to the Forge API (As you might have noticed), but I have a problem that I need to solve, which is that I need to change the direction of the textures on the block, but I can't use the meta data because I am using it for other things. I have already looked at vanilla pistons, pumpkins, furnaces but they are all using meta data values. Thanks in advance! I have also noticed a very weird thing, that for some reason my onBlockPlacedBy is never called (tested with system.out.println...), anyone has any idea why?
IPS spam blocked by CleanTalk.