Skip to content

Sum up of PUTting /player #104

@oblx

Description

@oblx

I tried every possible body requests for player and here is my summary

"maxHealth" NOPE
"level" NOPE
"foodLevel" NOPE
"position" OK
"scale", OK
"totalExperience" NOPE
"damage" NOPE + ERROR java.lang.IllegalStateException: DamageType was null! (I set type: ATTACK)
"world" OK
"experienceSinceLevel" NOPE
"inventory", OK
"velocity" OK
"rotation" OK
"saturation" NOPE
"health" NOPE
"exhaustion" NOPE

OK : nothing wrong
NOPE : no error but does nothing (like health doesn't change)
NOPE + ERROR : well, there is an error

For damage request, I tried with several types from javadocs :
https://jd.spongepowered.org/7.0.0/org/spongepowered/api/event/cause/entity/damage/DamageTypes.html

Velocity is fun 😎

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions