Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TropicalFishData spawning incorrect type #7744

Open
wants to merge 5 commits into
base: dev/feature
Choose a base branch
from

Conversation

Fusezion
Copy link
Contributor

Description

This PR aims to fix an issue with the TropticalFIsh entity data always spawning the next fish in enum ordinal instead of the expected type.

I.e. Snooper always was Dasher, Spotty was always Flopper, ect...

The fix for this was to not do + 1 for ordinals and move "tropical fish" to the end of the code names list


Target Minecraft Versions: any
Requirements: none
Related Issues: none

Before

image

After

image

and just to show random still works when undefined
image

@Fusezion Fusezion requested a review from a team as a code owner March 24, 2025 04:05
@Fusezion Fusezion requested review from cheeezburga and erenkarakal and removed request for a team March 24, 2025 04:05
@Efnilite Efnilite added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants