
Simple Resources
A small library focused on simlifying the loading of resources and creation of data driven content - also allows loading minecraft resources in different formats
Оцените первым
694
1
Список изменений
- Added SimpleRegistry and SimpleDynamicRegistry which help with managing loaded resources
- Added methods for suggesting command arguments and executing commands and functions to ResourceUtils
- Renamed the Optional annotation to OptionalField to prevent problems when using java.util.Optional and moved annotations to their own package
- The ClassFieldsCodec can now return a MapCodec
- Added MappedAlternativeCodecs which allows you to create a codec with a default codec and any number of alternative codecs with converters to the previously specified value to be used when the first one fails. Similar to Codec.either() but for cases where you would need to stack Codec.either()
- Added CodecUtils which include methods for creating enum codecs and a dispached map codec which returns a MapCodec
Файлы
SimpleResources-2.0.0-sources.jar(36.81 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.0.0
Загрузчики
Fabric
Версии игры
1.21.4
Загрузок
38
Дата публикации
27.02.2025
