Removed uwuliths.
|
@ -1,4 +1,4 @@
|
||||||
mod_version=4.0.1
|
mod_version=4.0.3
|
||||||
|
|
||||||
minecraft_version=1.18.2
|
minecraft_version=1.18.2
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package org.dimdev.dimdoors.client;
|
package org.dimdev.dimdoors.client;
|
||||||
|
|
||||||
|
import net.minecraft.util.math.Direction;
|
||||||
import org.dimdev.dimdoors.entity.MonolithEntity;
|
import org.dimdev.dimdoors.entity.MonolithEntity;
|
||||||
|
|
||||||
import net.minecraft.client.model.ModelData;
|
import net.minecraft.client.model.ModelData;
|
||||||
|
@ -34,7 +35,43 @@ public class MonolithModel extends EntityModel<MonolithEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(MatrixStack matrixStack, VertexConsumer consumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) {
|
public void render(MatrixStack matrixStack, VertexConsumer consumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) {
|
||||||
this.body.render(matrixStack, consumer, packedLight, packedOverlay);
|
matrixStack.push();
|
||||||
|
matrixStack.scale(3.0625f, 3.0625f, 3.0625f);
|
||||||
|
|
||||||
|
MatrixStack.Entry entry = matrixStack.peek();
|
||||||
|
|
||||||
|
consumer.vertex(entry.getPositionMatrix(), -1, -0.5f, 0)
|
||||||
|
.color(red, green, blue, alpha)
|
||||||
|
.texture(0,0)
|
||||||
|
.overlay(packedOverlay)
|
||||||
|
.light(packedLight)
|
||||||
|
.normal(entry.getNormalMatrix(), 0, 0, 1)
|
||||||
|
.next();
|
||||||
|
consumer.vertex(entry.getPositionMatrix(), -1, 0.5f, 0)
|
||||||
|
.color(red, green, blue, alpha)
|
||||||
|
.texture(0, 1)
|
||||||
|
.overlay(packedOverlay)
|
||||||
|
.light(packedLight)
|
||||||
|
.normal(entry.getNormalMatrix(), 0, 0, 1)
|
||||||
|
.next();
|
||||||
|
consumer.vertex(entry.getPositionMatrix(), 1, 0.5f, 0)
|
||||||
|
.color(red, green, blue, alpha)
|
||||||
|
.texture(1,1)
|
||||||
|
.overlay(packedOverlay)
|
||||||
|
.light(packedLight)
|
||||||
|
.normal(entry.getNormalMatrix(), 0, 0, 1)
|
||||||
|
.next();
|
||||||
|
consumer.vertex(entry.getPositionMatrix(), 1, -0.5f, 0)
|
||||||
|
.color(red, green, blue, alpha)
|
||||||
|
.texture(1, 0)
|
||||||
|
.overlay(packedOverlay)
|
||||||
|
.light(packedLight)
|
||||||
|
.normal(entry.getNormalMatrix(), 0, 0, 1)
|
||||||
|
.next();
|
||||||
|
|
||||||
|
matrixStack.pop();
|
||||||
|
|
||||||
|
// this.body.render(matrixStack, consumer, packedLight, packedOverlay);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 558 B |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 746 B |
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 934 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 984 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 379 B After Width: | Height: | Size: 774 B |
Before Width: | Height: | Size: 431 B After Width: | Height: | Size: 842 B |
Before Width: | Height: | Size: 661 B After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 815 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 815 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 843 B After Width: | Height: | Size: 1.2 KiB |