描述
一个客户端模组,用于在右键放置方块时显示方块的预览效果。
预览示例截图
配置
提供多种配置选项,可通过游戏内配置菜单或配置文件进行设置。
defaultStateGhost- 幽灵方块渲染是否默认启用(在不按住任何键的情况下)defaultStateWire- 线框渲染是否默认启用(在不按住任何键的情况下)enableRenderGhost- 幽灵方块渲染的主要开关enableRenderWire- 线框渲染的主要开关fakeWorldCopyRadius- 复制到假世界的方块半径。变更检测半径为此值减一。renderAfterDelay- 只有当光标在某个方块上停留一定时间后,预览才会激活。renderDelay- 光标必须在方块上停留的时间长度,预览才会激活。renderOverlapping- 在现有方块上方渲染幽灵方块预览。这也会改变变更方块的模型检测方式。(当为 false 时,仅包含通过setBlockState()在假世界中修改的方块;当为 true 时,所有在fakeWorldCopyRadius - 1半径内的方块都会通过与真实世界比较getActualState()引用来进行对比。这意味着诸如更改相邻现有方块的栅栏连接等变化也会显示出来。)requireSneakForGhost- 是否需要按住潜行键才能渲染幽灵方块requireSneakForWire- 是否需要按住潜行键才能渲染线框resetHoverTimerOnPosChange- 当光标移动到不同的方块上时,悬停延迟计时器是否会重置。toggleGhostWhileHoldingKey- 是否在按住toggleKeyGhost中设置的键时,将幽灵方块渲染状态从defaultStateGhost的状态进行切换。toggleWireWhileHoldingKey- 是否在按住toggleKeyWire中设置的键时,将线框渲染状态从defaultStateWire的状态进行切换。toggleKeyGhost- 必须按住此键才能使幽灵方块渲染状态从defaultStateGhost发生切换。可以是shift、alt或ctrl。toggleKeyWire- 必须按住此键才能使线框渲染状态从defaultStateWire发生切换。可以是shift、alt或ctrl。transparencyAlpha- 如果useTransparency为true,则幽灵方块的 Alpha 值。范围:0.0 - 1.0,其中0.0= 完全透明,1.0= 完全不透明。useTransparency- 将幽灵方块渲染为透明/半透明。
可以通过切换键(默认为 P)整体开启或关闭渲染功能。
enableRenderGhost 的状态可以通过“切换幽灵”按键绑定(默认为 Shift + P)进行切换。
enableRenderWire 的状态可以通过“切换线框”按键绑定(默认为 Ctrl + P)进行切换。
总结一下:
enableRender*选项是“主控开关”,将其关闭意味着无论该模式(幽灵或线框)的其他选项如何设置,都不会进行渲染。defaultState*选项设置了该模式的“默认渲染状态”(开或关),前提是不按任何键。requireSneakFor*控制是否需要潜行才能使该模式的渲染激活。toggle*WhileHoldingKey- 启用后,当按下对应toggleKey*选项中设置的键时,defaultState*的开关状态将被切换/反转。
基本上,你可以设置为默认渲染一种或两种模式,并在按住某个键(Ctrl、Alt 或 Shift)时禁用它们;或者要求潜行;或者要求按住 Ctrl、Alt 或 Shift;或者让它们默认开启但带有延迟;或者要求潜行和/或按住某个键,同时仍然需要延迟……希望你能理解我的意思 :p
Description
A client-side mod for displaying a preview of the block that would be placed on right click.
preview example screenshot
Configuration
There are several configuration options available, either via the in-game config menu, or in the configuration file.
defaultStateGhost- Should the ghost block rendering be enabled or disabled by default (when not holding any keys)defaultStateWire- Should the wire frame rendering be enabled or disabled by default (when not holding any keys)enableRenderGhost- The main enable for ghost block renderingenableRenderWire- The main enable for wire frame renderingfakeWorldCopyRadius- The radius of blocks that will be copied to the fake world. The change detection radius is one less than this value.renderAfterDelay- The preview will only activate after the cursor has been held over a block for an amount of time.renderDelay- The amount of time the cursor must be held over a block for the preview to activate.renderOverlapping- Render a ghost block preview over existing blocks. This also changes the way the changed block models are detected. (when false, only blocks that were modified in the fake world viasetBlockState()are included, when true, all blocks in a radius offakeWorldCopyRadius - 1are compared to the real world by comparing thegetActualState()reference. This means that things like changing fence connections of adjacent existing blocks will be shown.)requireSneakForGhost- Is holding sneak required to render the ghost blocksrequireSneakForWire- Is holding sneak required to render the wire frameresetHoverTimerOnPosChange- Whether the hover delay will reset when the cursor moves over a different block.toggleGhostWhileHoldingKey- Whether to toggle the ghost block rendering state from what thedefaultStateGhostis, while holding the key set intoggleKeyGhosttoggleWireWhileHoldingKey- Whether to toggle the wire frame rendering state from what thedefaultStateWireis, while holding the key set intoggleKeyWiretoggleKeyGhost- The key that must be help for the ghost block rendering state to toggle from thedefaultStateGhost. Can beshift,altorctrl.toggleKeyWire- The key that must be help for the wire frame rendering state to toggle from thedefaultStateWire. Can beshift,altorctrl.transparencyAlpha- The alpha value of the ghost block, ifuseTransparencyistrue. Range:0.0 - 1.0, where0.0= completely transparent,1.0= completely opaque.useTransparency- Render the ghost blocks as transparent/translucent.
The rendering can be toggled on/off all together via the Toggle key, which is P by default.
The enableRenderGhost state can be toggled via the Toggle Ghost keybind (Shift + P by default).
The enableRenderWire state can be toggled via the Toggle Wire keybind (Ctrl + P by default).
So to sum it up a bit:
- The enableRender* options are the "master controls" and turning them off means nothing will be rendered no matter what the other options for that mode (ghost or wire) are.
- Then the defaultState* options set the "default rendering state" (on vs. off) for that mode, when no keys are being pressed.
requireSneakFor*controls if sneaking is required for the rendering to activate for that mode.toggle*WhileHoldingKey- When enabled, the on/off state from thedefaultState*will be toggled/reversed while the key set in the correspondingtoggleKey*option is being pressed.
So basically you can set it up to render one or both of the modes by default and be disabled while holding a key (Ctrl or Alt or Shift), or make them require sneaking, or make them require holding Ctrl or Alt or Shift, or make them be on by default but on a delay, or make them require sneaking and/or holding a key and still require a delay... You get the idea, I hope :p
下载 Placement Preview
下载 Placement Preview
下载 Placement Preview
下载 Placement Preview
下载 Placement Preview
下载 Placement Preview
下载 Placement Preview
下载 Placement Preview
下载 Placement Preview
下载 Placement Preview
- (希望)修复了一些关于方块黑名单的问题,例如空气方块有时会被加入黑名单,从而导致渲染出现异常
- 添加了在游戏启动后默认启用或禁用渲染的选项
- 由 LinguaOccultus 添加了德语本地化支持
- 对 JAR 文件进行了签名
原始构建时间: 2017-10-22 07:10:32 UTC+3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧