From 3a3c629dff060598f483c0adc46702ef9e74a9ce Mon Sep 17 00:00:00 2001 From: Vexatos Date: Sun, 13 Jul 2014 05:28:56 -0700 Subject: [PATCH] Updated API Sides (markdown) --- API-Sides.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/API-Sides.md b/API-Sides.md index 71ee913..6525835 100644 --- a/API-Sides.md +++ b/API-Sides.md @@ -1,3 +1,10 @@ +[![](http://i.imgur.com/GKcszRV.png)](http://ocdoc.cil.li/) + +For those that don't like images: the wiki has moved to a new place, http://ocdoc.cil.li/. +*This wiki will no longer be updated.* + +**** + This "API" provides a global table to allow you to refer to sides / directions by name, as opposed to their numbers. The underlying number values are identical to Minecraft's internal numbering (as well as the `ForgeDirection` Enum). This table serves as a two-directional look-up, so you can resolve names to numbers, but also numbers back to a human readable name. For example, `sides.top` has the value `1`, whereas `sides[1]` has the string value `top`. A couple of aliases for the side names are available, so it's less likely to accidentally pick the wrong one. These are the basic values: - Bottom (`bottom`), Number: 0 - Top (`top`), Number: 1