什么是 Watervision?
Watervision 是我全新推出的模组,[已屏蔽内容]
目前,它是 VideoPlayer 模组的临时替代品, 允许你通过命令在游戏中播放全屏视频。 由 WATERMeDIA 和 VLC 提供支持
与 Mr.Puzzle 或 PuzzleVision 无关
使用方法
本模组添加了 2 个命令:
/video <"url"> <targets> [volume] [speed] [stretch_video] [game_fade_duration] [video_fade_duration] [allow_controls] [allow_exit]- 根据指定的属性从给定 URL 播放视频。默认情况下,音量 100,速度 1.0,stretch_video false,game_fade_duration 20.0,video_fade_duration 20.0,allow_controls true,allow_exit true
- 示例:
/video https://streamable.com/jzqiek @a 100 1.0 false 20.0 20.0 true true - 需要 OP 权限级别 4(默认)
- 参数:
- url: 要播放视频的 URL。必须是视频文件的直接链接(例如 .mp4、.webm)。必须用引号括起来
- targets: 为其播放视频的玩家
- volume: 视频音量(0-120)
- speed: 视频速度(0.1-2.0)
- stretch_video: 是否拉伸视频以适配屏幕(true/false)
- game_fade_duration: 游戏画面淡入/淡出到视频画面的持续时间(以刻为单位)
- video_fade_duration: 黑暗淡入/淡出到视频的持续时间(以刻为单位)
- allow_controls: 是否允许玩家控制视频播放(true/false)[未使用]
- allow_exit: 是否允许玩家使用 ESC 键退出视频播放(true/false)
/videoclient <"url">- 仅在客户端上从给定 URL 播放视频,无需任何服务器交互
- 示例:
/videoclient https://streamable.com/jzqiek - 不需要任何权限级别,且仅对你的客户端生效
- 参数:
- url: 要播放视频的 URL。必须是视频文件的直接链接(例如 .mp4、.webm)。必须用引号括起来
- volume: 视频音量(0-120)
- speed: 视频速度(0.1-2.0)
- stretch_video: 是否拉伸视频以适配屏幕(true/false)
加载动画
加载动画由 WATERMeDIA API 提供,可以通过
在以下路径添加自定义文件来自定义:
<minecraft folder>/config/watermedia/assets/watervision/loading.gif
如果未找到该文件,将使用默认文件,也可以通过
在以下路径添加自定义文件来对其进行自定义:
<minecraft folder>/config/watermedia/assets/loading.gif
注意:自定义默认文件将影响所有使用 WATERMeDIA API 的模组
许可证
本模组采用 PolyForm Strict License 1.0.0 许可协议。
WHAT ITS WATERVISION?
Watervision its my brand new mod that [REDACTED]
For now, its a temporal replacement of the VideoPlayer mod, which let you play full screen videos in your game using commands. Powered by WATERMeDIA and VLC
Not affiliated with Mr.Puzzle or PuzzleVision
USAGE
This mod adds 2 commands
/video <"url"> <targets> [volume] [speed] [stretch_video] [game_fade_duration] [video_fade_duration] [allow_controls] [allow_exit]- Plays a video from the given URL at the specified properties, by default, volume 100, speed 1.0, stretch_video false, game_fade_duration 20.0, video_fade_duration 20.0, allow_controls true, allow_exit true
- Example: `/video @a 100 1.0 false 20.0 20.0 true true
- Requires OP permission level 4 (default)
- Arguments:
- url: The URL of the video to play. Must be a direct link to a video file (e.g., .mp4, .webm). MUST be quoted
- targets: The player(s) to play the video for
- volume: The volume of the video (0-120)
- speed: The speed of the video (0.1-2.0)
- stretch_video: Whether to stretch the video to fit the screen (true/false)
- game_fade_duration: The duration of the fade-in/out effect for the game to the video screen (in ticks)
- video_fade_duration: The duration of the fade-in/out effect for the darkness to the video (in ticks)
- allow_controls: Whether to allow players to control the video playback (true/false) [UNUSED]
- allow_exit: Whether to allow players to exit the video playback using ESC key (true/false)
/videoclient <"url">- Plays a video from the given URL on the client side only, without any server interaction
- Example:
/videoclient https://streamable.com/jzqiek - Requires no permission level and only had effects on your client
- Arguments:
- url: The URL of the video to play. Must be a direct link to a video file (e.g., .mp4, .webm). MUST be quoted
- volume: The volume of the video (0-120)
- speed: The speed of the video (0.1-2.0)
- stretch_video: Whether to stretch the video to fit the screen (true/false)
LOADING ANIMATION
The loading animation its provided by the WATERMeDIA API, and can be customized to place your own file by
adding it in the following path:
<minecraft folder>/config/watermedia/assets/watervision/loading.gif
If the file is not found, it will use the default one, which can be also customized to place your own file by
adding it in the following path:
<minecraft folder>/config/watermedia/assets/loading.gif
NOTE: Customizing the default one will affect all the mods that use the WATERMeDIA API
LICENSE
This mod is licensed under the PolyForm Strict License 1.0.0.
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WATERViSION: VideoPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
RELEASE 0.1.0-alpha
- ✨ 将
/video ...命令重命名为/playvideo ...,并将/videoclient ...命令重命名为/playvideoclient ... - ✨ 添加了 /playoverlay 和 /stopoverlay 命令,用于在覆盖层(非全屏)播放视频。
- 分辨率受限于游戏当前的纵横比
- ✨ 添加了 /stopvideo 命令以停止活动中的视频(包括由客户端播放的视频)
- ✨ 增加了对命令方块的支持(仅适用于
/playvideo、/stopvideo、/playoverlay、/stopoverlay) - ?️ 降低了所需的最低 Forge/Fabric/NeoForge 版本
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧