mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-03 17:37:59 +01:00
Fix gradle
This commit is contained in:
parent
c3e1fbd398
commit
d5b387ef4d
5 changed files with 6 additions and 0 deletions
|
@ -87,5 +87,7 @@ processResources {
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
from sourceSets.main.output
|
||||||
|
from sourceSets.external.output
|
||||||
baseName = "Unicopia-mc${project.mcVersion}"
|
baseName = "Unicopia-mc${project.mcVersion}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@ package com.minelittlepony.util.render;
|
||||||
import net.minecraft.client.model.ModelBox;
|
import net.minecraft.client.model.ModelBox;
|
||||||
import net.minecraft.client.model.ModelRenderer;
|
import net.minecraft.client.model.ModelRenderer;
|
||||||
|
|
||||||
|
//#MineLittlePony#
|
||||||
public abstract class Box<T extends ModelRenderer> extends ModelBox {
|
public abstract class Box<T extends ModelRenderer> extends ModelBox {
|
||||||
|
|
||||||
protected final T parent;
|
protected final T parent;
|
|
@ -2,6 +2,7 @@ package com.minelittlepony.util.render;
|
||||||
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
import net.minecraft.client.renderer.GlStateManager;
|
||||||
|
|
||||||
|
//#MineLittlePony#
|
||||||
public interface Color {
|
public interface Color {
|
||||||
static float r(int color) {
|
static float r(int color) {
|
||||||
return (color >> 16 & 255) / 255F;
|
return (color >> 16 & 255) / 255F;
|
|
@ -2,6 +2,7 @@ package com.minelittlepony.util.render;
|
||||||
|
|
||||||
import net.minecraft.client.model.TexturedQuad;
|
import net.minecraft.client.model.TexturedQuad;
|
||||||
|
|
||||||
|
//#MineLittlePony#
|
||||||
public class Quad extends TexturedQuad {
|
public class Quad extends TexturedQuad {
|
||||||
Quad(Vertex[] vertices, int texcoordU1, int texcoordV1, int texcoordU2, int texcoordV2, float textureWidth, float textureHeight) {
|
Quad(Vertex[] vertices, int texcoordU1, int texcoordV1, int texcoordU2, int texcoordV2, float textureWidth, float textureHeight) {
|
||||||
super(vertices, texcoordU1, texcoordV1, texcoordU2, texcoordV2, textureWidth, textureHeight);
|
super(vertices, texcoordU1, texcoordV1, texcoordU2, texcoordV2, textureWidth, textureHeight);
|
|
@ -2,6 +2,7 @@ package com.minelittlepony.util.render;
|
||||||
|
|
||||||
import net.minecraft.client.model.PositionTextureVertex;
|
import net.minecraft.client.model.PositionTextureVertex;
|
||||||
|
|
||||||
|
//#MineLittlePony#
|
||||||
public class Vertex extends PositionTextureVertex {
|
public class Vertex extends PositionTextureVertex {
|
||||||
|
|
||||||
public Vertex(float x, float y, float z, float texX, float texY) {
|
public Vertex(float x, float y, float z, float texX, float texY) {
|
Loading…
Reference in a new issue