Fix left armwear being offset.

This commit is contained in:
Matthew Messinger 2016-04-02 22:57:32 -04:00
parent f3a1c59a77
commit 8bec6f5b85
2 changed files with 10 additions and 12 deletions

View file

@ -16,16 +16,15 @@ buildscript {
}
}
ext.revision = 210
ext.revision = 211
apply plugin: 'net.minecraftforge.gradle.liteloader'
apply plugin: 'org.spongepowered.mixin'
archivesBaseName = "MineLittlePony"
group = 'com.brohoof.minelp'
version = '1.8.9.0'
version = '1.8.9.1'
description = 'Mine Little Pony turns players and mobs into ponies'
ext.startClass = 'com.mumfrey.liteloader.debug.Start'
minecraft {
version = "1.8.9"
mappings = 'stable_22'
@ -50,9 +49,12 @@ sourceSets {
compileClasspath += files(deps + [ main.output, api.output ])
}
}
//project('LiteLoader'){
// mcMappings = rootProject.minecraft.mappings
//}
litemod.json {
name = 'minelp'
revision = ext.revision
mixinConfigs += ['mixin.minelp.json', 'mixin.hdskins.json']
//tweakClass = 'com.brohoof.minelittlepony.launch.MineLPTweaker'
}
processResources {
def props = [
version: version,
@ -70,11 +72,7 @@ processResources {
}
jar {
//afterEvaluate { manifest.attributes.remove 'TweakClass'}
from sourceSets.findAll { it.name != 'api' }*.output
//extension 'litemod'
//appendix "mc$minecraft.version"
}
mixin {
defaultObfuscationEnv notch

View file

@ -741,7 +741,7 @@ public class ModelPlayerPony extends AbstractPonyModel implements PonyModelConst
this.bipedLeftArm.addBox(-3.0F + THIRDP_ARM_CENTRE_X, -6.0F + THIRDP_ARM_CENTRE_Y, -2.0F + THIRDP_ARM_CENTRE_Z, 4, 12, 4, stretch);
this.bipedLeftArm.setRotationPoint(3.0F, 8.0F + yOffset, 0.0F);
if (this.bipedLeftArmwear != null) {
this.bipedLeftArmwear.addBox(-2.0F + THIRDP_ARM_CENTRE_X, -6.0F + THIRDP_ARM_CENTRE_Y, -2.0F + THIRDP_ARM_CENTRE_Z, 4, 12, 4, stretch + 0.25f);
this.bipedLeftArmwear.addBox(-3.0F + THIRDP_ARM_CENTRE_X, -6.0F + THIRDP_ARM_CENTRE_Y, -2.0F + THIRDP_ARM_CENTRE_Z, 4, 12, 4, stretch + 0.25f);
this.bipedLeftArmwear.setRotationPoint(3.0F, 8.0F + yOffset, 0.0F);
}
}