Added alpha, size, scale, and speed attributes to player skin overlays.

This commit is contained in:
Luis C.M committed 2022-05-16 23:27:11 -05:00
1 parent 83fbccdf55
commit f9fcd6b9f8
7 files changed
+105 -9

No files matched your search

@@ -536,6 +536,11 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
compound.setString("SkinOverlayTexture", overlay.getTexture());
compound.setBoolean("SkinOverlayGlow", overlay.getGlow());
compound.setFloat("SkinOverlayAlpha", overlay.getAlpha());
compound.setFloat("SkinOverlaySize", overlay.getSize());
compound.setFloat("SkinOverlaySpeedX", overlay.getSpeedX());
compound.setFloat("SkinOverlaySpeedY", overlay.getSpeedY());
compound.setFloat("SkinOverlayScaleX", overlay.getScaleX());
compound.setFloat("SkinOverlayScaleY", overlay.getScaleY());
if (!player.getEntityData().hasKey("SkinOverlayData")) {
NBTTagList tagList = new NBTTagList();