Changelog
26.1
26.1-r4.0.4
- fixed composting issues on Fabric
26.1-r4.0.3
- fixed Fabric biome modification feature order
26.1-r4.0.1
- fixed Fabric client particle providers
26.1-r4.0
Added
Supplied- new generic class which accepts generics and functions much like
Supplier
- new generic class which accepts generics and functions much like
- extends
ResourceKey, implementsSupplierand provides a registry-searchedHolderthrough theholdermethod
- extends
- all common registries now use
Suppliedinstead ofSupplier(though are backwards compatible), andSuppliedItem/SuppliedBlocknow extend this, too
- all common registries now use
BlockLike- basically vanilla's
ItemLike, but forBlockinstead ofItem
- basically vanilla's
- injected into the vanilla
Blockclass
- injected into the vanilla
- any methods which previously accepted
Blockhave been deprecated in favour of new methods which acceptBlockLike
- any methods which previously accepted
UnifiedHelpers.BLOCK_CONVERSIONS- added new
addWeatheringmethod which matches the deprecatedaddWaxedmethod, except it allowsBlockLike
- added new
Changed
- new
SuppliedItemclass - rewritten in
util.registry, with the oldSuppliedIteminterface being deprecated
- rewritten in
- Breaking: no longer implements
Holder<Item>
- Breaking: no longer implements
- now extends
Supplied<Item>
- now extends
- new
SuppliedBlockclass - rewritten in
util.registry, with the oldSuppliedBlockinterface being deprecated
- rewritten in
- Breaking: no longer implements
Holder<Block>
- Breaking: no longer implements
- now extends
Supplied<Block>
- now extends
- now implements
BlockLike
- now implements
UnifiedRegistries- now provides
Suppliedinstead ofSupplier
- now provides
- registered content which previously used
Supplierwill still work until backwards-compatability support is fully removed in 26.2
- registered content which previously used
- rewrote how much of internal registering is handled to accomodate the many additions and fixes in this update
- registered content now stores
Supplier<Registry>internally in order to provide fully-functional holders throughSupplied,SuppliedItemandSuppliedBlock
- registered content now stores
UnifiedRegistries.DeferredRegistry- now allows the defining of generics (
<>)
- now allows the defining of generics (
- existing DeferredRegistry calls will work as before, though there will be an unchecked warning unless generics are provided
UnifiedRegistries.BlockEntityTypesBlockLike... blocksis now accepted for theregistermethod which previously acceptedBlock... blocks, the latter of which remains (but has been deprecated) for backwards-compatability
UnifiedHelpers.BLOCK_CONVERSIONSaddStrippableand alladdmethods now acceptBlockLikewhereverBlockwas previously accepted, the latter which remain (but have been deprecated) for backwards-compatability
UnifiedHelpers.CREATIVE_ENTRIES- improved NeoForge-side entry appending to allow
insertBeforeandinsertAfterto work with modded entries as starting points, rather than only vanilla
- improved NeoForge-side entry appending to allow
26.1-r3.2
Added
UnifiedEvents.Levels- includes
onLoadandonUnloadmethods
- includes
UnifiedClientEvents.InstanceandUnifiedEvents.Serverhave also received similaronLevelLoadandonLevelUnloadevents
UnifiedClientEvents.Instance- added
onStartandonStopmethods
- added
Changed
UnifiedRegistries- deprecated
registerHolderin favour of identicalregisterForHoldermethod
- deprecated
- this change affects both
UnifiedRegistries.DeferredRegistryandUnifiedRegistries.SoundEvents
- this change affects both
26.1-r3.1.2
- fixed
ItemStack stackalways beingnullinUnifiedEvents.ItemTooltips.afterAttributeAddedandUnifiedEvents.ItemTooltips.afterBaseAttributeAddedon Fabric - fixed
UnifiedEvents.ItemTooltips.addAttributestriggering with incorrectEventType.POSTtiming on NeoForge
26.1-r3.1
Added
UnifiedEvents.ItemTooltips- added
afterAttributeAddedmethod
- added
- allows you to add / check tooltips after each regular attribute tooltip (in vanilla, these are blue)
- added
afterBaseAttributeAddedmethod
- added
- allows you to add / check tooltips after each base attribute tooltip (in vanilla, these are green)
Changed
- marked
UnifiedPlatform.get()as@ApiStatus.Internal - you can (and should) now call
UnifiedPlatformmethods directly, without the use of.get()
- you can (and should) now call
26.1-r3.0.4
- fixed
UnifiedClientEvents.ItemTooltips.addAttributesbeing ignored on NeoForge
26.1-r3.0.2
- fixed hopper composting crash on Fabric
26.1-r3.0.1
- fixed biome modification api causing crashes on Fabric when used with other biome mods
26.1-r3.0
Added
UnifiedEvents.LootTables- added new
editPoolmethod
- added new
- provides an item predicate, and requires a
LootEntry
- provides an item predicate, and requires a
LootEntry- new record which allows for more flexible creation of loot pool entry changes
insert(LootPoolEntryContainer.Builder<?> entry)inserts an entry for the first matching item in each pool
replace(LootPoolEntryContainer.Builder<?> entry)replaces each entry containing the matching item
remove()fully removes all matching entries
Changed
UnifiedEvents.LootTables- deprecated old
editPoolmethod
- deprecated old
- replaced with new
editPool
- replaced with new
- both
editPoolmethods now support vanillaAlternativesEntry,EntryGroupandSequentialEntryentries
- both
26.1-r2.2.1
- fixed
UnifiedHelpers.BLOCK_CONVERSIONSaddWeatheringoxidization not working on NeoForge
26.1-r2.2
Changed
UnifiedHelpers.BLOCK_CONVERSIONS- blocks can now hold multiple different conversions
26.1-r2.1
Changed
UnifiedHelpers.BLOCK_CONVERSIONS- added
addWeatheringmethod, which accepts aWeatheringCopperBlocksrecord
- added
- deprecated
addWaxedmethod in favour ofaddWeathering
- deprecated
addWaxed/addWeatheringnow also setup oxidization behaviour for added blocks
26.1-r2.0
Added
UnifiedHelpers.DATA_COMPONENTSaddWithProvidermethod
addWithKeymethod
UnifiedEvents.PlayersonTickevent
UnifiedEvents.EntitiesonTickevent
onLivingTickevent
Changed
UnifiedRegistries.Blocks- deprecated hybrid block + item
registermethods
- deprecated hybrid block + item
- you should either separately register custom block items, or use Unified's data components helper, instead of using these
UnifiedEvents.DefaultDataComponents- deprecated
modifyFilteredin favour ofmodifyWithFilter
- deprecated
UnifiedEvents.LootTables- deprecated
modifyFilteredin favour ofmodifyWithFilter
- deprecated
Fixed
UnifiedHelpers.BLOCK_CONVERSIONSis no longer ignored
Removed
UnifiedHelpers.DATA_COMPONENTS- removed
add(DataComponentMap.Builder builder, DataComponentType<T> type, T value)
- removed
26.1-r1.2.2
- fixed
UnifiedClientHelpers.ENTITY_RENDERERSrendering methods not working on NeoForge by requiring Entities / Block Entities to be wrapped with a Supplier
26.1-r1.2.1
- fixed
SuppliedBlocknot correctly attatching Items when using certainUnifiedRegistries.Blocksmethods
26.1-r1.2
Changed
UnifiedEvents.LootTableseditPoolprovides a directItempredicate, rather thanSuppliedItem
Fixed
- fixed
SuppliedItemandSuppliedBlockis(Holder<Item> holder)method
26.1-r1.1
Changed
UnifiedEvents.LootTableseditPoolprovides aSuppliedItempredicate, rather thanSupplier<Item>
Fixed
UnifiedEvents.LootTableseditPoolreplacements now correctly work on Fabric
26.1-r1.0
Added
UnifiedRegistries.DeferredRegistry- allows you to register content to any registry through
create(modId, registry)
- allows you to register content to any registry through
- includes
register,registerHolderandaddAliasmethods
- includes
UnifiedRegistries.SoundEvents- added new
registerandregisterHoldermethods which accept a float value for a fixed range
- added new
Fixed
- stopped NeoForge biome modifications duplicating on reload
Removed
- removed the following due to them being made redundant by
UnifiedRegistries.DeferredRegistry: UnifiedRegistries.MobEffects
UnifiedRegistries.ParticleTypes
UnifiedRegistries.EnchantmentCodecs
UnifiedRegistries.MapDecorationTypes
26.1-b8.2
Added
UnifiedClientHelpers.LEGACY_BABY_ARMOR- added two new
addmethods which can accept a boolean and integer
- added two new
- this allows for automatic pixel density resizing, so that adult textures can be rescaled to have a similar visible pixel density to baby mobs and vanilla baby armor
26.1-b8.1
Added
UnifiedClientHelpers.LEGACY_BABY_ARMOR- includes an
addmethod to allow a given EquipmentAsset resource key to fallback to old 1.21.11 baby armor rendering
- includes an
Changed
- renamed
UnifiedEvents.DefaultItemComponentstoUnifiedEvents.DefaultDataComponents
26.1-b8.0
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.EntitiesonEquipmentChangenow provides aQuadConsumer<LivingEntity, EquipmentSlot, ItemStack, ItemStack>, rather than aConsumer<EquipmentContext>
Fixed
- stopped composters crashing on Fabric
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.1
- fixed Fabric client particle providers
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