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.dsc
+58-3Lines changed: 58 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,48 @@
1
+
# +---------------------------
2
+
# |
3
+
# | D e n i z en M o d e l s
4
+
# | AKA DModels - dynamically animated models in minecraft
5
+
# |
6
+
# +---------------------------
7
+
#
8
+
# This takes BlockBench "BBModel" files, converts them (via external program) to resource pack + Denizen-compatible file,
9
+
# 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.
10
+
#
11
+
# Installation:
12
+
# 1: Add "models.dsc" to your "plugins/Denizen/scripts" and "/ex reload"
13
+
# 2: Make sure you have DenizenModelsConverter.exe on hand, either downloaded or compiled yourself from https://github.com/mcmonkeyprojects/DenizenModels
14
+
# 3: Note that you must know the basics of operating resource packs - the pack content will be generated for you, but you must know how to configure the "mcmeta" pack file and how to install a pack on your client
15
+
#
16
+
# Usage:
17
+
# 1: Create a model using blockbench - https://www.blockbench.net/
18
+
# Create as a 'Generic Model'
19
+
# Make basically anything you want
20
+
# Make sure pivot points are as centered as possible to minimize glitchiness from animations
21
+
# (animations around a distant pivot point require the armor stand move and turn at the same time, which can lose sync with itself)
22
+
# Animate freely, make sure the animation names are clear
23
+
# 2: Save the ".bbmodel" file
24
+
# 3: Use the DenizenModelsConverter program to convert the bbmodel to a ".dmodel.yml" and a resource pack
25
+
# 4: Save the ".dmodel.yml" file into "plugins/Denizen/data/models"
26
+
# 5: Load the resource pack on your client (or include it in your server's automatic resource pack)
27
+
# 6: Spawn your model and control it using the Denizen scripting API documented below
28
+
#
29
+
# API usage examples:
30
+
# # First load a model
31
+
# - ~run dmodels_load_model def.model_name:goat
32
+
# # Then you can spawn it
33
+
# - run dmodels_spawn_model def.model_name:goat def.location:<player.location> save:spawned
- debug error "[DModels] Cannot animate entity <[root_entity].uuid> due to model <[root_entity].flag[dmodel_model_id]> not having an animation named <[animation]>"
0 commit comments