tModLoader Is there a way to use item rendering for a placed tile?

Shadelight

Queen Bee
Hello. I am currently developing a mod called Astral Plane. I've run into an issue that is quite annoying, yet I didn't find a fix/loophole yet.

I have recorded a small video which displays the issue I'm having:

I'd like to know if there is any way to use the item renderer for a placed tile. That can most likely be achieved by not rendering anything normally (or a blank texture) while rendering and animating a texture on top of that using the item rendering method instead of the tile one. Yet again, this is just my speculation and I don't know the details on how to achieve this. That's also part of why I'm starting this thread.

If anyone knows how to complete the task that I've described above, please share your knowledge.
 
Last edited:
Update: Apparently tiles are only drawn once per 5 ticks, which is something that I need to bypass. In the example video, I've set 3 ticks per frame on both the item and tile, but the item was animated faster and better than the tile. I'm currently trying to draw the tile manually instead of the usual drawing, since it reportedly doesn't gate manual drawing.

Update 2: Manually drawing via spriteBatch.Draw didn't work, sadly. The animation is still gated at 5 ticks per frame max.
 
Last edited:
Back
Top Bottom