Jump to content

thephoenixlodge

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

thephoenixlodge's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. If you're still having problems with this, perhaps try looking at the vanilla log block code, from what I can tell, you're trying to do exactly the same thing as the vanilla log does
  2. I am currently writing a tool for my mod that lets the player harvest bark from logs by getting the metadata of the log and changing it to a "barkless log" while damaging the tool (similar to a hoe). However this only works for logs that are vertically oriented and not for logs oriented on their sides. I assume this is due to log orientation being set with the use of further metadata, but I was wondering if there was a way to detect this rotation and have my bark harvesting work without adding 8 more if statements to accommodate the rotations metadata? (note: I can do it with the more if statements but was wondering if there was a simpler way to do it. In relation to the same block, placing it manually with rotation works with one small glitch, it always places the oak variation, no matter which variation is being used, how do I fix this?
×
×
  • Create New...

Important Information

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