Skip to content

Conversation

@pop4959
Copy link
Member

@pop4959 pop4959 commented Aug 1, 2022

I was quickly looking over the new mobs in 1.19 to make sure we didn't miss anything new, and noticed that boat variants are not covered currently in MobCompat. Apparently this has been the case since 1.9 (when boat variants were added).

Additionally, 1.19 introduces a new enum Boat.Type and deprecates TreeSpecies. We will need to support both for backwards compatibility, but new variants (e.g. mangrove) are only supported using the new enum (in 1.19+). I added a new BoatVariant enum in MobCompat to map between the two (as we currently do for CatType and VillagerProfession).

@pop4959 pop4959 added type: enhancement Features and feature requests. module: main Issues or PRs for the main Essentials module labels Aug 1, 2022
@pop4959 pop4959 added this to the 2.19.5 milestone Aug 1, 2022
@pop4959
Copy link
Member Author

pop4959 commented Aug 1, 2022

I made a slight mistake, the Boat.Type API does exist for 1.19 as long as the server is up-to-date.

Copy link
Member

@mdcfe mdcfe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will let @JRoy review this as well just to be sure

@JRoy JRoy merged commit c56a9e6 into EssentialsX:2.x Aug 2, 2022
@pop4959 pop4959 deleted the mobcompat-boats branch August 2, 2022 20:01
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: main Issues or PRs for the main Essentials module type: enhancement Features and feature requests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants