Skip to content

Commit

Permalink
Update Concrete. (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkevilmac authored and unascribed committed Jun 28, 2017
1 parent 66c3ad4 commit e05a189
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion project.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ext.useElytraVersionFormat = true
ext.version = '2'

// 0.2.1 is the earliest Concrete version supported by the skeleton.
ext.concreteVersion = '0.2.1'
ext.concreteVersion = '0.3.1'
ext.concreteModules = [ 'common', 'network', 'reflect' ]

ext.forge = '1.12-14.21.0.2359'
Expand Down
14 changes: 7 additions & 7 deletions src/main/java/com/elytradev/fruitphone/proxy/ClientProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ public ClientProxy() {
prevEquippedProgressMainHand = Accessors.findField(ItemRenderer.class, "field_187470_g", "prevEquippedProgressMainHand", "g");
prevEquippedProgressOffHand = Accessors.findField(ItemRenderer.class, "field_187472_i", "prevEquippedProgressOffHand", "i");

setLightmap = Invokers.findMethod(ItemRenderer.class, null, new String[] {"func_187464_b", "setLightmap", "b"});
rotateArroundXAndY = Invokers.findMethod(ItemRenderer.class, null, new String[] {"func_178101_a", "rotateArroundXAndY", "a"}, float.class, float.class);
transformSideFirstPerson = Invokers.findMethod(ItemRenderer.class, null, new String[] {"func_187459_b", "transformSideFirstPerson", "b"}, EnumHandSide.class, float.class);
transformFirstPerson = Invokers.findMethod(ItemRenderer.class, null, new String[] {"func_187453_a", "transformFirstPerson", "a"}, EnumHandSide.class, float.class);
rotateArm = Invokers.findMethod(ItemRenderer.class, null, new String[] {"func_187458_c", "rotateArm", "c"}, float.class);
setLightmap = Invokers.findMethod(ItemRenderer.class, "setLightmap", "func_187464_b");
rotateArroundXAndY = Invokers.findMethod(ItemRenderer.class, "rotateArroundXAndY", "func_178101_a", float.class, float.class);
transformSideFirstPerson = Invokers.findMethod(ItemRenderer.class, "transformSideFirstPerson", "func_187459_b", EnumHandSide.class, float.class);
transformFirstPerson = Invokers.findMethod(ItemRenderer.class, "transformFirstPerson", "func_187453_a", EnumHandSide.class, float.class);
rotateArm = Invokers.findMethod(ItemRenderer.class, "rotateArm", "func_187458_c", float.class);

applyBobbing = Invokers.findMethod(EntityRenderer.class, null, new String[] {"func_78475_f", "applyBobbing", "e"}, float.class);
hurtCameraEffect = Invokers.findMethod(EntityRenderer.class, null, new String[] {"func_78482_e", "hurtCameraEffect", "d"}, float.class);
applyBobbing = Invokers.findMethod(EntityRenderer.class, "applyBobbing", "func_78475_f", float.class);
hurtCameraEffect = Invokers.findMethod(EntityRenderer.class, "hurtCameraEffect", "func_78482_e", float.class);
}

@Override
Expand Down

0 comments on commit e05a189

Please sign in to comment.