Skip to content

Commit

Permalink
tweak: disable hurt effect on logs and increase lifespan
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 committed May 5, 2022
1 parent b4b4354 commit 8bac4f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ public void setupAnim(T entity, float limbSwing, float limbSwingAmount, float ag

@Override
public void renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) {
main.render(poseStack, buffer, packedLight, packedOverlay);
main.render(poseStack, buffer, packedLight, 655360);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

public class SubstitutionLogEntity extends Mob {

private int aliveTicks = 20;
private int aliveTicks = 20 * 3;

public SubstitutionLogEntity(EntityType<SubstitutionLogEntity> p_21368_, Level p_21369_) {
super(p_21368_, p_21369_);
Expand Down

0 comments on commit 8bac4f2

Please sign in to comment.