Spectral

Spectral 是一个模组,目前添加了 4 种物品,其中三种如图所示:

第一种是Spectral Dust(幽影粉尘),由幻翼膜制作而成。它可以被食用以暂时进入幽灵状态,也可以放置在生物身上使其变为幽灵状态。
第二种是Spectral Goggles(幽影护目镜),佩戴者可以进入幽灵状态,从而能够看见并与幽灵方块和实体进行互动。这种护目镜可以使用 Spectral Block、Spectral Dust、线以及铁锭合成。
第三种是Spectral Block(幽影方块),可以作为普通方块放置,但只有处于幽灵状态的玩家和生物才能看见、碰撞或破坏它。(此功能基于每个玩家独立判定,因此你可能会看到幽灵方块,而你的朋友却看不到!)该方块可以由 Spectral Dust 和玻璃合成。
第四种也是最新的Block of Cold Iron(冷铁块),与幽灵方块类似,但只能被非幽灵实体进行互动!
机制
Spectral 的基本机制如下:
活体实体可以处于两种状态之一:正常(非幽灵)或幽灵状态。这取决于其 spectral_vision 属性值(0 表示正常,1 表示幽灵)。非幽灵实体无法看见、攻击或推动幽灵实体,也无法破坏、碰撞或看见幽灵方块。幽灵实体无法看见、攻击或推动非幽灵实体,但可以完全与其他幽灵实体及幽灵方块进行互动。
已知问题:
- 安装了 Sodium 或其他影响区块重建的优化模组时,幽灵方块的渲染状态切换不正确
- 即使玩家不处于幽灵状态,幽灵方块上方仍会出现阴影
- 如果你遇到其他问题或有建议,请在 GitHub Issues 中提交,以便我查看!
Spectral

Spectral is a mod that currently adds 4 items, three of which are pictured below:

The first, Spectral Dust, is crafted from phantom membranes and can either be eaten to turn temporarily spectral, or put onto a mob to turn it spectral.
The second, Spectral Goggles, put who wears them to enter a spectral state, allowing them to see and interact with spectral blocks and entities. These goggles can be crafted with Spectral Blocks, Spectral Dust, String, and Iron ingots.
The third, Spectral Block can be placed down as a normal block, but can only be seen, collided with, and broken by spectral players and mobs. (This function is per-player, so you might be able to see spectral blocks while your friends cannot!) This block can be crafted from Spectral Dust and glass!
The fourth and newest, Block of Cold Iron is the same as a spectral block but can only be interacted with by non-spectral entities!
Mechanics
The basic mechanics of Spectral function as such:
There are two states living entities can be in, either normal (non-spectral) or spectral. This depends on their spectral_vision attribute (0 for normal, 1 for spectral). A non-spectral entity cannot see, hit, or push spectral entities, and it cannot break, collide, or see spectral blocks. Spectral entities cannot see, hit, or push non-spectral entities, but can fully interact with other spectral entities and spectral blocks.
Known Issues:
-Spectral blocks do not properly change render states when sodium or other optimization mods that affect chunk rebuilds are installed
-Shadows appear ontop of Spectral blocks even when the player is not spectral
-If you encounter any other issues or have any suggestions, please post them on github issues for me to see!
评论 0
登录后参与评分
还没有评论,来抢沙发吧