minecraft-expanded-datapack/data/undeadm-m2/functions/villager_data/names.mcfunction

107 lines
12 KiB
Mcfunction
Raw Permalink Normal View History

# make name visible
data merge entity @s {CustomNameVisible:1}
# names :D
function undeadm-random:rand100
execute if score $value rnd_random matches 0 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.0"}'}
execute if score $value rnd_random matches 1 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.1"}'}
execute if score $value rnd_random matches 2 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.2"}'}
execute if score $value rnd_random matches 3 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.3"}'}
execute if score $value rnd_random matches 4 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.4"}'}
execute if score $value rnd_random matches 5 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.5"}'}
execute if score $value rnd_random matches 6 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.6"}'}
execute if score $value rnd_random matches 7 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.7"}'}
execute if score $value rnd_random matches 8 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.8"}'}
execute if score $value rnd_random matches 9 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.9"}'}
execute if score $value rnd_random matches 10 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.10"}'}
execute if score $value rnd_random matches 11 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.11"}'}
execute if score $value rnd_random matches 12 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.12"}'}
execute if score $value rnd_random matches 13 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.13"}'}
execute if score $value rnd_random matches 14 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.14"}'}
execute if score $value rnd_random matches 15 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.15"}'}
execute if score $value rnd_random matches 16 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.16"}'}
execute if score $value rnd_random matches 17 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.17"}'}
execute if score $value rnd_random matches 18 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.18"}'}
execute if score $value rnd_random matches 19 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.19"}'}
execute if score $value rnd_random matches 20 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.20"}'}
execute if score $value rnd_random matches 21 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.21"}'}
execute if score $value rnd_random matches 22 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.22"}'}
execute if score $value rnd_random matches 23 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.23"}'}
execute if score $value rnd_random matches 24 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.24"}'}
execute if score $value rnd_random matches 25 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.25"}'}
execute if score $value rnd_random matches 26 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.26"}'}
execute if score $value rnd_random matches 27 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.27"}'}
execute if score $value rnd_random matches 28 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.28"}'}
execute if score $value rnd_random matches 29 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.29"}'}
execute if score $value rnd_random matches 30 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.30"}'}
execute if score $value rnd_random matches 31 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.31"}'}
execute if score $value rnd_random matches 32 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.32"}'}
execute if score $value rnd_random matches 33 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.33"}'}
execute if score $value rnd_random matches 34 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.34"}'}
execute if score $value rnd_random matches 35 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.35"}'}
execute if score $value rnd_random matches 36 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.36"}'}
execute if score $value rnd_random matches 37 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.37"}'}
execute if score $value rnd_random matches 38 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.38"}'}
execute if score $value rnd_random matches 39 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.39"}'}
execute if score $value rnd_random matches 40 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.40"}'}
execute if score $value rnd_random matches 41 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.41"}'}
execute if score $value rnd_random matches 42 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.42"}'}
execute if score $value rnd_random matches 43 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.43"}'}
execute if score $value rnd_random matches 44 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.44"}'}
execute if score $value rnd_random matches 45 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.45"}'}
execute if score $value rnd_random matches 46 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.46"}'}
execute if score $value rnd_random matches 47 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.47"}'}
execute if score $value rnd_random matches 48 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.48"}'}
execute if score $value rnd_random matches 49 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.49"}'}
execute if score $value rnd_random matches 50 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.50"}'}
execute if score $value rnd_random matches 51 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.51"}'}
execute if score $value rnd_random matches 52 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.52"}'}
execute if score $value rnd_random matches 53 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.53"}'}
execute if score $value rnd_random matches 54 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.54"}'}
execute if score $value rnd_random matches 55 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.55"}'}
execute if score $value rnd_random matches 56 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.56"}'}
execute if score $value rnd_random matches 57 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.57"}'}
execute if score $value rnd_random matches 58 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.58"}'}
execute if score $value rnd_random matches 59 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.59"}'}
execute if score $value rnd_random matches 60 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.60"}'}
execute if score $value rnd_random matches 61 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.61"}'}
execute if score $value rnd_random matches 62 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.62"}'}
execute if score $value rnd_random matches 63 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.63"}'}
execute if score $value rnd_random matches 64 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.64"}'}
execute if score $value rnd_random matches 65 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.65"}'}
execute if score $value rnd_random matches 66 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.66"}'}
execute if score $value rnd_random matches 67 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.67"}'}
execute if score $value rnd_random matches 68 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.68"}'}
execute if score $value rnd_random matches 69 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.69"}'}
execute if score $value rnd_random matches 70 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.70"}'}
execute if score $value rnd_random matches 71 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.71"}'}
execute if score $value rnd_random matches 72 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.72"}'}
execute if score $value rnd_random matches 73 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.73"}'}
execute if score $value rnd_random matches 74 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.74"}'}
execute if score $value rnd_random matches 75 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.75"}'}
execute if score $value rnd_random matches 76 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.76"}'}
execute if score $value rnd_random matches 77 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.77"}'}
execute if score $value rnd_random matches 78 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.78"}'}
execute if score $value rnd_random matches 79 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.79"}'}
execute if score $value rnd_random matches 80 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.80"}'}
execute if score $value rnd_random matches 81 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.81"}'}
execute if score $value rnd_random matches 82 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.82"}'}
execute if score $value rnd_random matches 83 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.83"}'}
execute if score $value rnd_random matches 84 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.84"}'}
execute if score $value rnd_random matches 85 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.85"}'}
execute if score $value rnd_random matches 86 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.86"}'}
execute if score $value rnd_random matches 87 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.87"}'}
execute if score $value rnd_random matches 88 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.88"}'}
execute if score $value rnd_random matches 89 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.89"}'}
execute if score $value rnd_random matches 90 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.90"}'}
execute if score $value rnd_random matches 91 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.91"}'}
execute if score $value rnd_random matches 92 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.92"}'}
execute if score $value rnd_random matches 93 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.93"}'}
execute if score $value rnd_random matches 94 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.94"}'}
execute if score $value rnd_random matches 95 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.95"}'}
execute if score $value rnd_random matches 96 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.96"}'}
execute if score $value rnd_random matches 97 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.97"}'}
execute if score $value rnd_random matches 98 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.98"}'}
execute if score $value rnd_random matches 99 run data merge entity @s {CustomName:'{"translate":"entity.villager.name.99"}'}
scoreboard players reset $value rnd_random