Skip to content

Commit

Permalink
[FIX] Made butterfly egg-laying 16 times rarer.
Browse files Browse the repository at this point in the history
  • Loading branch information
doc-bok committed Oct 15, 2023
1 parent 25a1ada commit dd0659f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

## Changelog

### 0.8.3 (2023-10-15)
- Made butterfly egg-laying 16 times rarer.

### 0.8.2 (2023-10-15)
- Fixed emperor chrysalis texture.

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mod_name=Butterfly Mod
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=All Rights Reserved
# The mod version. See https://semver.org/
mod_version=0.8.2
mod_version=0.8.3
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ protected void customServerAiStep() {
this.setYRot(this.getYRot() + (float)yRotDelta);

// Attempt to lay an egg.
if (this.random.nextInt(20) == 1) {
if (this.random.nextInt(320) == 1) {
BlockPos position = this.blockPosition();
position = switch (this.random.nextInt(6)) {
default -> position.above();
Expand Down

0 comments on commit dd0659f

Please sign in to comment.