{"repo":"ryanhcode/sable-companion","free":true,"listed":false,"github":"https://github.com/ryanhcode/sable-companion","clone":"git clone https://github.com/ryanhcode/sable-companion.git","description":"A lightweight library for making mods compatible with Sable","language":"Java","stars":73,"topics":["minecraft","minecraft-mod"],"license":"MIT","category":"game-templates","readme_excerpt":"Sable Companion ) Companion is an extremely lightweight library for making mods compatible with Sable. It is intended to be included or JiJ'd into mods, and contains a safe default implementation of all methods which is overridden by Sable when installed. Getting Started Copy the following segments into your build.gradle file depending on the platform: NeoForge Click to expand Fabric Click to expand Common Click to expand Compatibility Advice Working with Positions Positions inside of sub-level plots are stored with extreme values inside the plot grid. Companion has utilities to work with positions in plots: Projecting Positions With a SubLevelAccess , the logical (current), last, and render \"pose\" can be obtained to transform positions in and out of its plot. Distance Checks In order to get the global distance between two points (either of which can be within a sub-level), companion has a utility. Some distance checks are already safe, and do not require the use of companion. Sable already corrects the following:","default_branch":null,"files":null,"tree":[],"storefront":"/r/ryanhcode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ryanhcode/sable-companion/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}