From d78d07589d31db62167eafafb36b9e8c0468c6d1 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Thu, 23 Nov 2017 17:00:39 +0100 Subject: Add modifiable wagon extents This will be required for advcarts --- advtrains/api_doc.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'advtrains/api_doc.txt') 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 -- cgit v1.2.3