Hello everyone. I have a customly rendered table, and I am trying to figure out how to connect two tables if they are placed next to each other, similar to a fence or iron bar. I haven't seen much on how to do this, but I think I have it half done. The table that I place down next to it will update it's model accordingly, but the other one that is already there won't.
Here are some screenshots of the situation:
Tables when not connected:
Tables when connected:
As you can see, the other two adjacent tables are not updating their model, even though they should be.
So I guess I have two questions:
1. How can I change a currently existing block's model?
2. If I'm doing this the complete wrong way, what is the best way of doing it?
Here is some of the code that I currently have:
BlockTable:
ModelTable:
TileEntityTable:
TileEntityTableRenderer:
Thanks in advance for any help.