
Ornithe Standard Libraries
Набор библиотек для моддинга Minecraft на загрузчике Ornithe. OSL предоставляет инструменты для событий, конфигов, клавиш, ресурсов и многого другого.
Список изменений
Ornithe Standard Libraries 0.26.0
OSL 0.26.0 supports Minecraft versions between Alpha 1.0.1_01 and Release 1.14.4.
Resource Loader 0.12.0
Note: the changes in this release were meant to be included in 0.25.0 but were erroneously left out.
Ordering Pack Sources
There is now a way to specify a preferred ordering (either FIRST or LAST) when adding resource pack repository sources. LAST is the default value, and is equivalent to the previous behavior. If FIRST is specified instead, the pack source will be placed before OSL's bundled mod resources, but after the Vanilla pack source.
This can be useful because it changes the default position of the resource packs loaded in by those pack sources. With previous behavior mod provided resource packs are always placed above OSL's bundled mod resource packs. With this feature it's possible to have resource packs placed below OSL's bundled mod resource packs by default. Of course the user can still re-order the resource packs in any way they like in the GUI.
ClientResourceLoaderEvents.INIT_PACK_REPOSITORY.register(packRepository -> {
packRepository.addSource(new ExamplePackSource1()); // uses default ordering LAST
packRepository.addSource(new ExamplePackSource2(), PackSourcePosition.FIRST);
});
// final pack source order: Vanilla, ExamplePackSource2, OSL Bundled Mod Resources, ExamplePackSource1
