Sponge icon indicating copy to clipboard operation
Sponge copied to clipboard

Implement scaling for display entities

Open DrZoddiak opened this issue 1 year ago • 2 comments

Implements #setScale for Display Entities since they allow for scaling in 3 directions.

DrZoddiak avatar Jul 15 '24 08:07 DrZoddiak

How does this differ from setting the scale through the Transform or is it just a different way of doing the same thing?

avaruus1 avatar Jul 15 '24 18:07 avaruus1

How does this differ from setting the scale through the Transform or is it just a different way of doing the same thing?

Effectively it's the same thing. Interpolation keys still effect the entity. This PR simply implements a method that already exists but has no implementation.

https://github.com/SpongePowered/Sponge/blob/994fb277df1885974c03289f33563a617c2d355b/src/mixins/java/org/spongepowered/common/mixin/api/minecraft/world/entity/EntityMixin_API.java#L147-L155

DrZoddiak avatar Jul 15 '24 23:07 DrZoddiak