
Unified API
A multiloader API built to enable easy cross-loader mod development
3.0K
2
Список изменений
Added
UnifiedClientEvents.ItemTooltips-
- used to add tooltips to an ItemStack
-
- includes
addDetails,addAttributesandinsertLinesmethods
- includes
UnifiedClientEvents.Instance-
- added
onRespawnmethod
- added
EventType-
- new enum used to determine whether certain events should run at the start or end of an event
-
-
- uses
EventType.PREandEventType.POSTto accomplish this
- uses
-
Changed
- renamed
UnifiedClientEvents.TickstoUnifiedClientEvents.Instance -
- replaced
onStartandonEndwithonTick, which acceptsEventType
- replaced
UnifiedEvents.Blocks-
- replaced
beforePlaceandafterPlacewithonPlace, which acceptsEventType
- replaced
UnifiedEvents.Items-
- replaced
beforeUseandafterUsewithonUse, which acceptsEventType
- replaced
- renamed
UnifiedEvents.ServerstoUnifiedEvents.Server -
- replaced
onTickStartandonTickEndwithonTick, which acceptsEventType
- replaced
-
- replaced
onLevelTickStartandonLevelTickEndwithonLevelTick, which acceptsEventType
- replaced
UnifiedEvents.LootTables-
- now accepts a LootTable, ResourceKey and HolderLookup.Provider directly
-
-
LootTablecontext now only providesaddPoolandeditPoolas part of this change
-
UnifiedEvents.Entities-
onEquipmentChangenow provides aQuadConsumer<LivingEntity, EquipmentSlot, ItemStack, ItemStack>, rather than aConsumer<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 нед. назад
