This commit is contained in:
SD 2021-01-11 22:40:12 +05:30
parent 1809cd8fe4
commit 90d4cd732c
No known key found for this signature in database
GPG key ID: E36B57EE08544BC5
2 changed files with 4 additions and 4 deletions

View file

@ -13,9 +13,9 @@ import net.minecraft.util.math.Matrix4f;
import net.minecraft.util.math.Vec3i;
public class LimboSkyProvider extends CustomSkyProvider {
private static final Identifier MOON_RENDER_PATH = new Identifier("dimdoors:textures/other/limbo_moon.png");
private static final Identifier SUN_RENDER_PATH = new Identifier("dimdoors:textures/other/limbo_sun.png");
private static final Identifier GREY_TEX = new Identifier("dimdoors:textures/other/grey.png");
public static final Identifier MOON_RENDER_PATH = new Identifier("dimdoors:textures/other/limbo_moon.png");
public static final Identifier SUN_RENDER_PATH = new Identifier("dimdoors:textures/other/limbo_sun.png");
public static final Identifier GREY_TEX = new Identifier("dimdoors:textures/other/grey.png");
public LimboSkyProvider() {
super(MOON_RENDER_PATH, SUN_RENDER_PATH, new Vec3i(0, 0, 0));

View file

@ -5,6 +5,7 @@ import org.dimdev.dimdoors.client.MonolithRenderer;
import org.jetbrains.annotations.Nullable;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.DrawableHelper;
import net.minecraft.client.particle.Particle;
import net.minecraft.client.particle.ParticleFactory;
import net.minecraft.client.particle.ParticleTextureSheet;
@ -31,7 +32,6 @@ public class MonolithParticle extends Particle {
this.maxAge = 30;
this.model = new MonolithModel();
this.layer = RenderLayer.getEntitySolid(MonolithRenderer.MONOLITH_TEXTURES.get(14));
layer.endDrawing();
}
@Override