Skip to content

Add spawnable boat variants - #5027

Merged
JRoy merged 3 commits into
EssentialsX:2.xfrom
pop4959:mobcompat-boats
Aug 2, 2022
Merged

Add spawnable boat variants#5027
JRoy merged 3 commits into
EssentialsX:2.xfrom
pop4959:mobcompat-boats

Conversation

@pop4959

@pop4959pop4959 commented Aug 1, 2022

Copy link
Copy Markdown
Member

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).

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

Copy link
Copy Markdown
MemberAuthor

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

@mdcfemdcfe left a comment

Copy link
Copy Markdown
Member

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 approved these changes Aug 2, 2022
@JRoy
JRoy merged commit c56a9e6 into EssentialsX:2.xAug 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>
rewsdjad1 pushed a commit to rewsdjad1/EssentialsXPlus that referenced this pull request Aug 13, 2026
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: mainIssues or PRs for the main Essentials moduletype: enhancementFeatures and feature requests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pop4959@mdcfe@JRoy