Changelog
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>
-
-
- 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>
-
-
- 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.BlockEntityTypes-
BlockLike... blocksis now accepted for theregistermethod which previously acceptedBlock... blocks, the latter of which remains (but has been deprecated) for backwards-compatability
UnifiedHelpers.BLOCK_CONVERSIONS-
addStrippableand 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
Files
unified-api-26.1-r4.0-fabric.jar(304.52 KiB) Primary Download

