Fixes #2377: Paint blocks now render correctly.

This commit is contained in:
Sebastian Hartte
2016-10-15 11:50:55 +02:00
parent 070b35f3db
commit c590e7f6e6
14 changed files with 400 additions and 7 deletions
@@ -0,0 +1,30 @@
package appeng.block.paint;
import java.util.Collection;
import java.util.List;
import com.google.common.collect.ImmutableList;
import appeng.helpers.Splotch;
/**
* Used to transfer the state about paint splotches from the game thread to the render thread.
*/
class PaintSplotches
{
private final List<Splotch> splotches;
PaintSplotches( Collection<Splotch> splotches )
{
this.splotches = ImmutableList.copyOf( splotches );
}
List<Splotch> getSplotches()
{
return splotches;
}
}