Перейти к содержимому

AngelLib

A shared code library and tweak/fix mod from Angelic Industries.

Forge
Загрузчики
Forge
Скачиваний на Modrinth
2,5 тыс.
Подписчиков на Modrinth
3
версий
12
Обновлён
15 октября 202615 окт.
Опубликован
в 2026
Это библиотека — она нужна другим модам и сама ничего не добавляет в игруНужна 6 модам. Скачайте её, если этого требует другой мод.

Коротко о моде

Библиотека — нужна другим модам: её требуют 6
Работает на Forge
Для Minecraft 1.7.10
Работает и в игре, и на сервере — ставьте, где нужен
Последняя версия — 1.0.0 от 15 октября 2026
Лицензия LGPL-3.0-only — бесплатно
Где нужен
В игренеобязателенНа серверенеобязателен

Работает и в игре, и на сервере — ставьте, где нужен

Версии игры1.7.10
Перевода пока нет — показываем оригинал на английском

AngelLib

AngelLib 1.0.0 replaces FentLib. This is a breaking release: update dependent mods together; old packages, mod IDs, network payloads, and configuration paths are not supported. A shared code library and tweak/fix mod.

logo

hub curse modrinth mcmodcn 67 maven forge cord

Features

  • Support for animated GIF server icons. Just drop a server-icon.gif file in the server root directory. Size limits are configurable. HodgePodge is a soft dependency, required if you want to use larger GIFs (because of the packet size limit). animated_server_icons Use the /reload_icon command to reload the icon. Also works for server-icon.png.
  • API to modify the S00PacketServerInfo packet. Example:
public class ClientProxy extends CommonProxy {
    @Override
    public void preInit(FMLPreInitializationEvent event) {
      S00PacketServerInfoModifyService.registerDeserializeHandler((response, angellibData, serverData) -> {
        if (angellibData.has("server_to_client_payload")) {
          // Yoohoo we got something back!!!!
          // serverData contains stuff like server IP
        }
      });
    }
}

public class CommonProxy {
  public void preInit(FMLPreInitializationEvent event) {
    if (MiscUtil.isServer()) {
      S00PacketServerInfoModifyService.registerHandler((response, angelLibPresent) -> {
        // angelLibPresent is just a boolean indicating whether angellib is loaded
        return "server_to_client_payload";
        // You can return a String, a S00PacketServerInfoModifyService.KeyValue, or a JsonElement. If you return
        // a non-null value, it will be passed back to the client
      });
    }
  }
}
  • `/dump_thaumonomicon ` command. Run it from the client, and all Thaumcraft research will be dumped as a static website. The comment will be visible under the page title, and you can indicate the pack or mods for with which the dump was done. Dump example
  • /warpdim [dimension ID] command. Painlessly warp to a dimension (meant for debugging).
  • SessionAccessTokenOverrideMixin allows overriding the session access token in dev launches via `-Dangellib.accessTokenOverride=`.
  • Client sound utilities to set a custom max attenuation distance without increasing the sound volume. Methods:
SoundUtil.withMaxDistance(ISound sound, float maxDistance);
SoundUtil.playWithMaxDistance(ISound sound, float maxDistance);
SoundUtil.playWithMaxDistance(SoundHandler soundHandler, ISound sound, float maxDistance);
SoundUtil.playAt(ResourceLocation soundResource, double x, double y, double z, float volume, float pitch, float maxDistance);

Example:

SoundUtil.playAt(waveSound, x, y, z, 0.25F, 1.0F, 64.0F);
  • HTTP-on-Minecraft-port reverse proxying for local web UIs. Configure path-to-port mappings in config/angellib/http-port-routes.json so services like Dynmap can be reached through the server port, such as /dynmap/..., instead of separate ports. Set publicBaseUrl in config/angellib/angellib.cfg to the public base URL of the server; mods should append their own relative route paths on top of it.
  • QOI image format support and utils thanks to saharNooby/qoi-java. For usage example, check out how support for server-icon.qoi is implemented.
  • WebP image format support and utils thanks to haraldk/TwelveMonkeys. For usage example, check out how support for server-icon.webp is implemented.
  • Default server icon path can be configured using the serverIconDirectory config option.

Fishing Loot Config

Set enableFishingLootTable=true in config/angellib/angellib.cfg to enable AngelLib's fishing override. The loot table lives at config/angellib/fishing-loot.json. When enabled, vanilla still decides whether a catch is fish, junk, or treasure, but the item itself comes only from this JSON.

The JSON has top-level fish, junk, and treasure lists. Each entry uses vanilla-style weight, supports count and meta ranges, can be limited to a biome whitelist with biomes or inverted into a blacklist with invertBiomes, and biome selectors can be numeric IDs, biome names, or * to match any biome. Entries can also use explicit numeric enchant IDs or useVanillaEnchantingRules for vanilla-style random enchanting.

{
  "fish": [
    {
      "item": "minecraft:fish",
      "weight": 60,
      "count": { "min": 1, "max": 1 },
      "meta": { "min": 0, "max": 0 }
    },
    {
      "item": "minecraft:fish",
      "weight": 10,
      "count": { "min": 1, "max": 2 },
      "meta": { "min": 1, "max": 1 },
      "biomes": ["ocean", "river"]
    }
  ]
}

Patches

Dependencies

Building

./gradlew build.

Credits

License

LGPLv3.

Buy me a coffee

  • ko-fi.com
  • Monero: 893tQ56jWt7czBsqAGPq8J5BDnYVCg2tvKpvwTcMY1LS79iDabopdxoUzNLEZtRTH4ewAcKLJ4DM4V41fvrJGHgeKArxwmJ

license

Частые вопросы

Как установить AngelLib?

Установите Forge под свою версию Minecraft, скачайте AngelLib под ту же версию и загрузчик, положите файл в папку mods и запустите игру с профилем загрузчика.

Для каких версий Minecraft есть AngelLib?

У AngelLib есть сборки для Minecraft 1.7.10.

Нужен ли AngelLib на сервере?

Работает и в игре, и на сервере — ставьте, где нужен

Лицензия и источник
GNU Lesser General Public License v3.0 onlyможно использовать и распространять; изменённые версии — под той же лицензией и с исходным кодом
Оригинал — Modrinth↗Файлы — без изменений, проверены по SHA-512Это ваш мод? Правообладателям

Сайт использует cookie: необходимые — для входа и темы, а также счётчики посещений Яндекс Метрика и LiveInternet — по ним мы видим, как пользуются сайтом. Рекламных cookie у нас нет. Подробнее