no need to add that for now
This commit is contained in:
1 parent
b00b5772c9
commit
8c29db6c5d
1 file changed
+9
-2
@@ -369,8 +369,12 @@ global_functions = {
|
|||||||
'xpstack' -> {
|
'xpstack' -> {
|
||||||
'experience_orb' -> [
|
'experience_orb' -> [
|
||||||
_(arg) -> _(orb) -> (
|
_(arg) -> _(orb) -> (
|
||||||
ct = query(orb, 'nbt', 'Count');
|
tag = query(orb, 'nbt');
|
||||||
[[], [], if (ct > 1, [['stack', 'stack:', ct]],[]) ]
|
ct = tag:'Count';
|
||||||
|
[[], [], if (ct > 1, [
|
||||||
|
//['value', 'size:', tag:'Value'],
|
||||||
|
['stack', ct]
|
||||||
|
],[]) ]
|
||||||
),
|
),
|
||||||
,
|
,
|
||||||
null
|
null
|
||||||
@@ -548,7 +552,10 @@ __handle_entity(e) ->
|
|||||||
if (labels_to_add,
|
if (labels_to_add,
|
||||||
base_height = 0;
|
base_height = 0;
|
||||||
snap = global_entity_anchors:(e~'type') || 'dxydz';
|
snap = global_entity_anchors:(e~'type') || 'dxydz';
|
||||||
|
eid = e~'id';
|
||||||
|
offset = ([(eid % 7)/7,(eid % 13)/13, (eid % 23)/23]-0.5)/2;
|
||||||
base_pos = if(snap == 'xyz', [0, e~'height'+0.3, 0], [0.5, e~'height'+0.3, 0.5]);
|
base_pos = if(snap == 'xyz', [0, e~'height'+0.3, 0], [0.5, e~'height'+0.3, 0.5]);
|
||||||
|
//base_pos = base_pos+offset;
|
||||||
for (labels_to_add,
|
for (labels_to_add,
|
||||||
if (length(_) == 2,
|
if (length(_) == 2,
|
||||||
[label, text] = _;
|
[label, text] = _;
|
||||||
|
|||||||
Reference in new issue
Block a user