diff options
author | orwell96 <orwell@bleipb.de> | 2017-11-23 17:00:39 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2017-11-23 17:00:39 +0100 |
commit | d78d07589d31db62167eafafb36b9e8c0468c6d1 (patch) | |
tree | abc9647e10c9f27d311b179a6d02871c1658097c /advtrains/api_doc.txt | |
parent | 5fc6cc7f5b7125e470e0e24e4da639f868476dc3 (diff) | |
download | advtrains-d78d07589d31db62167eafafb36b9e8c0468c6d1.tar.gz advtrains-d78d07589d31db62167eafafb36b9e8c0468c6d1.tar.bz2 advtrains-d78d07589d31db62167eafafb36b9e8c0468c6d1.zip |
Add modifiable wagon extents
This will be required for advcarts
Diffstat (limited to 'advtrains/api_doc.txt')
-rw-r--r-- | advtrains/api_doc.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/advtrains/api_doc.txt b/advtrains/api_doc.txt index b02ff83..9ea3cb6 100644 --- a/advtrains/api_doc.txt +++ b/advtrains/api_doc.txt @@ -71,6 +71,13 @@ advtrains.register_wagon(name, prototype, description, inventory_image) wagon_span=2, ^- How far this wagon extends from its base position. Is the half of the wagon length. ^- Used to determine in which distance the other wagons have to be positioned. Will require tweaking. + extent_h = 1, + ^- Determines the collision box extent in x/z direction. Defaults to 1 (=3x3) + ^- The actual bounding box size is (extent_h*2)+1, so 0 means 1x1, 1 means 3x3 and 2 means 5x5 + extent_v = 2, + ^- Determines the collision box extent in y direction. Defaults to 2 (=3). + ^- The actual bounding box size is extent_v+1, so 0 means 1, 1 means 2, 2 means 3 a.s.o. + drops = {"default:steelblock 3"} ^- List of itemstrings what to drop when the wagon is destroyed |