summaryrefslogtreecommitdiff
path: root/api_new.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-01-04 10:16:21 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-01-04 10:16:21 +0000
commit07bb12acac8df1c294714d89f55d46eb55f076d1 (patch)
treecd002fe51e1284de12d63f907dd44844b9b4fcc3 /api_new.txt
parent9d653f894c9d3bf64ed6f8450136e073fa83ce25 (diff)
added selectionbox to mob definition (dev only for now)
Diffstat (limited to 'api_new.txt')
-rw-r--r--api_new.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/api_new.txt b/api_new.txt
index c2b0e56..f278aa5 100644
--- a/api_new.txt
+++ b/api_new.txt
@@ -140,8 +140,9 @@ functions needed for the mob to work properly which contains the following:
'wielditem' how it looks when player holds it in hand.
'mesh' uses separate object file to define mob.
'visual_size' has the size of the mob, defaults to {x = 1, y = 1}
- 'collision_box' has the box in which mob can be interacted with e.g.
- {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}
+ 'collision_box' has the box in which mob can be interacted with the
+ world e.g. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}
+ 'selection_box' has the box in which player can interact with mob
'textures' holds a table list of textures to be used for mob, or you
could use multiple lists inside another table for random
selection e.g. { {"texture1.png"}, {"texture2.png"} }