Jump to content

Recommended Posts

Posted

I know that similar things have been posted in the past, here, but they were all about tile entities. My block is just a normal block, based similarly to how the Terracotta blocks are in 1.12 snapshots.

 

Basically, I want it so when the block is placed, depending on the player's direction when placing the block, the block is rotated a certain way. I'm not sure how to go about doing that.

 

Like the Terracotta blocks, my blocks have different meta values depending on the color of the block, if that makes a difference...

 

Thanks in advance,

Cyan_

Posted (edited)

I don't think that 1.7.10 uses .json for block rotation. I thought that was a 1.8 and later thing.

 

BlockLog doesn't rotate based on player placement, does it? I thought it was based on how it's placed next to a block....

 

Edit: I'm copying code from BlockPumpkin, which assigns meta values to my blocks, but I think it's messing with the meta values I've assigned to my blocks i.e. placing East or North will not rotate my block or do anything special, but placing West created my Brown block, no rotation, and placing South created my Blue block, no rotation.

 

 

Edited by Cyan_
  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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