Skip to content

Commit

Permalink
Small tweaks to hissing demon model
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackJar72 committed Jun 22, 2021
1 parent 4e4596a commit 2fa748c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/gw/dm/entity/EntityHissingDemon.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class EntityHissingDemon extends EntityDungeonMob implements IMob, IRange

public EntityHissingDemon(World worldIn) {
super(worldIn);
this.setSize(0.9F, 3.5F);
this.isImmuneToFire = true;
this.experienceValue = 50;
for(int i = 0; i < 6; i++) {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/gw/dm/model/ModelHissingDemon.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageI
arms[3].rotateAngleY = arms[4].rotateAngleY = arms[5].rotateAngleY = 0f;
arms[3].rotateAngleX = arms[4].rotateAngleX = arms[5].rotateAngleX = 0f;

tail[0].offsetX = MathHelper.cos(limbSwing * 0.6662F + tailAng[0]) * tailMov[0] * limbSwingAmount * 16f;
tail[1].offsetX = MathHelper.cos(limbSwing * 0.6662F + tailAng[1]) * tailMov[1] * limbSwingAmount * 16f;
tail[2].offsetX = MathHelper.cos(limbSwing * 0.6662F + tailAng[2]) * tailMov[2] * limbSwingAmount * 16f;
tail[3].offsetX = MathHelper.cos(limbSwing * 0.6662F + tailAng[3]) * tailMov[3] * limbSwingAmount * 16f;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2fa748c

Please sign in to comment.