![[RPT] Resource Packs Tweaks](https://cdn.modrinth.com/data/kW70KuE2/477978e2663643fd47c7e11ba6cc61da15cb089a_96.webp)
[RPT] Resource Packs Tweaks
Some useful tweaks for resource pack's items
173
9
Список изменений
This massive update was made possible with the support of KSEPSP
Breaking Changes
– In rpt:arm_transform, the game variable arm has been renamed to holdArm
New Features:
- Patch System: Allows you to separate vanilla Resource Packs from RPT.
- Swapper System: Texture replacement based on player and item parameters for armor, spyglass, and carved pumpkins.
- First-Person Transformation System: Define custom positions and even animations for the first-person view.
Additions
- New game variables added to
rpt:arm_transform:swing— a value from 0 to 1 representing the hit animation progress.swingArm— 1 if the attacking arm is the right one, -1 if it's the left.useArm— 1 if the item is being used in the main hand, -1 if in the offhand.useTick— the remaining ticks of item use.delta— a value between 0 and 1 representing the frame progress (partial ticks).
- Added a new field
attacktorpt:arm_transform(defaults totrue). If set tofalse, the vanilla attack animation will not play in third-person view. - New global game variables added:
delta— a value between 0 and 1 representing the frame progress.motionX,motionZ,speed,horizontalSpeed— holder's movement and speed data.onGround,isSprinting,isCrouching,isInWater,isInLava,isSwimming,isFallFlying— entity status flags.attackCooldown,attackProgress,usageProgress— data for hit and usage animations.
- Added the
oppositefield forrpt:arm_transform— accepts the same structure astransformbut applies transformations to the opposite arm.
Fixes:
rpt:arm_transformnow works correctly with variables.- Many other minor bug fixes and improvements.
Файлы
rpt-1.3.0-1.21.8.jar(939.89 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.3.0-1.21.8
Загрузчики
FabricQuilt
Версии игры
1.21.6–1.21.8
Загрузок
8
Дата публикации
4 дн. назад
