
Список изменений
Additions
added RegisterBonusProvidersEvent.EntityBound registering bonuses that are bound to the entity itself instead of an item
added Codecs to all available Text converters
added CameraPos shader Uniform
added RequirementTypes.BLOCK suppressing place and interactions
added AttackerEmptyOffhand loot condition
added BehindEntity loot condition
added Page Renderer Titles when hovering
Fixes
fixed a bug where modules not providing any resources would be attached all resources because of gradle shenanigans
fixed Particle Animation Particles appearing around 0|0|0 for a frame
fixed RingSpawner not rotating correctly
fixed DisplayExtensions (for EquipmentSlots) not working
fixed neither Camera animations nor shaking working
fixed CEC style modifiers being applied to enchantment display entries
fixed RotateElement behaving weird due to position issues
fixed RingSpawner not spawning correctly due to RAD <-> DEG mismatch
fixed many mixins not using MixinExtras
fixed incompatibility with Sodium due to mixin
fixed SetBonuses not updating when switching from item with correct bonus but wrong slot to item with correct bonus and correct slot
fixed BonusProvider set-bonus slot order being shuffled each time
Changes
moved many classes around to group them into their respective module
moved ClientHelper#addReqContent to RequirementManager#addReqContent
moved to Neoforge 1.21.216
renamed AbsolutePositionTarget to StaticPositionTarget
server mod config$disable_anvil_limit was renamed to anvil_limit and will now define the max XP level before cost gets too expensive (vanilla default: 40)
renamed RegisterBonusProvidersEvent to RegisterBonusProvidersEvent.ItemBound
renamed TextHelper#setHotbarDisplay to TextHelper#setActionbar
Bonus#onTakeDamage and #onEntityHurt now receive the DamageContainer object instead of only the DamageType and damage value
Removals
removed ExtraStreamCodecs#UUID in favor of UUIDUtil#STREAM_CODEC
removed MiscHelper$DamageType and associated methods.
removed MiscHelper#of in favor of Util#make
removed server config $ enable_social as it wasn't used.
removed OreModifier and dedicated Event
removed ExtraCodecs#UUID, replaced by UUIDUtils.STRING_CODEC
removed "ChunkPosition" Uniform in Block Render types.
removed book check in enchantment tooltip as ItemStack parameter has been lost
AutoPublish changes
reworked publish_config.json:
modrinth_id: modrinth-project-id.
author: mandatory
name: readable name of the author(s) of the project. mandatory
email: an email to contact you if modrinth has issues with your request. mandatory
mod: mandatory
id: the mod-id of the mod. mandatory
name: the name of the mod. mandatory
version: the version of the mod. mandatory
artifact_version: the base name extension for the files to be published. mandatory
mc_version: the used minecraft version of the project. mandatory<br>
loader_version: the used loader version of the project (neo, forge or fabric version). mandatory
with_sources: whether to include modules with `-sources` extension. boolean, optional, defaults to false
modules: optional, string list
each entry is the suffix of a file in the libs folder, nominating a file to be published alongside the main file
dependencies: optional, object list
modrinth_id: the modrinth id of this dependency
version_name: the used version of the dependency
type: the dependency type. one of [required, optional, incompatible, embedded]
changelog: optional (see entries)
format: one of [html, md, plain]. format to use in the changelog. optional, defaults to html
style: one of [list, none]. style to use. will either list the changelog by categories or will print it as plain, formatted text. optional, defaults to list
assets: optional (see entries) all entries are relative to the project folder
source: the path to the jar libs you wish to publish. defaults to build/libs
auth: the path to the authentification tokens. !threat with **EXTREME** caution! this information may allow others to upload files / create projects under your name. do not store anywhere synchronized. defaults to `run/AuthCache.txt`. ensure adding `run` to .gitignore to use
changelog: the path to the changelog file. defaults to 'publish/changelog.txt'
categories: the path to the categories file used in the `list` changelog style. default to 'publish/categories.json'
