You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/dmodels_main.dsc
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@
7
7
#
8
8
# @author mcmonkey
9
9
# @date 2022/06/01
10
-
# @updated 2022/06/13
10
+
# @updated 2022/07/06
11
11
# @denizen-build REL-1772
12
-
# @script-version 1.3
12
+
# @script-version 1.4
13
13
#
14
-
# This takes BlockBench "BBModel" files, converts them (via external program) to resource pack + Denizen-compatible file,
14
+
# This takes BlockBench "BBModel" files, converts them to a client-ready resource pack and Denizen internal data,
15
15
# then is able to display them in minecraft and even animate them, by spawning and moving invisible armor stands with resource pack items on their heads.
16
16
#
17
17
# Installation:
@@ -96,6 +96,15 @@
96
96
# animation: The name of the animation to play (as set in BlockBench).
97
97
# timespot: The time (in seconds) from the start of the animation to select as the frame.
98
98
# delay_pose: 'true' if playing fluidly to offset the pose application over time, 'false' to snap exactly to frame position.
99
+
# Flags:
100
+
# Every entity spawned by DModels has the flag 'dmodel_root', that refers up to the root entity.
101
+
# The root entity has the following flags:
102
+
# 'dmodel_model_id': the name of the model used.
103
+
# 'dmodel_parts': a list of all part entities spawned.
104
+
# 'dmodel_anim_part.<ID_HERE>': a mapping of outline IDs to the part entity spawned for them.
105
+
# 'dmodels_animation_id': only if the model is animating automatically, contains the animation ID.
106
+
# 'dmodels_anim_time': only if the model is animating automatically, contains the progress through the current animation as a number representing time.
107
+
# Additional flags are present on both the root and on parts, but are not considered API - use at your own risk.
0 commit comments