Curios API (Forge)

Mods
45,508,757 Downloads Last Updated: Aug 8, 2022 Game Version: 1.19.2   +3

File Details

Filename curios-forge-1.16.4-4.0.3.4.jar
Uploaded by TheIllusiveC4
Uploaded Jan 12, 2021
Game Version 1.16.4   +2
Size 231.34 KB
Downloads 191,129
MD5 3d40437dbd694227687cc74e04b59b5b
Supported Modloader Versions
Forge
Supported Java Versions
Java 8
Supported Minecraft 1.16 Versions
1.16.4

Changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Forge Recommended Versioning.

[1.16.4-4.0.3.4] - 2021.01.12

Fixed

  • Fixed command slot type identification for dedicated servers

[1.16.4-4.0.3.3] - 2020.12.31

Added

  • Added Korean localization (thanks othuntgithub!) #97

[1.16.4-4.0.3.2] - 2020.12.26

Changed

  • Reverted ICurio#onUnequip change from 4.0.3.1

[1.16.4-4.0.3.1] - 2020.12.26

Changed

  • [API] ICurio#onUnequip now passes the actual ItemStack instance instead of a copy

[1.16.4-4.0.3.0] - 2020.11.24

Added

  • [API] ICurioItem interface for simple hard-dependency item implementations

Changed

  • Minor improvements to "Curio" slot type and tag for universal acceptance

Fixed

  • Fixed infinite log spam when using recipe book #91
  • Fixed command client crashes #89
  • Fixed overextended texture in Curios GUI

[1.16.4-4.0.2.1] - 2020.11.09

Changed

  • Updated to 1.16.4
  • "Curio" slot type now accepts any curio item #78

Fixed

  • Fixed NPE with Mahou Tsukai's scrying #77
  • Fixed empty tags being attached to items #80
  • Fixed render buttons toggling wrong slot #75 #84

[1.16.3-4.0.2.0] - 2020.09.20

Update courtesy of Extegral, thanks! #72

Added

  • [API] Added ICurio#showAttributesTooltip for toggling attribute tooltips per curio
  • [API] Added ICurio#getFortuneBonus for adding fortune levels when curio is equipped
  • [API] Added ICurio#getLootingBonus for adding looting levels when curio is equipped
  • Added curios:equip_curio criterion trigger for listening to curio equips

Changed

  • Updated Russian localization

Fixed

  • Fixed bug with recipe book persisting on Curios screen when going from Survival to Creative

[1.16.3-4.0.1.0] - 2020.09.14

Added

  • Added Brazilian localization (thanks Mikeliro!) #65

Changed

  • Updated to Minecraft 1.16.3

Fixed

  • Fixed crashing when attempting to unlock/lock slots in equip handlers #68
  • Fixed misaligned render toggle buttons with non-natively-positioned slots

[1.16.2-4.0.0.1] - 2020.08.26

Changed

  • Updated to Forge 33.0.21

[1.16.2-4.0.0.0] - 2020.08.13

Changed

  • Updated to Minecraft 1.16.2
  • Archive base name changed from "curios" to "curios-forge"
  • Mod version no longer contains "FORGE"

[3.0.0.2] - 2020.08.03

Fixed

  • Fixed toggle render buttons desyncing when scrolling
  • Fixed recipe book offsets in Curios GUI

[3.0.0.1] - 2020.08.02

Changed

  • [API] Moved ICuriosItemHandler#handleInvalidStacks call to tick event

Fixed

  • Fixed hidden slots still being handled by Curios GUI

[3.0] - 2020.07.21

Fixed

  • Fixed Curios button disappearing when switching tabs in Creative menu #55
  • Fixed being able to right-click Curios items into any slot #56

[3.0-beta4] - 2020.07.17

Fixed

  • Fixed crashes with Forge 32.0.67+ #53

[3.0-beta3] - 2020.07.14

Changed

  • [API] IMC messages can now process iterable collections of SlotTypeMessage

[3.0-beta2] - 2020.07.02

Added

  • [API] Added ICuriosHelper#getEquippedCurios that obtains all equipped, non-cosmetic curios

Changed

  • [API] IDynamicStackHandler now extends IItemHandlerModifiable

Fixed

  • Fixed NPE when registering no icon for a slot type

[3.0-beta1] - 2020.07.01

Added

  • Opt-in cosmetic slots for slot types
  • Toggleable rendering for equipped curio items
  • "Bracelet" has been added as a potential preset slot type

Changed

  • Ported to 1.16.1 Forge
  • Slot types are now handled server-side, allowing for per-world slot configurations
  • Icon registration is now done alongside slot registration without needing a separate IMC message
  • ItemStacks with different durabilities will trigger curio change events
  • Names:
    • LivingCurioChangeEvent -> CurioChangeEvent
    • LivingCurioDropRulesEvent -> DropRulesEvent
    • LivingCurioDropsEvent -> CurioDropsEvent
    • CurioIMCMessage -> SlotTypeMessage
    • CuriosAPI -> CuriosApi
    • ICurioItemHandler -> ICuriosItemHandler:
      • getCurioMap -> getCurios
      • setCurioMap -> setCurios
      • getStackHandler -> getStacksHandler
      • enableCurio -> unlockSlotType
      • disableCurio -> lockSlotType
      • addCurioSlot -> growSlotType
      • removeCurioSlot -> shrinkSlotType
      • getDisabled -> getLockedSlots
      • addInvalid -> loseInvalidStack
      • dropInvalidCache -> handleInvalidStacks
    • ICurio:
      • onCurioTick -> curioTick
      • onCurioAnimate -> curioAnimate
      • onEquipped -> onEquip
      • onUnequipped -> onUnequip
      • playRightClickEquipSound -> playEquipSound
      • onCurioBreak -> curioBreak
      • shouldSyncToTracking -> canSync
      • getSyncTag -> writeSyncData
      • readSyncTag -> readSyncData
      • hasRender -> canRender
    • Commands:
      • enable -> unlock
      • disable -> lock
  • Abstraction:
    • CurioType abstracted to ISlotType
    • CurioStackHandler abstracted to ICurioStacksHandler
    • CuriosApi split into three helper interfaces (IIconHelper on the client, ISlotHelper on the server, ICuriosHelper for both)
  • CurioTags functionality refactored into SlotTypePresets
  • The above changes are only for the API, the rest of the classes have also had extensive changes

Additional Files

Type Name Size Uploaded Game Version Downloads Actions
R
curios-forge-1.16.4-4.0.3.4-api.jar 47.38 KB Jan 12, 2021
1.16.4
+2
165
R
curios-forge-1.16.4-4.0.3.4-sources.jar 113.61 KB Jan 12, 2021
1.16.4
+2
156