Increase the size of vc vertex

Changes to be committed:
	modified:   src/main/java/org/dimdev/dimdoors/client/EntranceRiftBlockEntityRenderer.java
	modified:   src/main/java/org/dimdev/dimdoors/world/limbo/LimboDecay.java
This commit is contained in:
SD 2020-10-04 00:15:07 +05:30
parent 0900a23053
commit 93cfa599cc
No known key found for this signature in database
GPG key ID: E36B57EE08544BC5
2 changed files with 2 additions and 4 deletions

View file

@ -108,8 +108,8 @@ public class EntranceRiftBlockEntityRenderer extends BlockEntityRenderer<Entranc
private void drawVertices(EntranceRiftBlockEntity endPortalBlockEntity, Matrix4f matrix4f, VertexConsumer vertexConsumer, float x1, float x2, float y1, float y2, float z1, float z2, float z3, float z4, float red, float green, float blue, Direction direction) {
vertexConsumer.vertex(matrix4f, x1, y1, z1).color(red, green, blue, 1.0F).next();
vertexConsumer.vertex(matrix4f, x2, y1, z2).color(red, green, blue, 1.0F).next();
vertexConsumer.vertex(matrix4f, x2, y2, z3).color(red, green, blue, 1.0F).next();
vertexConsumer.vertex(matrix4f, x1, y2, z4).color(red, green, blue, 1.0F).next();
vertexConsumer.vertex(matrix4f, x2, y2 + 1.0F, z3).color(red, green, blue, 1.0F).next();
vertexConsumer.vertex(matrix4f, x1, y2 + 1.0F, z4).color(red, green, blue, 1.0F).next();
// if (direction == endPortalBlockEntity.getOrientation() || direction.getOpposite() == endPortalBlockEntity.getOrientation()) {
// float offset = direction == endPortalBlockEntity.getOrientation() ? 0.5F : -0.5F;
// vertexConsumer.vertex(matrix4f, x1, y1, z1 + offset).color(red, green, blue, 1.0F).next();

View file

@ -2,8 +2,6 @@ package org.dimdev.dimdoors.world.limbo;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.HashMap;