From 1d6d6448ffb275feea8224c2bcde317b6f3414e5 Mon Sep 17 00:00:00 2001 From: Lars Martens Date: Fri, 20 Aug 2021 19:46:30 +0200 Subject: [PATCH] Add inputs for custom name --- src/App.vue | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index f2c0796..830f70d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -62,6 +62,36 @@
+ + + +
+ + + + + +
+ +
@@ -96,15 +126,26 @@ class Armorstand { this.centerCorrected = false this.enableEquipment = false - // Valid values for this attribute are "item", "name", "url". - // TODO More explanation what each value does + // Equipment attributes this.equipHandRight = "" this.equipHandLeft = "" this.equipBoots = "" this.equipLeggings = "" this.equipChestplate = "" this.equipHelmet = "" + // Valid values for this attribute are "item", "name", "url". + // TODO More explanation what each value does this.helmetMode = "item" + + // CustomName attributes + this.customName = "" + this.showCustomName = false + this.customNameColor = "" + this.customNameBold = false + this.customNameItalic = false + this.customNameObfuscated = false + this.customNameStrikethrough = false + } getScale() { if (this.small) {