Browse Source

minor aesthetic tweaks

master
Adrian Siekierka 2 years ago
parent
commit
d842c8219a

+ 5
- 0
src/main/java/pl/asie/ponysocks/Constants.java View File

@@ -0,0 +1,5 @@
package pl.asie.ponysocks;

public class Constants {
public static final float SOCK_STRETCH = 0.125f;
}

+ 1
- 1
src/main/java/pl/asie/ponysocks/PonySocks.java View File

@@ -37,7 +37,7 @@ import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.oredict.OreDictionary;
import pl.asie.ponysocks.recipe.*;

@Mod(modid = PonySocks.MODID, version = PonySocks.VERSION, acceptableRemoteVersions="*")
@Mod(modid = PonySocks.MODID, version = PonySocks.VERSION, updateJSON = "http://asie.pl/files/minecraft/update/" + PonySocks.MODID + ".json")
public class PonySocks {
public static CreativeTabs tabSocks = new CreativeTabs("tabPonySocks") {
@Override

+ 2
- 1
src/main/java/pl/asie/ponysocks/render/ModelArmorSock.java View File

@@ -21,6 +21,7 @@ import net.minecraft.entity.EntityLivingBase;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.Sys;
import pl.asie.ponysocks.Constants;
import pl.asie.ponysocks.PonySocks;

public class ModelArmorSock extends ModelPonyArmor implements IStackedArmor {
@@ -34,7 +35,7 @@ public class ModelArmorSock extends ModelPonyArmor implements IStackedArmor {

public ModelArmorSock() {
super();
init(0.0F, 0.025F);
init(0.0F, Constants.SOCK_STRETCH);
}

public void setArmorStack(ItemStack stack) {

+ 2
- 1
src/main/java/pl/asie/ponysocks/render/ModelArmorSockBiped.java View File

@@ -17,6 +17,7 @@ import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import pl.asie.ponysocks.Constants;
import pl.asie.ponysocks.PonySocks;

public class ModelArmorSockBiped extends ModelBiped implements IStackedArmor {
@@ -28,7 +29,7 @@ public class ModelArmorSockBiped extends ModelBiped implements IStackedArmor {
private ItemStack stack;

public ModelArmorSockBiped() {
super(0.025F);
super(Constants.SOCK_STRETCH);
}

public void setArmorStack(ItemStack stack) {

BIN
src/main/resources/assets/ponysocks/textures/models/armor/sock_layer_0.png View File


BIN
src/main/resources/assets/ponysocks/textures/models/armor/sock_layer_0_pony.png View File


BIN
src/main/resources/assets/ponysocks/textures/models/armor/sock_layer_1.png View File


BIN
src/main/resources/assets/ponysocks/textures/models/armor/sock_layer_1_pony.png View File


BIN
src/main/resources/assets/ponysocks/textures/models/armor/sock_rainbow.png View File


BIN
src/main/resources/assets/ponysocks/textures/models/armor/sock_rainbow_pony.png View File


+ 1
- 1
src/main/resources/mcmod.info View File

@@ -5,7 +5,7 @@
"description": "The horsiest fashion mod in all of Ponyville!",
"version": "${version}",
"mcversion": "${mcversion}",
"url": "",
"url": "http://asie.pl/Projects/Minecraft/Mods/PonySocks",
"updateUrl": "",
"authorList": ["asie"],
"credits": "",

Loading…
Cancel
Save