new Block(FabricBlockSettings.copyOf(Blocks.OAK_LOG)) throws an error #2222
-
I'm trying to create a new log type block but I don't know why the new Block(FabricBlockSettings.copyOf(Blocks.OAK_LOG)) throws an error. Here is the code if needed:
This issue is also on the issues tab
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
You have forgotten to provide said error |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
You cannot copy the settings of a log to a non-directional block as the map color of logs varies depending on whether the tissue or the bark is facing upwards. You should change your block to be an instance of |
Beta Was this translation helpful? Give feedback.
You cannot copy the settings of a log to a non-directional block as the map color of logs varies depending on whether the tissue or the bark is facing upwards. You should change your block to be an instance of
PillarBlock
instead.