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

Sittable does not extend any entity class #12014

Closed
NonSwag opened this issue Jan 26, 2025 · 1 comment · Fixed by #12016
Closed

Sittable does not extend any entity class #12014

NonSwag opened this issue Jan 26, 2025 · 1 comment · Fixed by #12016
Labels
scope: api status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. version: 1.21.4 Game version 1.21.4

Comments

@NonSwag
Copy link
Contributor

NonSwag commented Jan 26, 2025

Expected behavior

As documented, Sittable applies to Animals and since all implementing classes of Sittable share the Animals class it should extend Animals

Observed/Actual behavior

Sittable does not extend any entity class

Steps/models to reproduce

Plugin and Datapack List

Paper version

This server is running Paper version 1.21.4-126-main@fb5b173 (2025-01-25T20:51:32Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.4-121-88bbead (MC: 1.21.4)

Other

this makes it not possible to use sittable in generic contexts where you expect an instance of entity
Image

@papermc-sniffer papermc-sniffer bot added the version: 1.21.4 Game version 1.21.4 label Jan 26, 2025
@Lulu13022002 Lulu13022002 added status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. scope: api and removed status: needs triage labels Jan 27, 2025
@NonSwag
Copy link
Contributor Author

NonSwag commented Jan 27, 2025

The same problem applies to Attributable
I doubt attributes will ever be applicable to non entity objects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: api status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. version: 1.21.4 Game version 1.21.4
Projects
None yet
2 participants