mirror of
https://github.com/haselkern/Minecraft-ArmorStand.git
synced 2025-12-15 00:14:05 +00:00
Add slot locking grid
This commit is contained in:
parent
50c9566df7
commit
4851d583bf
11 changed files with 66 additions and 9 deletions
11
src/components/LockSlotCheckBox.vue
Normal file
11
src/components/LockSlotCheckBox.vue
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<template>
|
||||
<input type="checkbox" @click="armorstand.lockFlags ^= value" :checked="Boolean(armorstand.lockFlags & value)" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// This checkbox is a helper for toggling the binary flag "value" in "armorstand.lockFlags"
|
||||
|
||||
export default {
|
||||
props: ["armorstand", "value"],
|
||||
}
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue