Rename BasePonyRenderer -> AbstractPonyRenderer

This commit is contained in:
Sollace 2018-04-27 09:47:23 +02:00
parent 17624c484a
commit 7d8e971f03
4 changed files with 7 additions and 7 deletions

View file

@ -6,7 +6,7 @@ import net.minecraft.client.model.ModelRenderer;
import net.minecraft.client.model.TextureOffset; import net.minecraft.client.model.TextureOffset;
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public abstract class BasePonyRenderer<T extends BasePonyRenderer<T>> extends ModelRenderer { public abstract class AbstractPonyRenderer<T extends AbstractPonyRenderer<T>> extends ModelRenderer {
protected final ModelBase baseModel; protected final ModelBase baseModel;
@ -17,12 +17,12 @@ public abstract class BasePonyRenderer<T extends BasePonyRenderer<T>> extends Mo
protected float modelOffsetY; protected float modelOffsetY;
protected float modelOffsetZ; protected float modelOffsetZ;
public BasePonyRenderer(ModelBase model) { public AbstractPonyRenderer(ModelBase model) {
super(model); super(model);
baseModel = model; baseModel = model;
} }
public BasePonyRenderer(ModelBase model, int x, int y) { public AbstractPonyRenderer(ModelBase model, int x, int y) {
super(model, x, y); super(model, x, y);
baseModel = model; baseModel = model;
} }

View file

@ -4,7 +4,7 @@ import static net.minecraft.client.renderer.GlStateManager.color;
import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelBase;
public class HornGlowRenderer extends BasePonyRenderer<HornGlowRenderer> { public class HornGlowRenderer extends AbstractPonyRenderer<HornGlowRenderer> {
float red; float red;
float green; float green;

View file

@ -2,7 +2,7 @@ package com.minelittlepony.render;
import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelBase;
public class PonyRenderer extends BasePonyRenderer<PonyRenderer> { public class PonyRenderer extends AbstractPonyRenderer<PonyRenderer> {
public PonyRenderer(ModelBase model) { public PonyRenderer(ModelBase model) {
super(model); super(model);

View file

@ -1,10 +1,10 @@
package com.minelittlepony.render.plane; package com.minelittlepony.render.plane;
import com.minelittlepony.render.BasePonyRenderer; import com.minelittlepony.render.AbstractPonyRenderer;
import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelBase;
public class PlaneRenderer extends BasePonyRenderer<PlaneRenderer> { public class PlaneRenderer extends AbstractPonyRenderer<PlaneRenderer> {
public boolean mirrory, mirrorz; public boolean mirrory, mirrorz;