Fix gradle

This commit is contained in:
Sollace 2019-01-31 23:07:47 +02:00
parent c3e1fbd398
commit d5b387ef4d
5 changed files with 6 additions and 0 deletions

View file

@ -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}"
} }

View file

@ -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;

View file

@ -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;

View file

@ -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);

View file

@ -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) {