Skip to content

Commit

Permalink
New Models
Browse files Browse the repository at this point in the history
  • Loading branch information
MuradAkh committed Jan 16, 2022
1 parent 8105e6e commit 8b50626
Show file tree
Hide file tree
Showing 15 changed files with 164 additions and 352 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = 'pre-alpha-1.0.2'
version = 'pre-alpha-1.1.0'
group = 'dev.murad.shipping' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'shipping'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,25 @@

public class ChestBargeModel extends EntityModel<ChestBargeEntity> {
private final ModelRenderer bb_main;
private final ModelRenderer cube_r1;


public ChestBargeModel() {
texWidth = 128;
texHeight = 128;

bb_main = new ModelRenderer(this);
bb_main.setPos(0.0F, 24.0F, 0.0F);
bb_main.texOffs(0, 23).addBox(-7.0F, -25.0F, -7.0F, 14.0F, 3.0F, 14.0F, 0.0F, false);
bb_main.texOffs(40, 24).addBox(-8.0F, -27.0F, -8.0F, 1.0F, 3.0F, 16.0F, 0.0F, false);
bb_main.texOffs(38, 4).addBox(-7.0F, -27.0F, -8.0F, 14.0F, 3.0F, 1.0F, 0.0F, false);
bb_main.texOffs(0, 40).addBox(7.0F, -27.0F, -8.0F, 1.0F, 3.0F, 16.0F, 0.0F, false);
bb_main.texOffs(38, 0).addBox(-7.0F, -27.0F, 7.0F, 14.0F, 3.0F, 1.0F, 0.0F, false);
bb_main.texOffs(0, 0).addBox(-6.0F, -34.0F, -7.0F, 12.0F, 9.0F, 14.0F, 0.0F, false);
bb_main.setPos(0.0F, 23.0F, 0.0F);
bb_main.texOffs(0, 0).addBox(-6.0F, -27.0F, -7.0F, 12.0F, 5.0F, 14.0F, 0.0F, false);
bb_main.texOffs(38, 5).addBox(-8.0F, -29.0F, -7.0F, 2.0F, 4.0F, 14.0F, 0.0F, false);
bb_main.texOffs(28, 43).addBox(-6.0F, -29.0F, -9.0F, 12.0F, 4.0F, 2.0F, 0.0F, false);
bb_main.texOffs(26, 25).addBox(6.0F, -29.0F, -7.0F, 2.0F, 4.0F, 14.0F, 0.0F, false);
bb_main.texOffs(0, 41).addBox(-6.0F, -29.0F, 7.0F, 12.0F, 4.0F, 2.0F, 0.0F, false);

cube_r1 = new ModelRenderer(this);
cube_r1.setPos(0.0F, 0.0F, 0.0F);
bb_main.addChild(cube_r1);
setRotationAngle(cube_r1, 0.0F, -1.5708F, 0.0F);
cube_r1.texOffs(0, 19).addBox(-5.0F, -35.0F, -5.0F, 10.0F, 10.0F, 10.0F, 0.0F, false);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,73 +9,47 @@
public class ChunkLoaderBargeModel extends EntityModel<ChunkLoaderBargeEntity> {

private final ModelRenderer bb_main;
private final ModelRenderer bone;
private final ModelRenderer bone3;
private final ModelRenderer cube_r1;
private final ModelRenderer cube_r2;
private final ModelRenderer bone2;
private final ModelRenderer cube_r3;
private final ModelRenderer cube_r4;
private final ModelRenderer ring;
private final ModelRenderer ring2;
private final ModelRenderer ring3;

public ChunkLoaderBargeModel() {
texWidth = 128;
texHeight = 128;
texWidth = 64;
texHeight = 64;

bb_main = new ModelRenderer(this);
bb_main.setPos(0.0F, 24.0F, 0.0F);
bb_main.texOffs(0, 0).addBox(-7.0F, -25.0F, -7.0F, 14.0F, 3.0F, 14.0F, 0.0F, false);
bb_main.texOffs(18, 20).addBox(-8.0F, -27.0F, -8.0F, 1.0F, 3.0F, 16.0F, 0.0F, false);
bb_main.texOffs(36, 32).addBox(-7.0F, -27.0F, -8.0F, 14.0F, 3.0F, 1.0F, 0.0F, false);
bb_main.texOffs(0, 17).addBox(7.0F, -27.0F, -8.0F, 1.0F, 3.0F, 16.0F, 0.0F, false);
bb_main.texOffs(36, 28).addBox(-7.0F, -27.0F, 7.0F, 14.0F, 3.0F, 1.0F, 0.0F, false);
bb_main.setPos(0.0F, 23.0F, 0.0F);
bb_main.texOffs(0, 0).addBox(-6.0F, -27.0F, -7.0F, 12.0F, 5.0F, 14.0F, 0.0F, false);
bb_main.texOffs(18, 23).addBox(-8.0F, -29.0F, -7.0F, 2.0F, 4.0F, 14.0F, 0.0F, false);
bb_main.texOffs(36, 25).addBox(-6.0F, -29.0F, -9.0F, 12.0F, 4.0F, 2.0F, 0.0F, false);
bb_main.texOffs(0, 19).addBox(6.0F, -29.0F, -7.0F, 2.0F, 4.0F, 14.0F, 0.0F, false);
bb_main.texOffs(36, 19).addBox(-6.0F, -29.0F, 7.0F, 12.0F, 4.0F, 2.0F, 0.0F, false);
bb_main.texOffs(0, 37).addBox(-2.0F, -33.0F, -2.0F, 4.0F, 4.0F, 4.0F, 0.0F, false);

ring = new ModelRenderer(this);
ring.setPos(0.0F, 0.0F, 0.0F);
bb_main.addChild(ring);
ring.texOffs(38, 0).addBox(-5.0F, -29.0F, -5.0F, 10.0F, 2.0F, 2.0F, 0.0F, false);
ring.texOffs(36, 31).addBox(-5.0F, -29.0F, 3.0F, 10.0F, 2.0F, 2.0F, 0.0F, false);
ring.texOffs(10, 41).addBox(3.0F, -29.0F, -3.0F, 2.0F, 2.0F, 6.0F, 0.0F, false);
ring.texOffs(38, 4).addBox(-5.0F, -29.0F, -3.0F, 2.0F, 2.0F, 6.0F, 0.0F, false);

ring2 = new ModelRenderer(this);
ring2.setPos(0.0F, -3.0F, 0.0F);
bb_main.addChild(ring2);
ring2.texOffs(38, 0).addBox(-5.0F, -29.0F, -5.0F, 10.0F, 2.0F, 2.0F, 0.0F, false);
ring2.texOffs(36, 31).addBox(-5.0F, -29.0F, 3.0F, 10.0F, 2.0F, 2.0F, 0.0F, false);
ring2.texOffs(10, 41).addBox(3.0F, -29.0F, -3.0F, 2.0F, 2.0F, 6.0F, 0.0F, false);
ring2.texOffs(38, 4).addBox(-5.0F, -29.0F, -3.0F, 2.0F, 2.0F, 6.0F, 0.0F, false);

ring3 = new ModelRenderer(this);
ring3.setPos(0.0F, -7.0F, 0.0F);
bb_main.addChild(ring3);
ring3.texOffs(38, 0).addBox(-5.0F, -29.0F, -5.0F, 10.0F, 2.0F, 2.0F, 0.0F, false);
ring3.texOffs(36, 31).addBox(-5.0F, -29.0F, 3.0F, 10.0F, 2.0F, 2.0F, 0.0F, false);
ring3.texOffs(10, 41).addBox(3.0F, -29.0F, -3.0F, 2.0F, 2.0F, 6.0F, 0.0F, false);
ring3.texOffs(38, 4).addBox(-5.0F, -29.0F, -3.0F, 2.0F, 2.0F, 6.0F, 0.0F, false);

bone = new ModelRenderer(this);
bone.setPos(0.0F, 24.0F, 0.0F);


bone3 = new ModelRenderer(this);
bone3.setPos(0.0F, 0.0F, 0.0F);
bone.addChild(bone3);
bone3.texOffs(42, 8).addBox(-5.0F, -28.0F, -5.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
bone3.texOffs(42, 4).addBox(-5.0F, -28.0F, 4.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
bone3.texOffs(0, 43).addBox(-5.0F, -26.0F, -5.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
bone3.texOffs(22, 43).addBox(-5.0F, -26.0F, 4.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);

cube_r1 = new ModelRenderer(this);
cube_r1.setPos(0.0F, 0.0F, 0.0F);
bone3.addChild(cube_r1);
setRotationAngle(cube_r1, 0.0F, -1.5708F, 0.0F);
cube_r1.texOffs(42, 12).addBox(-5.0F, -27.0F, 4.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
cube_r1.texOffs(42, 10).addBox(-5.0F, -27.0F, -5.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);

cube_r2 = new ModelRenderer(this);
cube_r2.setPos(0.0F, -2.0F, 0.0F);
bone3.addChild(cube_r2);
setRotationAngle(cube_r2, 0.0F, -1.5708F, 0.0F);
cube_r2.texOffs(42, 2).addBox(-5.0F, -27.0F, 4.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
cube_r2.texOffs(42, 6).addBox(-5.0F, -27.0F, -5.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);

bone2 = new ModelRenderer(this);
bone2.setPos(0.0F, -4.0F, 0.0F);
bone.addChild(bone2);
bone2.texOffs(42, 0).addBox(-5.0F, -28.0F, -5.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
bone2.texOffs(22, 41).addBox(-5.0F, -28.0F, 4.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
bone2.texOffs(22, 39).addBox(-5.0F, -26.0F, -5.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
bone2.texOffs(0, 39).addBox(-5.0F, -26.0F, 4.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
bone2.texOffs(0, 0).addBox(-1.0F, -27.0F, -1.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

cube_r3 = new ModelRenderer(this);
cube_r3.setPos(0.0F, 0.0F, 0.0F);
bone2.addChild(cube_r3);
setRotationAngle(cube_r3, 0.0F, -1.5708F, 0.0F);
cube_r3.texOffs(18, 17).addBox(-5.0F, -27.0F, 4.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);
cube_r3.texOffs(0, 41).addBox(-5.0F, -27.0F, -5.0F, 10.0F, 1.0F, 1.0F, 0.0F, false);

cube_r4 = new ModelRenderer(this);
cube_r4.setPos(0.0F, -2.0F, 0.0F);
bone2.addChild(cube_r4);
setRotationAngle(cube_r4, 0.0F, -1.5708F, 0.0F);
cube_r4.texOffs(36, 17).addBox(-5.0F, -27.0F, -5.0F, 10.0F, 1.0F, 10.0F, 0.0F, false);
}

@Override
Expand All @@ -86,7 +60,7 @@ public void setupAnim(ChunkLoaderBargeEntity entity, float limbSwing, float limb
@Override
public void renderToBuffer(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha){
bb_main.render(matrixStack, buffer, packedLight, packedOverlay);
bone.render(matrixStack, buffer, packedLight, packedOverlay);

}

public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,120 +13,59 @@
public class FishingBargeDeployedModel extends EntityModel<Entity> {
private final ModelRenderer bb_main;
private final ModelRenderer bone;
private final ModelRenderer bone4;
private final ModelRenderer bone2;
private final ModelRenderer cube_r1;
private final ModelRenderer bone3;
private final ModelRenderer bone4;
private final ModelRenderer cube_r2;
private final ModelRenderer bone5;
private final ModelRenderer bone6;
private final ModelRenderer bone2;
private final ModelRenderer bone7;

public FishingBargeDeployedModel() {
texWidth = 64;
texHeight = 64;
texWidth = 128;
texHeight = 128;

bb_main = new ModelRenderer(this);
bb_main.setPos(0.0F, 24.0F, 0.0F);
bb_main.texOffs(0, 0).addBox(-7.0F, -25.0F, -7.0F, 14.0F, 3.0F, 14.0F, 0.0F, false);
bb_main.texOffs(16, 20).addBox(-8.0F, -27.0F, -7.0F, 1.0F, 3.0F, 14.0F, 0.0F, false);
bb_main.texOffs(0, 17).addBox(7.0F, -27.0F, -7.0F, 1.0F, 3.0F, 14.0F, 0.0F, false);
bb_main.texOffs(0, 0).addBox(-6.0F, -28.0F, -7.0F, 12.0F, 5.0F, 14.0F, 0.0F, false);
bb_main.texOffs(18, 23).addBox(-8.0F, -30.0F, -7.0F, 2.0F, 4.0F, 14.0F, 0.0F, false);
bb_main.texOffs(0, 19).addBox(6.0F, -30.0F, -7.0F, 2.0F, 4.0F, 14.0F, 0.0F, false);

bone = new ModelRenderer(this);
bone.setPos(0.0F, 24.0F, 0.0F);


bone4 = new ModelRenderer(this);
bone4.setPos(27.0F, 24.0F, 0.0F);
bone.setPos(0.0F, -3.0F, -4.0F);
setRotationAngle(bone, 1.5708F, 0.0F, 0.0F);
bone.texOffs(6, 0).addBox(-6.0F, -9.0F, 0.0F, 1.0F, 9.0F, 2.0F, 0.0F, false);
bone.texOffs(0, 0).addBox(5.0F, -9.0F, 0.0F, 1.0F, 9.0F, 2.0F, 0.0F, false);

bone2 = new ModelRenderer(this);
bone2.setPos(0.0F, -7.0F, -1.0F);
bone.addChild(bone2);
setRotationAngle(bone2, -1.5708F, 0.0F, 0.0F);
bone2.texOffs(36, 19).addBox(-5.0F, -1.0F, -4.0F, 10.0F, 4.0F, 7.0F, 0.0F, false);
bone2.texOffs(38, 8).addBox(-5.0F, -1.0F, -1.0F, 1.0F, 4.0F, 2.0F, 0.0F, false);

cube_r1 = new ModelRenderer(this);
cube_r1.setPos(-34.0F, -25.0F, 3.0F);
bone4.addChild(cube_r1);
setRotationAngle(cube_r1, -1.3963F, 0.0F, 0.0F);
cube_r1.texOffs(8, 34).addBox(0.0F, -9.0F, -1.0F, 1.0F, 9.0F, 1.0F, 0.0F, false);
cube_r1.texOffs(12, 34).addBox(13.0F, -9.0F, -1.0F, 1.0F, 9.0F, 1.0F, 0.0F, false);
cube_r1.setPos(4.5F, 2.0F, 0.0F);
bone2.addChild(cube_r1);
setRotationAngle(cube_r1, 0.0F, 3.1416F, 0.0F);
cube_r1.texOffs(44, 8).addBox(-0.5F, -3.0F, -1.0F, 1.0F, 4.0F, 2.0F, 0.0F, true);

bone3 = new ModelRenderer(this);
bone3.setPos(34.0F, 24.0F, 0.0F);
bone3.setPos(0.0F, -3.0F, 4.0F);
setRotationAngle(bone3, -1.5708F, 0.0F, 0.0F);
bone3.texOffs(6, 0).addBox(-6.0F, -9.0F, -2.0F, 1.0F, 9.0F, 2.0F, 0.0F, false);
bone3.texOffs(0, 0).addBox(5.0F, -9.0F, -2.0F, 1.0F, 9.0F, 2.0F, 0.0F, false);

bone4 = new ModelRenderer(this);
bone4.setPos(0.0F, -7.0F, 1.0F);
bone3.addChild(bone4);
setRotationAngle(bone4, 1.5708F, 0.0F, 0.0F);
bone4.texOffs(36, 19).addBox(-5.0F, -1.0F, -3.0F, 10.0F, 4.0F, 7.0F, 0.0F, false);
bone4.texOffs(38, 8).addBox(-5.0F, -1.0F, -1.0F, 1.0F, 4.0F, 2.0F, 0.0F, false);

cube_r2 = new ModelRenderer(this);
cube_r2.setPos(-41.0F, -25.0F, -3.0F);
bone3.addChild(cube_r2);
setRotationAngle(cube_r2, 1.3963F, 0.0F, 0.0F);
cube_r2.texOffs(0, 34).addBox(0.0F, -9.0F, 0.0F, 1.0F, 9.0F, 1.0F, 0.0F, false);
cube_r2.texOffs(4, 34).addBox(13.0F, -9.0F, 0.0F, 1.0F, 9.0F, 1.0F, 0.0F, false);

bone5 = new ModelRenderer(this);
bone5.setPos(17.0F, 21.0F, -8.0F);
bone5.texOffs(0, 17).addBox(-12.0F, -25.0F, -4.0F, 1.0F, 3.0F, 1.0F, 0.0F, false);
bone5.texOffs(16, 19).addBox(-23.0F, -25.0F, -4.0F, 1.0F, 3.0F, 1.0F, 0.0F, false);
bone5.texOffs(32, 23).addBox(-23.0F, -22.0F, -1.0F, 12.0F, 1.0F, 1.0F, 0.0F, false);
bone5.texOffs(16, 19).addBox(-23.0F, -22.0F, -6.0F, 1.0F, 1.0F, 5.0F, 0.0F, false);
bone5.texOffs(32, 21).addBox(-23.0F, -22.0F, -7.0F, 12.0F, 1.0F, 1.0F, 0.0F, false);
bone5.texOffs(0, 17).addBox(-12.0F, -22.0F, -6.0F, 1.0F, 1.0F, 5.0F, 0.0F, false);

bone6 = new ModelRenderer(this);
bone6.setPos(-17.0F, 28.0F, -17.0F);
bone5.addChild(bone6);
bone6.texOffs(32, 37).addBox(1.0F, -49.0F, 15.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(23, 19).addBox(3.0F, -49.0F, 15.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(23, 21).addBox(-5.0F, -49.0F, 15.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(36, 37).addBox(-2.0F, -49.0F, 15.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(20, 37).addBox(-5.0F, -49.0F, 14.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(16, 37).addBox(-5.0F, -49.0F, 12.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(35, 30).addBox(4.0F, -49.0F, 12.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(35, 32).addBox(4.0F, -49.0F, 14.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(24, 37).addBox(-2.0F, -49.0F, 11.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(35, 28).addBox(-3.0F, -48.0F, 12.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(32, 27).addBox(-4.0F, -48.0F, 13.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(32, 25).addBox(3.0F, -48.0F, 13.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(7, 19).addBox(-1.0F, -48.0F, 12.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(24, 29).addBox(-2.0F, -47.0F, 13.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(20, 29).addBox(1.0F, -47.0F, 13.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(7, 17).addBox(-1.0F, -48.0F, 14.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(35, 26).addBox(2.0F, -48.0F, 12.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(32, 29).addBox(-3.0F, -48.0F, 14.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(32, 31).addBox(2.0F, -48.0F, 14.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(28, 37).addBox(1.0F, -49.0F, 11.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(6, 23).addBox(3.0F, -49.0F, 11.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone6.texOffs(0, 23).addBox(-5.0F, -49.0F, 11.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);

bone2 = new ModelRenderer(this);
bone2.setPos(17.0F, 21.0F, 15.0F);
bone2.texOffs(0, 6).addBox(-12.0F, -25.0F, -4.0F, 1.0F, 3.0F, 1.0F, 0.0F, false);
bone2.texOffs(0, 0).addBox(-23.0F, -25.0F, -4.0F, 1.0F, 3.0F, 1.0F, 0.0F, false);
bone2.texOffs(32, 19).addBox(-23.0F, -22.0F, -1.0F, 12.0F, 1.0F, 1.0F, 0.0F, false);
bone2.texOffs(0, 6).addBox(-23.0F, -22.0F, -6.0F, 1.0F, 1.0F, 5.0F, 0.0F, false);
bone2.texOffs(16, 17).addBox(-23.0F, -22.0F, -7.0F, 12.0F, 1.0F, 1.0F, 0.0F, false);
bone2.texOffs(0, 0).addBox(-12.0F, -22.0F, -6.0F, 1.0F, 1.0F, 5.0F, 0.0F, false);

bone7 = new ModelRenderer(this);
bone7.setPos(-17.0F, 28.0F, -17.0F);
bone2.addChild(bone7);
bone7.texOffs(16, 29).addBox(1.0F, -49.0F, 15.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(6, 12).addBox(3.0F, -49.0F, 15.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(0, 12).addBox(-5.0F, -49.0F, 15.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(8, 29).addBox(-2.0F, -49.0F, 15.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(4, 29).addBox(-5.0F, -49.0F, 14.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(0, 29).addBox(-5.0F, -49.0F, 12.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(24, 27).addBox(4.0F, -49.0F, 12.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(20, 27).addBox(4.0F, -49.0F, 14.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(16, 27).addBox(-2.0F, -49.0F, 11.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(8, 27).addBox(-3.0F, -48.0F, 12.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(4, 27).addBox(-4.0F, -48.0F, 13.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(0, 27).addBox(3.0F, -48.0F, 13.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(7, 8).addBox(-1.0F, -48.0F, 12.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(24, 25).addBox(-2.0F, -47.0F, 13.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(20, 25).addBox(1.0F, -47.0F, 13.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(7, 6).addBox(-1.0F, -48.0F, 14.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(16, 25).addBox(2.0F, -48.0F, 12.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(8, 25).addBox(-3.0F, -48.0F, 14.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(4, 25).addBox(2.0F, -48.0F, 14.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(0, 25).addBox(1.0F, -49.0F, 11.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(7, 2).addBox(3.0F, -49.0F, 11.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
bone7.texOffs(7, 0).addBox(-5.0F, -49.0F, 11.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
cube_r2.setPos(4.5F, 2.0F, 0.0F);
bone4.addChild(cube_r2);
setRotationAngle(cube_r2, 0.0F, -3.1416F, 0.0F);
cube_r2.texOffs(38, 8).addBox(-0.5F, -3.0F, -1.0F, 1.0F, 4.0F, 2.0F, 0.0F, false);
}

@Override
Expand All @@ -138,10 +77,8 @@ public void setupAnim(Entity entity, float limbSwing, float limbSwingAmount, flo
public void renderToBuffer(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha){
bb_main.render(matrixStack, buffer, packedLight, packedOverlay);
bone.render(matrixStack, buffer, packedLight, packedOverlay);
bone4.render(matrixStack, buffer, packedLight, packedOverlay);
bone3.render(matrixStack, buffer, packedLight, packedOverlay);
bone5.render(matrixStack, buffer, packedLight, packedOverlay);
bone2.render(matrixStack, buffer, packedLight, packedOverlay);

}

public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) {
Expand Down
Loading

0 comments on commit 8b50626

Please sign in to comment.