Piku 是一款 Fabric 模组,为服务器带来 Luau 脚本支持! 你可以构建自定义用户界面、摄像机系统,并在客户端运行逻辑,无需 Java、光影或额外的服务器负载!
用法
Piku 是一个 客户端模组。 默认情况下,玩家在 Piku 服务器上 不需要使用它,它通常用于扩展服务器功能。
平台支持
| 平台 | 客户端 | 服务端 | 服务端(直接放入 jar) |
|---|---|---|---|
| Fabric | ✅ | ❌ | ❌ |
| Minestom | ❌ | ✅ | ❌ (不可行) |
| Paper | ❌ (不可行) | ✅ | ✅ |
当前功能
- 输入处理
- 监听玩家输入(键盘、鼠标)
- UI 系统
- 使用 8+ 种 UI 组件构建复杂的用户界面
- 摄像机系统
- 使用 完整的三维轴移动(包含翻滚)和缓动效果操作玩家摄像机
- 电影级摄像机系统
- 使用带有各种运动和控制动画的三维轴移动来操作解耦的摄像机
- 调度器
- 基于时间的事件和延迟
- 共享状态
- 同步服务器与客户端之间的数据
- 客户端控制
- 通过各种控件调整客户端设置
- 快捷栏可见性
- 视角
- 物品栏物品
- NBT 数据
- 播放音效
- 视角晃动
- 通过各种控件调整客户端设置
- 调试工具
- 内置独立于脚本的日志记录
- 射线检测
- 客户端射线检测,支持强大的实体过滤器和自定义选项
- NBT 与组件
- 读取和写入物品及实体的数据组件
- Controlify 支持
- 允许通过控制器在 UI 中移动!
待办事项 / 路线图
此处列出的任务可能不会按时间顺序逐一完成。
- 输入处理
- 完善 UI 系统(目前大部分已完成)
- 错误处理与调试
-
log.info,warn,error
-
- 时间系统/调度器
- 摄像机系统
- 移动/旋转 + 缓动
- 所有三个轴的旋转
- 世界交互
- 射线检测
- 在客户端查询方块/实体
- 客户端控制
- 锁定/操作/动画化视场角 (FOV)
- 禁用/启用晃动
- 可调节的晃动强度
- 在客户端查询按键绑定
- 玩家控制
- 禁用查看客户端或其他玩家的肢体/盔甲
- 共享状态
- 粒子系统(基于 GPU)
- 重写文档
- 垂直 UI 渐变
- UI 过渡效果
Piku is a Fabric mod that brings Luau scripting to servers! You can build custom UI, cameras systems, and run client-side logic without Java, shader work or extra server load!
Usage
Piku is a client-side mod. Players are not required to use it on Piku servers by default, and is typically used to expand server functionality.
Platforms
| Platform | Client | Server | Server (drop-in jar) |
|---|---|---|---|
| Fabric | ✅ | ❌ | ❌ |
| Minestom | ❌ | ✅ | ❌ (Not Possible) |
| Paper | ❌ (Not Possible) | ✅ | ✅ |
Current Features
- Input Handling
- listening to player's inputs (keyboard, mouse)
- UI System
- build complex UIs using the 8+ UI components
- Camera System
- manipulate the player's camera using a full 3-axis movement (roll included), with easings
- Cinematic Camera System
- manipulate a decoupled camera using 3 axis movement with various movement and animation controls
- Scheduler
- time-based events and delays
- Shared States
- sync data between the server and the client
- Client Control
- tinker with the client using various controls
- hotbar visibility
- perspective
- inventory items
- nbt
- play sounds
- view bobbing
- tinker with the client using various controls
- Debugging
- built-in script independent logging
- Raycasting
- client-side raycasting with powerful entity filters and customisation options
- NBT & Components
- read & write data components of items and entities
- Controlify Support
- Allow movement through UIs using controllers!
To-do List / Roadmap
Tasks labeled here may not be worked on in chronological order.
- Input Handling
- Finish UI system (now finished for the most part)
- Error handling & debugging
-
log.info,warn,error
-
- Time system/scheduler
- Camera System
- Movement/rotation + easing
- All 3 axes of rotation
- World Interaction
- Raycasts
- Querying blocks/entities on the client
- Client Control
- Lock/manipulate/animate FOV
- Disable/Enable bobbing
- Changeable bobbing strength
- Querying keybinds on the client
- Player control
- Disabling view of client or other players' limbs/armor
- Shared states
- Particle System (GPU based)
- Rewrite docs
- Vertical UI Gradients
- UI transitioning
下载 Piku
下载 Piku
下载 Piku
下载 Piku
下载 Piku
下载 Piku
重大更新!!
- piku 现在支持 Controlify
- 用于导航 UI(如列节点和行节点)以及在它们之间切换
- 可自定义滚动轴、摇杆迟滞、边缘滚动
- 提供原生事件钩子,用于检测按键按下、释放及摇杆移动
- 用于导航 UI(如列节点和行节点)以及在它们之间切换
- Minimessage 现已允许在服务器品牌信息中使用
- 大幅改进了临时文件创建系统中的热重载功能,采用队列系统替代旧方案
- 模组版本现已提升至 26.2!!!!
- Minestom API 支持 26.2
- Paper API 支持 26.2 RC 2,但一旦 Paper 发布正式版本,我将立即将其更新为正式版
- 优化了 UI 节点缓存
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
AE2:一款流行的自动化与存储模组
模组
一个基于构建器的 Minecraft 配置库!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
? 使用命令保存和加载玩家或他人的背包/套装。
评论 0
登录后参与评分
还没有评论,来抢沙发吧