Third Person Control 图标

Third Person Control

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.6+mod
本资源为搬运资源,原资源地址: https://modrinth.com/mod/third-person-control
资源信息

Minecraft 版本: 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1-snapshot-1 26.1-snapshot-2 26.1-snapshot-3 26.1-snapshot-4 26.1-snapshot-5 26.1-snapshot-6 26.1 26.1.1 26.1.2 26.2-snapshot-2 26.2-snapshot-3

平台: fabric forge neoforge quilt

标签: game-mechanics library

资源介绍

speclib/thirdpersoncontrol!

  • This datapack allows players to control entities in THIRD PERSON via WASD, Jump and Sneak INPUTS!
  • This datapack only works in 1.21.4 and above!

    Modules:

  • Camera Interpolate

How to Use:

Third Person Control:

The Third Person Control is a part/main module of the datapack which allows players to control entities with WASD. It takes player input via the new Player Input predicates and calculates and applies Motion Vector into the Motion NBT of the entity. The datapack also allows players to spectate entities (in third person). The camera positions are initialized in tpc:gb/load. All entities seen in that function file are controllable with WASD, jump and sneak. Some entities have special controls, like the entities which can fly can gain altitude with holding down jump.

  • Spawn Entity and Control In Third Person: /function tpc:summon {entity:"armor_stand"}
  • Spectate an Entity with a Specific Tag: /function tpc:spectate {tag:"temp_tag"}
  • Spectate a Random Entity with a Specific Tag: /function tpc:spectate_random {sub_tag:"temp_tag"}
  • Unspectate Entities: /function tpc:remove

    Camera Interpolate (Module):

    The Camera Interpolate Module allows users to interpolate to a specific 'X' and 'Y' rotation, with a particular 'SPEED' value. When the command is ran, the player camera will find the shortest path to the given rotation coordinates and interpolate and the provided speed. The Module also allows players to switch from Controlling the Entity to Spectating It. When Spectating the Entity, their Camera will randomly interpolate to a random direction every 10 seconds.

  • Interpolate Camera: /function camera:interpolate {"x":10,"y":30,"speed":200} // Greater the Speed Value, Slower the Interpolation.
  • Interpolate to a Random Direction: /function camera:interpolate_random
  • Toggle from Entity Controller → Entity Spectator (and vice versa): /function camera:toggle_control
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Destroy On Death

价格:0 墨喵币
下载量:0

查看详情
Spyglass Binder

价格:0 墨喵币
下载量:0

查看详情
Valdria

价格:0 墨喵币
下载量:0

查看详情
Destined Worlds

价格:0 墨喵币
下载量:0

查看详情