Jump to content

Vilsol

Members
  • Posts

    9
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Vilsol's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. 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.
  2. Anyways, it can be closed now. The tutorials everywhere were outdated.
  3. You have to got to be kidding me? PHP, C++, Java (for a year), Python, Perl and some basic ones like Shell, Bacth etc.
  4. 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.
  5. 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; }
  6. Did you even read what I said? I cant use metadata!
  7. I already said, that for unknown reason my onBlockPlacedBy doesn't work. This means I can't use what vanilla does.
  8. 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?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.