mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 23:48:00 +01:00
Rename BasePonyRenderer -> AbstractPonyRenderer
This commit is contained in:
parent
17624c484a
commit
7d8e971f03
4 changed files with 7 additions and 7 deletions
|
@ -6,7 +6,7 @@ import net.minecraft.client.model.ModelRenderer;
|
|||
import net.minecraft.client.model.TextureOffset;
|
||||
|
||||
@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;
|
||||
|
||||
|
@ -17,12 +17,12 @@ public abstract class BasePonyRenderer<T extends BasePonyRenderer<T>> extends Mo
|
|||
protected float modelOffsetY;
|
||||
protected float modelOffsetZ;
|
||||
|
||||
public BasePonyRenderer(ModelBase model) {
|
||||
public AbstractPonyRenderer(ModelBase model) {
|
||||
super(model);
|
||||
baseModel = model;
|
||||
}
|
||||
|
||||
public BasePonyRenderer(ModelBase model, int x, int y) {
|
||||
public AbstractPonyRenderer(ModelBase model, int x, int y) {
|
||||
super(model, x, y);
|
||||
baseModel = model;
|
||||
}
|
|
@ -4,7 +4,7 @@ import static net.minecraft.client.renderer.GlStateManager.color;
|
|||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
|
||||
public class HornGlowRenderer extends BasePonyRenderer<HornGlowRenderer> {
|
||||
public class HornGlowRenderer extends AbstractPonyRenderer<HornGlowRenderer> {
|
||||
|
||||
float red;
|
||||
float green;
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.minelittlepony.render;
|
|||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
|
||||
public class PonyRenderer extends BasePonyRenderer<PonyRenderer> {
|
||||
public class PonyRenderer extends AbstractPonyRenderer<PonyRenderer> {
|
||||
|
||||
public PonyRenderer(ModelBase model) {
|
||||
super(model);
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package com.minelittlepony.render.plane;
|
||||
|
||||
import com.minelittlepony.render.BasePonyRenderer;
|
||||
import com.minelittlepony.render.AbstractPonyRenderer;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
|
||||
public class PlaneRenderer extends BasePonyRenderer<PlaneRenderer> {
|
||||
public class PlaneRenderer extends AbstractPonyRenderer<PlaneRenderer> {
|
||||
|
||||
public boolean mirrory, mirrorz;
|
||||
|
||||
|
|
Loading…
Reference in a new issue