Changelog
26.1
26.1-b7.2
Added
UnifiedEvents.Items- includes
beforeUse,afterUseandonUseOn
- includes
UnifiedEvents.Blocks- includes
beforePlace,afterPlaceandonUseOn
- includes
UnifiedEvents.Entities- includes
onDeath,onEquipmentChange,onLoadandonUnload
- includes
Changed
UnifiedEvents.Playersnow directly provides aServerPlayer, rather thanPlayer- fixed the
replaceCurrentMusicboolean in theMusicprovided toUnifiedHelpers.STRUCTURE_MUSICbeing ignored
26.1-b7.1
Changed
- internal improvements to
UnifiedHelpers.STRUCTURE_MUSIC
26.1-b7.0
Added
UnifiedHelpers.STRUCTURE_MUSIC- new
addmethods which allow providingResourceKey<Structure>
- new
Changed
UnifiedEvents.DefaultItemComponents- now provides a
TriConsumerwith aHolderLookup.Provider
- now provides a
UnifiedClientEvents.Ticks- renamed
atStarttoonStart
- renamed
- renamed
atEndtoonEnd
- renamed
- fixed
UnifiedHelpers.STRUCTURE_MUSICcrashing when used
26.1-b6.0
Added
UnifiedHelpers.STRUCTURE_MUSIC- new helper that allows registering custom structure music pools
UnifiedEvents.LootTables- added
editPool
- added
- allows replacing or adding individual entries within existing loot pools
UnifiedEvents.Servers- added
onTickStartandonTickEnd
- added
- added
onLevelTickStartandonLevelTickEnd
- added
UnifiedPlatform- added
isClientSideandisServerSide
- added
Changed
UnifiedEvents.LootTables- renamed
modifyWithFiltertomodifyFiltered
- renamed
UnifiedPlatform- renamed
getDevelopmentInstancetogetDevelopmentEnvironment
- renamed
- renamed
getPlatformtogetLoader
- renamed
- renamed
PackInfotoPackType - renamed
PlatformInfotoLoaderType
Removed
UnifiedPlatform- removed
getEnvironment
- removed
- removed unused
WoodTypeBuilder - removed unused
RenderStateDataKey
26.1-b5.0
What's New
UnifiedRegistries.MapDecorationTypes- allows registering custom map decorations
Changed
UnifiedRegistries.Blocksmethods now expect a supplier for block propertiesUnifiedPlatformcan now correctly checks for mods during early-loading on NeoForge- fixed
UnifiedHelpers.CREATIVE_ENTRIES.insertBeforeordering on NeoForge - fixed
UnifiedHelpers.BIOME_MODIFICATIONSnot working with non-vanilla biomes, features, carvers and entities - renamed
UnifiedEvents.ItemComponentstoUnifiedEvents.DefaultItemComponents - renamed
modifyWithFiltertomodifyFiltered
- renamed
26.1-b4.0
Changed
- replaced
UnifiedHelpers.PLATFORMwithUnifiedPlatform.get() - this will require mods to update to match this change, however it should address the Platform helper not working in mixin plugins
26.1-b3.2
Changed
UnifiedHelpers.PLATFORM- added
isDevelopmentInstance()method, which returns a boolean of whether the mod is in a development environment
- added
- fixed
UnifiedClientHelpers.ENTITY_RENDERERS.addLayerDefinitioncrashing on Fabric due to an incorrect cast
26.1-b3.1
What's New
UnifiedRegistries.EnchantmentCodecs- allows registering enchantment-related codecs, through
registerProvider,registerLevelBasedValue,registerEntityEffect,registerValueEffectandregisterLocationBasedEffect
- allows registering enchantment-related codecs, through
CreativeModeTabs- provides easy access to vanilla
CreativeModeTabsresource keys
- provides easy access to vanilla
Changed
UnifiedEvents.PlayersonRespawnnow provides aBiConsumerwitholdPlayerandnewPlayer
- previously, only the new player was provided
26.1-b2.0
What's New
SuppliedItem- new item class which implements
Holder<Item>,SuppliedItem,ItemLikeandSuppliedItemInterface
- new item class which implements
SuppliedItemInterfaceincludesgetTemplateandgetDefaultInstancemethods
SuppliedBlock- new block class which implements
Holder<Block>,SuppliedBlock,ItemLikeandSuppliedBlockInterface
- new block class which implements
SuppliedBlockInterfaceincludesgetTemplateanddefaultBlockStatemethods
Changed
UnifiedRegistries.Items- now returns
SuppliedIteminstead ofSupplier<Item>in all relevant methods
- now returns
UnifiedRegistries.Blocks- now returns
SuppliedBlockinstead ofSupplier<Block>in all relevant methods
- now returns
UnifiedHelpers.CREATIVE_ENTRIES- methods which previously accepted
ItemStacknow requireItemStackTemplate
- methods which previously accepted
- this change fixes relevant methods which previously caused loading failure on 26.1
26.1-b1.0
What's New
UnifiedHelpers.BIOME_MODIFICATIONS- full multiloader equivalent of the fabric biome modification api, allowing to modify biome features, carvers, mob spawns, effects, climate & environment attributes
UnifiedHelpers.BLOCK_CONVERSIONS- allows for simple, extensible block-swapping functionality, including strippable logs and de-oxidizing/waxing copper
UnifiedHelpers.DATA_COMPONENTS- used to easily append item components to blocks and items alike, including Unified API's furnace fuel and compost components
UnifiedEvents.Servers- allows running code during server start, stop or datapack reload
UnifiedEvents.LootTables- full loot table modification api, akin to the fabric loot table api
UnifiedDataComponents.COMPOST- data-driven compost functionality
UnifiedItemTags- currently contains the "unified:persistent_cooldowns" tag, which allows you to make item cooldowns persist even when a player quits the world
Changed
- added
addAliasmethod to Unified registries UnifiedHelpers.NETWORKING- renamed
registerPlayC2StoregisterPlayToServer
- renamed
- renamed
registerPlayS2CtoregisterPlayToClient
- renamed
- renamed
registerConfigC2StoregisterConfigToServer
- renamed
- renamed
registerConfigS2CtoregisterConfigToClient
- renamed
UnifiedHelpers.CREATIVE_ENTRIES- renamed
addtoinsert
- renamed
- renamed
addAftertoinsertAfter
- renamed
- renamed
addBeforetoinsertBefore
- renamed
UnifiedEvents.ItemComponents- builder now provides a full
DataComponentMap.Builder
- builder now provides a full
- added new
modifymethod, which is a simpler event with no predicate filter
- added new
- renamed old
modifymethod tomodifyWithFilter
- renamed old
- renamed
UnifiedItemComponentstoUnifiedDataComponents
Removed
UnifiedClientHelpers.BLOCK_LAYERS, due to 26.1 changes making it redundantUnifiedHelpers.LOOT_TABLES, in favor of the newUnifiedEvents.LootTablesUnifiedHelpers.STRIPPABLES, in favor of the newUnifiedHelpers.BLOCK_CONVERSIONSUnifiedHelpers.FURNACE_FUELS, in favor of the newUnifiedHelpers.DATA_COMPONENTSandUnifiedDataComponents
Continued from 21.11-b1.3
1.21.11
21.11-b2.0
Changed
UnifiedRegistries.Blocksmethods now expect a supplier for block properties
21.11-b1.4
Changed
- fixed
UnifiedClientHelpers.ENTITY_RENDERERS.addLayerDefinitioncrashing on Fabric due to an incorrect cast
21.11-b1.3
Changed
- server-to-client networking methods now provide a biconsumer with
Player
21.11-b1.2
Changed
- renamed
registerC2SandregisterS2CtoregisterPlayC2SandregisterPlayS2Crespectively inUnifiedHelpers.NETWORKING - added
registerConfigC2SandregisterConfigS2Cmethods toUnifiedHelpers.NETWORKING
21.11-b1.1
Changed
- renamed
Platformenum toPlatformInfo - added
getEnvironmentmethod toUnifiedHelpers.PLATFORM, which returns whether the client or server is loaded
21.11-b1.0