Module corners.cornerutil
+Utility functions for the creation and registration of corners.
+ + + +Functions
+create_corner_nodebox (detail) | +Creates the nodebox for a corner. | +
+
+ + +
diff --git a/doc/index.html b/doc/index.html index ac57498..4b9b0a8 100644 --- a/doc/index.html +++ b/doc/index.html @@ -31,9 +31,11 @@
worldgenutil | -Provides various utility functions for generation worlds. | -||
ramps.rampplacer | RampPlacer is an object that allows to place ramps in the world. | @@ -56,6 +54,18 @@ramps.ramputil | Utility functions for the creation and registration of ramps. |
corners.rampplacer | +RampPlacer is an object that allows to place ramps in the world. | +||
corners.cornerutil | +Utility functions for the creation and registration of corners. | +||
worldgenutil | +Provides various utility functions for generation worlds. | +
corners.cornerutil
Utility functions for the creation and registration of corners.
+ + + +create_corner_nodebox (detail) | +Creates the nodebox for a corner. | +
corners.rampplacer
RampPlacer is an object that allows to place ramps in the world.
+ + + +RampPlacer:new () | +Creates a new instance of RampPlacer. | +
RampPlacer.mask_value_equals (actual, mask) | +Equals function for the mask values. | +
RampPlacer:is_air (node) | +Checks if the given node is "air". | +
RampPlacer:place_ramp (x, z, y, manipulator, template, node_info, node_mask, below_air, above_air) | +Places a ramp here if possible. | +
RampPlacer:register_air_like (node) | +Allows to register nodes that are treated like air. | +
RampPlacer:register_ramp (node, ramp_node, inner_corner_node, outer_corner_node, floor, ceiling) | +Registers a ramp with this RampPlacer. | +
RampPlacer:run (manipulator, minp, maxp) | +Places ramps in the given area. | +
RampPlacer:run_on_node (manipulator, x, z, y) | +Places a ramp (or not) on the given location. | +