Changelog
26.2
26.2-r2.5
Changed
WoodSet- sign and hanging signs now use the block description prefix
- the set's
WoodTypeandBlockSetTypeare now automatically registered
- the set's
BlockSet- the set's
BlockSetTypeis now automatically registered
- the set's
26.2-r2.4
Added
- new
CreativeModeTabBuilder - used to build custom creative tabs, which can then be registered via the Unified's deferred registry
ColoredItemSet- new
setComponentWithDye
- new
- used to add components using a per-item
DyeColor
- used to add components using a per-item
Changed
ColoredItemSet- fixed individually-set components not applying
26.2-r2.3
Added
BlockPreset- new
SULFURandPOLISHED_SULFURpresets
- new
- new
CINNABARandPOLISHED_CINNABARpresets
- new
Changed
WoodSet- deprecated
setLeafSoundTypeandgetLeafSoundTypein favour of newsetLeavesSoundTypeandgetLeavesSoundTyperespectively
- deprecated
WoodPresetWoodPreset.CHERRYnow includes Cherry Leaves sounds
- deprecated
UnifiedRegistries.BlockEntityTypes - deprecated
UnifiedRegistries.CreativeTabs
26.2-r2.2
Added
UnifiedRegistries.BlockEntityTypes- added
register(String path, BlockEntityType.BlockEntitySupplier<T> builder, Supplier<? extends BlockLike>... blocks)
- added
Changed
ColoredBlockSetandColoredItemSet- fixed crash when
creativeInventoryPlacementisn't used
- fixed crash when
UnifiedHelpers.DATA_PACKSandUnifiedClientHelpers.RESOURCE_PACKS[26.2]addOptionalnow defaults to disabled on Fabric, matching NeoForge behaviour
PackType[26.1]OPTIONAL_RESOURCESandOPTIONAL_DATAnow default packs to disabled on Fabric, matching NeoForge behaviour
UnifiedRegistries.BlockEntityTypes- deprecated
register(String path, BlockEntityType.BlockEntitySupplier<T> builder, BlockLike... blocks)
- deprecated
- fixed NeoForge crash caused by incorrect event bus for server reload listeners
26.2-r2.1
Added
WoodSet- second
creativeInventoryPlacementmethod, giving the option to not include boats
- second
- second
createSaplingmethod, allowing the placement of saplings in the creative inventory
- second
- second
createLeavesmethod, allowing the placement of leaves in the creative inventory
- second
Changed
WoodSetprecedingNaturalItemincreativeInventoryPlacementnow places the set's log after the specified item
UnifiedClientHelpers.PARTICLE_PROVIDERSaddnow usesSupplier<? extends ParticleType<T>instead ofSupplier<T>
26.2-r2.0
Added
- new
ColoredBlockSetandColoredBlockPreset - used to create a set of blocks in all 16 colors
- new
ColoredItemSetandColoredItemPreset - used to create a set of items in all 16 colors
- can be bound to a
ColoredBlockSetif you want separate block-items
- can be bound to a
- new
UnifiedHelpers.RELOAD_LISTENERSandUnifiedClientHelpers.RELOAD_LISTENERS - used to register data and resource reload listeners respectively
UnifiedRegistries.Items- 2 new
registerBlockItemmethods, which allow specifying the item's function (egBlockItem::new)
- 2 new
Changed
UnifiedRegistries.Items- deprecated old
registerBlockItemmethods as they were made redundant by the new ones
- deprecated old
- anywhere that previously asked for
Supplier<? extends ItemLike>now acceptsSupplier<? extends ItemLike> VanillaVersiongetStringnow skipspatchif it equals zero [26.1]
26.2-r1.1
Changed
- fixed a crash caused by
UnifiedClientEvents.Huds(and related internal classes) providingGuiinstead ofHud VanillaVersiongetStringnow skipspatchif it equals zero
26.2-r1.0
Added
UnifiedHelpers.DATA_PACKSandUnifiedClientHelpers.RESOURCE_PACKS- includes
addRequiredandaddOptionalmethods
- includes
- used to load built-in datapacks and resource packs respectively
Changed
- Unified API packages have been completely redone, so you'll have to re-import all referenced classes
- this includes a split with
unified.api.andunified.impl., which clearly separates developer-focused code from internal-only code
- this includes a split with
- you can be assured that no breaking changes will be made in the same vanilla drop version within
unified.api.
- you can be assured that no breaking changes will be made in the same vanilla drop version within
- it should be much easier to find the classes you're looking for going forward
- many internal classes were either exposed in
api.or renamed withinimpl.for clarity
- many internal classes were either exposed in
- these include
BiomeModificationContextandLootTableContext, which were moved intoapi.
- these include
- renamed
UnifiedPlatformtoUnifiedInstance - renamed
getLoadertogetModLoader
- renamed
- renamed
UnifiedEvents.GuistoUnifiedEvents.Hud - this matches changes to vanilla naming
- renamed
LoaderTypetoModLoader - renamed
EventTypetoEventTiming - renamed
UnifiedClientHelpers.LEGACY_BABY_ARMORtoUnifiedClientHelpers.SIMPLE_BABY_ARMOR - replaced
add(ResourceKey<EquipmentAsset> asset, boolean resize, int cutoff)withadd(ResourceKey<EquipmentAsset> asset, int cutoff)
- replaced
- replaced
add(ResourceKey<EquipmentAsset> asset, boolean resize)withaddWithoutDownscale
- replaced
- renamed
CreativeModeTabstoCreativeModeTabIds
Removed
UnifiedHelpers.PACKS- removed in favour of split
UnifiedHelpers.DATA_PACKSandUnifiedClientHelpers.RESOURCE_PACKS
- removed in favour of split
PackType- no longer needed due to the removal of
UnifiedHelpers.PACKS
- no longer needed due to the removal of
UnifiedHelpers.BLOCK_CONVERSIONS- removed
addWeathering(WeatheringCopperBlocks set)
- removed
- vanilla removed
WeatheringCopperBlocksand anotheraddWeatheringmethod still exists, so this was removed outright
- vanilla removed
- removed all deprecated methods and classes
Continued from 26.1-r5.3
26.1
26.1-r6.5
Changed
WoodSet- sign and hanging signs now use the block description prefix
- the set's
WoodTypeandBlockSetTypeare now automatically registered
- the set's
BlockSet- the set's
BlockSetTypeis now automatically registered
- the set's
26.1-r6.4
Added
- new
CreativeModeTabBuilder - used to build custom creative tabs, which can then be registered via the Unified's deferred registry
ColoredItemSet- new
setComponentWithDye
- new
- used to add components using a per-item
DyeColor
- used to add components using a per-item
Changed
ColoredItemSet- fixed individually-set components not applying
26.1-r6.3
Changed
WoodSet- deprecated
setLeafSoundTypeandgetLeafSoundTypein favour of newsetLeavesSoundTypeandgetLeavesSoundTyperespectively
- deprecated
WoodPresetWoodPreset.CHERRYnow includes Cherry Leaves sounds
- deprecated
UnifiedRegistries.BlockEntityTypes - deprecated
UnifiedRegistries.CreativeTabs
26.1-r6.2
Added
UnifiedRegistries.BlockEntityTypes- added
register(String path, BlockEntityType.BlockEntitySupplier<T> builder, Supplier<? extends BlockLike>... blocks)
- added
Changed
ColoredBlockSetandColoredItemSet- fixed crash when
creativeInventoryPlacementisn't used
- fixed crash when
UnifiedHelpers.DATA_PACKSandUnifiedClientHelpers.RESOURCE_PACKS[26.2]addOptionalnow defaults to disabled on Fabric, matching NeoForge behaviour
PackType[26.1]OPTIONAL_RESOURCESandOPTIONAL_DATAnow default packs to disabled on Fabric, matching NeoForge behaviour
UnifiedRegistries.BlockEntityTypes- deprecated
register(String path, BlockEntityType.BlockEntitySupplier<T> builder, BlockLike... blocks)
- deprecated
- fixed NeoForge crash caused by incorrect event bus for server reload listeners
26.1-r6.1
Added
WoodSet- second
creativeInventoryPlacementmethod, giving the option to not include boats
- second
- second
createSaplingmethod, allowing the placement of saplings in the creative inventory
- second
- second
createLeavesmethod, allowing the placement of leaves in the creative inventory
- second
Changed
WoodSetprecedingNaturalItemincreativeInventoryPlacementnow places the set's log after the specified item
UnifiedClientHelpers.PARTICLE_PROVIDERSaddnow usesSupplier<? extends ParticleType<T>instead ofSupplier<T>
26.1-r6.0
Added
- new
ColoredBlockSetandColoredBlockPreset - used to create a set of blocks in all 16 colors
- new
ColoredItemSetandColoredItemPreset - used to create a set of items in all 16 colors
- can be bound to a
ColoredBlockSetif you want separate block-items
- can be bound to a
- new
UnifiedHelpers.RELOAD_LISTENERSandUnifiedClientHelpers.RELOAD_LISTENERS - used to register data and resource reload listeners respectively
UnifiedRegistries.Items- 2 new
registerBlockItemmethods, which allow specifying the item's function (egBlockItem::new)
- 2 new
Changed
UnifiedRegistries.Items- deprecated old
registerBlockItemmethods as they were made redundant by the new ones
- deprecated old
- anywhere that previously asked for
Supplier<? extends ItemLike>now acceptsSupplier<? extends ItemLike> VanillaVersiongetStringnow skipspatchif it equals zero [26.1]
26.1-r5.3
Added
- new
VanillaVersionrecord - used to get and compare against the current game version
Changed
UnifiedEvents.Levels- fixed
onTickbeing ignored
- fixed
26.1-r5.2.1
- fixed client-side woodset builder boat crash (#3) [NeoForge]
26.1-r5.2
Changed
UnifiedHelpers.CREATIVE_ENTRIES- fixed inverted placement order on NeoForge
- made builders thread-safe (#2)
26.1-r5.1
Added
BlockSet.Settings- new
getDestroyTimemethod
- new
- new
getExplosionResistancemethod
- new
BlockSet.Builder- new
setDestroyTimemethod
- new
- new
setExplosionResistancemethod
- new
- new
hasLegacySlabmethod
- new
- new
baseBlockSuffixmethod
- new
BlockPreset- new
LEGACY,STONE_BRICKS,COBBLED_DEEPSLATE,POLISHED_DEEPSLATE,DEEPSLATE_BRICKS,DEEPSLATE_TILES,TUFF,POLISHED_TUFF,TUFF_BRICKS,MUD_BRICKS,RESIN_BRICKS,SANDSTONE,END_STONE_BRICKSandPURPURpresets
- new
Changed
UnifiedRegistries.Blocks.Builders- deprecated the old
blockSetBuildermethod in favour of a new one which doesn't require two floats
- deprecated the old
WoodSet.Settings&BlockSet.Settings- fixed incorrect naming of
canArrowsActivateButton
- fixed incorrect naming of
BlockPreset- deprecated
CRACKEDandCHISELEDpresets
- deprecated
STONEandPOLISHED_BLACKSTONEandNETHER_BRICKSpresets now use legacy slabs
- the
NETHER_BRICKSpreset now uses the correct sounds
- the
26.1-r5.0
Added
- new
UnifiedRegistries.Items.Builders EquipmentSetandEquipmentPresetallow easily creating sets of tools and armor
- see the Equipment Set documentation for details
UnifiedRegistries.Blocks.BuildersBlockSetandBlockPresetallow easily creating stone and brick-like block sets
- see the Block Set documentation for details
WoodSetandWoodPresetallow easily creating entire woodsets
- see the Wood Set documentation for details
UnifiedRegistries.EntityTypes- added a new
addmethod that additionally allows the providing of aSupplier<AttributeSupplier>, in order to link attributes to custom mobs
- added a new
Changed
UnifiedRegistries.Blocks- registration methods containing
BlockEntityType<>have now been superceded by new methods containingSupplier<BlockEntityType<>>
- registration methods containing
- existing non-supplier
BlockEntityTypemethods were deprecated as a result
- existing non-supplier
- this change was made to support custom block entity types
UnifiedClientHelpers.LEGACY_BABY_ARMOR- the
add(ResourceKey<EquipmentAsset> asset)now setsresizetotrue
- the
- previously, this method defaulted to
false. For the original behaviour, simply useadd(ResourceKey<EquipmentAsset> asset, boolean resize)instead
- previously, this method defaulted to
Removed
UnifiedRegistries.Blocks- removed two previously-deprecated registration methods
- this was required by the addition of the
Supplier<BlockEntityType<>>methods
- this was required by the addition of the
26.1-r4.3
Changed
- NeoForge-side
UnifiedEvents.LootTablesno longer unnecessarily overrides other mods' NeoForge-driven loot tables
26.1-r4.2
Added
UnifiedHelpers.NETWORKINGandUnifiedClientHelpers.NETWORKING- added
canSendmethod
- added
Changed
UnifiedHelpers.NETWORKINGandUnifiedClientHelpers.NETWORKING- marked all networking registration methods as optional for NeoForge
sendmethods now check if they can be sent before sending
26.1-r4.1
Added
UnifiedHelpers.STRUCTURE_MUSIC- added support for structure tags
Changed
- internal structure music refactors
- moved helper impls into impl subfolders
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