Farest's API

Farest's API

Mod

An API for FarestR06's projects

Client and server Library

359 downloads
0 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...
Filter channels...

3.2.0 has been deleted, as I made a small but significant mistake: I forgot to add a parameter. Oops.

But for real: this version now (properly) adds aliased block items!

Time for a hotfix!

  • Blocks are now registered before their items

Time for a somewhat big update! I didn't realize just how much block and item registration changed, so I had to completely rewrite the helper classes. Sorry!

Time for a RegistryKey- and broken-class-related hotfix!

  • BlockHelper and ItemHelper classes fixed
  • FarestsItemSettings and the associated mixin have been removed, as the classes were broken, for some reason. :-(

Time for a small patch! This version requires Fabric Loader 16.9, and the FarestsItemSettings mixin has been removed, since it does not work.

Finally on 1.21.4!

Aside from the version change, not much has happened, aside from some dependency updates and fixes to broken code.

The few big changes

  • ⚠️ Fabric Loader has been updated to 0.16.9, and Fabric API 0.111.0 or later for 1.21.4 is now required.
  • FarestsDataComponents.EXPLOSION_RESISTANT has been marked for removal and some custom Item.Settings methods have been deleted, as the vanilla DataComponentTypes.DAMAGE_RESISTANT has made that code obsolete.
  • The license has been updated to LGPLv3.

Hey, hey! I've released a smaller update with some small things!

⚠️Breaking Changes⚠️

  • Requires Fabric API 0.110.0 for 1.21.1

Datagen

The AdvancementEntry class requires another AdvancementEntry as a parent, and the equivalent method for an Identifier is marked for removal, for whatever reason. So, I've made some dummy AdvancementEntry objects to help with your advancement datagen.

Item.Settings extension

The FarestsItemSettings interface has now been properly injected into Item.Settings, meaning you can now use its methods! Nope, doesn't work in this version.

Yo, I'm back yet again with a bunch of techinal changes, with some particularly big ones this time around.

⚠️BIG CHANGES⚠️

  • Requires Fabric Loader 0.16.9 or later
  • Requires Fabric API 0.107.0 or later for 1.21

Normal Changes

  • Removed HAS_ARMOR_OVERLAY item tag. Look, it seemed kind of janky, okay?
  • Renamed EXPLOSION_PROOF data component type to EXPLOSION_RESISTANT to fit in with the FIRE_RESISTANT component type
  • Renamed parameters in the BlockHelper and ItemHelper classes to be closer to the type's name in the Yarn mappings
  • Added a copy method to Item.Settings
    • KNOWN ISSUE: The interface seems to have not injected correctly, making the custom methods inaccessible.

Hey hey, players! Here's a smaller update with some potentially useful item-related additions!

  • Items can now be made explosion-proof like the Nether Star using a data component
  • Create a tag to create dyeable armor in the data generator

Hotfix time!

  • The SoundHelper class's methods now return the correct object type

Hey look, a new version! Here's what's new:

  • Removed some useless internal classes
  • Simplified the BlockHelper and ItemHelper classes
  • Added a new SoundHelper class
  • Mixed a couple new methods into the Item.Settings class
  • A SimpleStatusEffect class to access vanilla StatusEffect constructors

First release on Modrinth! Here's what changed from the previous version on GitHub:

  • Added a NoteblockInstrumentRegistry class to add custom note block sounds
  • Removed the outdated LegacyRegistryHelper
  • Made some tiny changes to the registry helpers

Project members

FarestR06

Member

Details

Licensed LGPL-3.0-only
Published 4 months ago
Updated 8 days ago