nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Unified API

Unified API

Mod

A multiloader API built to enable easy cross-loader mod development

Client or server Game MechanicsLibraryUtility

4,184 downloads
2 followers
Filter loader...
Filter channels...
  • fixed biome modification api causing crashes on Fabric when used with other biome mods

Added

  • UnifiedEvents.LootTables
    • added new editPool method
      • provides an item predicate, and requires a LootEntry
  • 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 editPool method
      • replaced with new editPool
    • both editPool methods now support vanilla AlternativesEntry, EntryGroup and SequentialEntry entries
  • fixed UnifiedHelpers.BLOCK_CONVERSIONS addWeathering oxidization not working on NeoForge

Changed

  • UnifiedHelpers.BLOCK_CONVERSIONS
    • blocks can now hold multiple different conversions

Changed

  • UnifiedHelpers.BLOCK_CONVERSIONS
    • added addWeathering method, which accepts a WeatheringCopperBlocks record
    • deprecated addWaxed method in favour of addWeathering
    • addWaxed / addWeathering now also setup oxidization behaviour for added blocks

Added

  • UnifiedHelpers.DATA_COMPONENTS
    • addWithProvider method
    • addWithKey method
  • UnifiedEvents.Players
    • onTick event
  • UnifiedEvents.Entities
    • onTick event
    • onLivingTick event

Changed

  • UnifiedRegistries.Blocks
    • deprecated hybrid block + item register methods
      • you should either separately register custom block items, or use Unified's data components helper, instead of using these
  • UnifiedEvents.DefaultDataComponents
    • deprecated modifyFiltered in favour of modifyWithFilter
  • UnifiedEvents.LootTables
    • deprecated modifyFiltered in favour of modifyWithFilter

Fixed

  • UnifiedHelpers.BLOCK_CONVERSIONS is no longer ignored

Removed

  • UnifiedHelpers.DATA_COMPONENTS
    • removed add(DataComponentMap.Builder builder, DataComponentType<T> type, T value)
  • fixed UnifiedClientHelpers.ENTITY_RENDERERS rendering methods not working on NeoForge by requiring Entities / Block Entities to be wrapped with a Supplier
  • fixed SuppliedBlock not correctly attaching Items when using certain UnifiedRegistries.Blocks methods

Changed

  • UnifiedEvents.LootTables editPool provides a direct Item predicate, rather than SuppliedItem

Fixed

  • fixed SuppliedItem and SuppliedBlock is(Holder<Item> holder) method

Changed

  • UnifiedEvents.LootTables editPool provides a SuppliedItem predicate, rather than Supplier<Item>

Fixed

  • UnifiedEvents.LootTables editPool replacements now correctly work on Fabric

Added

  • UnifiedRegistries.DeferredRegistry
    • allows you to register content to any registry through create(modId, registry)
    • includes register, registerHolder and addAlias methods
  • UnifiedRegistries.SoundEvents
    • added new register and registerHolder methods which accept a float value for a fixed range

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

External resources


Project members

Rebel459

Member


Technical information

License
LGPL-3.0-only
Client side
optional
Server side
optional
Project ID