From b8a514f8f91d45bfdd6dff488e9ab6b0bee2eb1f Mon Sep 17 00:00:00 2001 From: Lars Martens Date: Sat, 14 Aug 2021 23:31:31 +0200 Subject: [PATCH] Add new properties, some style --- index.html | 13 +++++---- src/App.vue | 66 +++++++++++++++++++++++++++++++--------------- src/Scene.vue | 6 ++--- tailwind.config.js | 26 +++++++++++------- 4 files changed, 73 insertions(+), 38 deletions(-) diff --git a/index.html b/index.html index 65f2444..a54d74d 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,16 @@ - + + Minecraft Armor Stand - - + + +
- - + + + \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 8630bcb..2d6d005 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,27 +1,46 @@ @@ -62,12 +81,17 @@ class Armorstand { return { x: 1, y: 1, z: 1 } } } + // Return the code to generate this armorstand + getCode(mcVersion) { + // TODO Handle different versions + } } export default { data() { return { armorstand: new Armorstand(), + mcVersion: "1.16", } }, components: { Scene, RotationSliderRow }, diff --git a/src/Scene.vue b/src/Scene.vue index 4fe4181..8335d19 100644 --- a/src/Scene.vue +++ b/src/Scene.vue @@ -1,12 +1,12 @@