(repost) crafting tile won't place despite my best efforts

ThatFish

Terrarian
A few months ago, I started modding terraria (again) for the DofE award thingy. My entire goal was to make a working furniture item that can be used to craft items, but after months of work it's still not working how I want it to. Currently, it exists as an item but the item doesn't place. Please help...

1744020007635.png
1744020026297.png
 
Have you compared it to the examplemod furniture?

Tiles
 
Maybe try using the Item.DefaultToPlaceableTile() method?
 
Maybe try using the Item.DefaultToPlaceableTile() method?
If I were to use this method, whereabouts would I put it? It currently returns this error when I put it under my Item.placeStyle
1744106234185.png
 
It should be in the defaults of your item. Seems like you put it outside of a method.
 
It should be in the defaults of your item. Seems like you put it outside of a method.
nevermind, this particular error was due to the 'public' in public class being spelt with two Cs XD
 
It should be in the defaults of your item. Seems like you put it outside of a method.
There is now, however, notably only one more error. This time it actually refers to the Item.DefaultToPlaceableTile() method, which is under my defaults
1744107548262.png
 
Yeah you gotta specify the tile in the method parameters
 
Yeah you gotta specify the tile in the method parameters
yep, all done now. It builds successfully and everything! Just one issue...
It. Still. Doesn't. Place.
I love programming!!!!
 
Back
Top Bottom