Jump to content

[1.8][solved] Making a block face you when placed.


J3FF97

Recommended Posts

I am making a machine and, like most modders, I want the machine to face me whenever I place it. For this I used the code from BlockFurnace. However, this crashes me. In 1.7 this was done quite differently if I remember correctly.

 

Crash Report: http://pastebin.com/zwpNfSMf

 

Source: https://github.com/J3FF97/Steel-Industries/blob/1.8/src/main/java/com/j3ff97/steelindustries/blocks/BlockHighOven.java

Please do mind the entire machine thing isn't working yet. However as a normal block it should work. Something with the propertyDirection, but I can't figure out what's going on exactly. Anyone who can enlighten me?

 

~J3ff97

Link to comment
Share on other sites

I see, upon closer inspection those methods are indeed in the BlockFurnace class. I simply overlooked them.

That's what I get for using an outdated tutorial and trying to fix things myself. Although I should look into how those things work better.

 

Thank you ^-^

 

[closed]

Link to comment
Share on other sites

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.