▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Unified API
Unified API

Unified API

A multiloader API built to enable easy cross-loader mod development

3.0K
2
Все версииUnified API 26.1-b8.0-fabric

Unified API 26.1-b8.0-fabric

Beta1 нед. назад

Список изменений

Added

  • UnifiedClientEvents.ItemTooltips
    • used to add tooltips to an ItemStack
    • includes addDetails, addAttributes and insertLines methods
  • UnifiedClientEvents.Instance
    • added onRespawn method
  • EventType
    • new enum used to determine whether certain events should run at the start or end of an event
      • uses EventType.PRE and EventType.POST to accomplish this

Changed

  • renamed UnifiedClientEvents.Ticks to UnifiedClientEvents.Instance
    • replaced onStart and onEnd with onTick, which accepts EventType
  • UnifiedEvents.Blocks
    • replaced beforePlace and afterPlace with onPlace, which accepts EventType
  • UnifiedEvents.Items
    • replaced beforeUse and afterUse with onUse, which accepts EventType
  • renamed UnifiedEvents.Servers to UnifiedEvents.Server
    • replaced onTickStart and onTickEnd with onTick, which accepts EventType
    • replaced onLevelTickStart and onLevelTickEnd with onLevelTick, which accepts EventType
  • UnifiedEvents.LootTables
    • now accepts a LootTable, ResourceKey and HolderLookup.Provider directly
      • LootTable context now only provides addPool and editPool as part of this change
  • UnifiedEvents.Entities
    • onEquipmentChange now provides a QuadConsumer<LivingEntity, EquipmentSlot, ItemStack, ItemStack>, rather than a Consumer<EquipmentContext>

Fixed

  • stopped composters crashing on Fabric

Файлы

unified-api-26.1-b8.0-fabric.jar(262.67 KiB)
Основной
Скачать

Метаданные

Канал релиза

Beta

Номер версии

26.1-b8.0-fabric

Загрузчики

Fabric

Версии игры

26.1–26.1.1

Загрузок

10

Дата публикации

1 нед. назад

Загрузил

ID версии

Главная