Skip to content

Commit

Permalink
Make weaponized snow golems drop experience
Browse files Browse the repository at this point in the history
  • Loading branch information
doctor4t committed Dec 26, 2020
1 parent 39e1ddb commit c2a179b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,9 @@ public void writeCustomDataToTag(CompoundTag tag) {

tag.putInt("Head", this.getHead());
}

@Override
protected int getCurrentExperience(PlayerEntity player) {
return 1 + this.world.random.nextInt(3);
}
}

0 comments on commit c2a179b

Please sign in to comment.