mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-25 14:44:28 +00:00
Change where the offset is reset (#159)
* Change where the offset is reset * Debug log and rm dead code
This commit is contained in:
1 parent
869f843e3e
commit
45b20efc45
4 files changed
+10
-151
No files matched your search
@@ -58,10 +58,11 @@ public class BlockRenderer {
|
||||
final CapturingTessellator tess = (CapturingTessellator) TessellatorManager.get();
|
||||
tess.startDrawingQuads();
|
||||
// RenderBlocks adds the subchunk-relative coordinates as the offset, cancel it out here
|
||||
tess.setOffset(pos);
|
||||
|
||||
tess.setOffset(pos);
|
||||
renderBlocks.renderBlockByRenderType(block, pos.x, pos.y, pos.z);
|
||||
final List<Quad> quads = TessellatorManager.stopCapturingToPooledQuads();
|
||||
tess.resetOffset();
|
||||
|
||||
for (ModelQuadFacing facing : ModelQuadFacing.VALUES) {
|
||||
this.random.setSeed(seed);
|
||||
|
||||
Reference in new issue
Block a user