As the title says, I want to get a block at the current location and set the block to one of the different types of log, Birch, Oak, etc. Right now the only way I can see this is getting a tree type and setting that tree to the right type I want. But once I have that tree type I have no idea how to send it over to a block so it can be set that way. I also have no way of getting the current tree type from a block. The code I have is fairly simple, it takes a block, moves it, and then sets it to a LOG. What I really want it to do is to copy over the block type and have that be placed instead (so if it was a birch log, it would place a birch log) however I have copied the block.getType() and set the new location.getBlock().setType(copied type) and it only places oak logs. I have looked online for some documentation and the stuff I see, if any is deprecated code. So what is the easiest way to go about doing this? I also noticed that in the tree type you can set the direction of the log (laying down, standing up) I really would like to just take a blank tree, set the species to the type of species hit, and then change the direction. Either that or get the tree of the block hit, and change the direction on that. Either way, I have no idea how to convert from tree to material or add a tree to the material etc. I know it's materialData but I am not sure how to modify that.