[ci skip] spotlessApply with the new settings

This commit is contained in:
Jason Mitchell committed 2023-01-28 18:41:54 -08:00
1 parent c312069d28
commit 6bdb2c0b96
100 files changed
+3171 -3401

No files matched your search

@@ -2,8 +2,6 @@ package emt.client.renderer;
import static org.lwjgl.opengl.GL11.*;
import emt.EMT;
import emt.entity.EntityShield;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GLAllocation;
import net.minecraft.client.renderer.Tessellator;
@@ -11,12 +9,18 @@ import net.minecraft.client.renderer.entity.Render;
import net.minecraft.entity.Entity;
import net.minecraft.util.MathHelper;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import emt.EMT;
import emt.entity.EntityShield;
public class RenderShield extends Render {
private static final ResourceLocation shieldTexture =
new ResourceLocation(EMT.TEXTURE_PATH, "textures/models/shield.png");
private static final ResourceLocation shieldTexture = new ResourceLocation(
EMT.TEXTURE_PATH,
"textures/models/shield.png");
static int glCallList;
static {
@@ -80,11 +84,8 @@ public class RenderShield extends Render {
glDisable(GL_CULL_FACE);
glPushMatrix();
if (((EntityShield) entityShield).owner != null
&& !Minecraft.getMinecraft()
.thePlayer
.getDisplayName()
.equals(((EntityShield) entityShield).owner.getDisplayName())) {
if (((EntityShield) entityShield).owner != null && !Minecraft.getMinecraft().thePlayer.getDisplayName()
.equals(((EntityShield) entityShield).owner.getDisplayName())) {
glTranslated(x, y, z);
}