FramedBlocks

FramedBlocks

64456060 次下载
最近更新9 个月前
精致的建筑方块 Fancy building blocks

框架方块(FramedBlocks)添加了各种形状的方块,这些方块可以被制作成几乎与游戏中任何其他方块外观相同。

内容

上图中从左到右、从前到后的以下形状目前已实现:

  • 框架立方体
  • 框架斜坡(也可垂直放置)
  • 框架角斜坡(也可垂直放置)
  • 框架内角斜坡(也可垂直放置)
  • 框架棱柱角
  • 框架内棱柱角
  • 框架三路角
  • 框架内三路角
  • 框架板(半砖)
  • 框架板边缘
  • 框架板角
  • 框架面板
  • 框架角柱
  • 框架楼梯
  • 框架墙
  • 框架栅栏
  • 框架栅栏门
  • 框架门
  • 框架铁门
  • 框架活板门
  • 框架铁活板门
  • 框架压力板
  • 框架石质压力板
  • 框架黑曜石压力板
  • 框架重质压力板
  • 框架轻质压力板
  • 框架梯子
  • 框架按钮
  • 框架石质按钮
  • 框架拉杆
  • 框架告示牌
  • 框架双板(双半砖)
  • 框架双面板
  • 框架双斜坡(也可垂直放置)
  • 框架火把
  • 框架灵魂火把
  • 框架红石火把
  • 框架地板木板
  • 框架格子
  • 框架垂直楼梯(与楼梯、框架楼梯和框架半楼梯交互可形成拐角)
  • 框架双角(也可垂直放置)
  • 框架双棱柱角
  • 框架双三路角
  • 框架箱子
  • 框架栅栏
  • 框架玻璃板
  • 框架轨道斜坡
  • 框架花盆
  • 框架柱子(可在三个轴向上放置)
  • 框架半柱子(可在六个方向上放置)
  • 框架支柱(可在三个轴向上放置)
  • 框架可折叠方块
  • 框架半楼梯
  • 框架弹性立方体
  • 框架秘密储物方块
  • 框架红石方块
  • 框架棱柱
  • 框架斜棱柱
  • 框架斜坡板(按住潜行键可倒置放置)
  • 框架升高斜坡板
  • 框架双斜坡板(按住潜行键可倒置放置)
  • 框架反向双斜坡板
  • 框架升高双斜坡板
  • 框架平斜坡板角
  • 框架平内斜坡板角
  • 框架平升高斜坡板角
  • 框架平升高内斜坡板角
  • 框架平双斜坡板角
  • 框架平反向双斜坡板角
  • 框架平升高双斜坡板角
  • 框架平升高内双斜坡板角
  • 框架垂直半楼梯
  • 框架斜坡面板
  • 框架延伸斜坡面板
  • 框架双斜坡面板
  • 框架反向双斜坡面板
  • 框架延伸双斜坡面板
  • 框架平斜坡面板角
  • 框架平内斜坡面板角
  • 框架平延伸斜坡面板角
  • 框架平延伸内斜坡面板角
  • 框架平双斜坡面板角
  • 框架平反向双斜坡面板角
  • 框架平延伸双斜坡面板角
  • 框架平延伸内双斜坡面板角
  • 框架双楼梯
  • 框架垂直双楼梯
  • 框架墙板
  • 框架金字塔
  • 框架金字塔板
  • 大型框架按钮
  • 大型框架石质按钮
  • 框架水平玻璃板
  • 框架发光立方体(在黑暗中发光但不发射光线)
  • 框架靶子(靶子标记可染色)
  • 框架大门
  • 框架铁大门
  • 框架物品展示框
  • 框架发光物品展示框
  • 框架动力轨道斜坡
  • 框架探测轨道斜坡
  • 框架激活轨道斜坡
  • 框架内棱柱
  • 框架双棱柱
  • 框架内斜棱柱
  • 框架双斜棱柱
  • 框架单向窗
  • 框架精美轨道
  • 框架精美动力轨道
  • 框架精美探测轨道
  • 框架精美激活轨道
  • 框架精美轨道斜坡
  • 框架精美动力轨道斜坡
  • 框架精美探测轨道斜坡
  • 框架精美激活轨道斜坡
  • 框架半斜坡
  • 框架分隔斜坡
  • 框架双半斜坡
  • 框架斜楼梯
  • 框架垂直斜楼梯
  • 框架分隔板
  • 框架分隔面板(水平)
  • 框架分隔面板(垂直)
  • 框架迷你立方体
  • 框架堆叠斜坡板
  • 框架平堆叠斜坡板角
  • 框架平堆叠内斜坡板角
  • 框架堆叠斜坡面板
  • 框架平堆叠斜坡面板角
  • 框架平堆叠内斜坡面板角
  • 框架分隔楼梯
  • 框架垂直分隔楼梯

用法

用几乎任何固体方块右键点击该方块,可使其外观与之相同。
用装有流体的容器右键点击该方块,可使其外观与容器中的流体相同(1.19+)。
用萤石粉右键点击该方块,可使其发光。
用框架锤子右键点击该方块,可去除伪装。
用空的流体容器右键点击该方块,可去除流体伪装(1.19+)。

框架棱柱、内棱柱和双棱柱角在放置时会根据其位置自动激活纹理偏移。这解决了在使用这些方块构建较大表面时棱柱角无法正确拼接的问题。如果不需要此行为,可以用框架锤子左键点击方块来切换偏移状态。

框架扳手(以及 c:tools/wrench 标签中的任何其他物品)可用于旋转框架方块。在大多数方块上,旋转行为取决于点击的面。

框架螺丝刀可用于循环切换伪装方块的不同状态。

框架蓝图可复制框架方块,包括其伪装和发光状态。但框架方块本身的旋转状态不会被复制。

框架可折叠方块可以通过使用框架锤子改变单个方块面四个角的高度来创建任意斜坡。左键点击你想要改变的面上的角可使该面向内移动,按住潜行键左键点击角可使该面向外移动。此修改一次只能在单个面上进行,且只能在完整方块的范围内。

在服务器配置中启用后,大多数方块可以用幽灵膏(Phantom Paste)右键点击使其变得无形,允许你穿过它们。 要取消此效果,在蹲下时用框架螺丝刀右键点击该方块。

用框架锤子左键点击框架箱子,可在三种模式之间切换箱子的锁扣:

  • 默认箱子锁扣(默认状态)
  • 伪装纹理锁扣
  • 无锁扣

框架钥匙可将某些框架方块锁定在当前形状,以抑制相邻方块更新。这允许将方块放置在没有所需相邻方块时无法实现的配置中(例如,将框架楼梯放置在拐角形状而无需保留强制该形状所需的相邻方块)。

所有变体的框架压力板可以通过用框架锤子左键点击在可含水和不可含水状态之间切换。其默认状态为不可含水,以匹配原版行为。

请确保在 forge - client.toml 配置文件中启用 experimentalForgeLightPipelineEnabled 设置,以便在所有形状上获得正确的光照效果。

配置

框架方块提供了一些配置选项来调整某些行为

客户端:

  • showGhostBlocks:手持框架方块时显示半透明放置辅助(默认:true)
  • fancyHitboxes:在诸如斜坡之类的方块上绘制自定义碰撞箱,而不是其实际的楼梯台阶碰撞箱(默认:true)
  • detailedCulling:如果适用,隐藏框架方块之间的面,即使该面未填满整个方块面(默认:true)

服务器:

  • allowBlockEntities:是否可以在框架方块中放置带有方块实体的方块(默认:false)
    • 注意:在框架方块中放置方块实体在极少数情况下可能导致崩溃。要修复崩溃的方块,要么禁用此配置设置,要么将有问题的方块添加到黑名单标签中,与更改冲突的伪装将在方块加载时被移除
  • enableIntangibleFeature:启用无形特性。禁用此选项也会阻止穿过已标记为无形的方块(默认:false)
  • fireproofBlocks:通过禁用动态可燃性使框架方块完全防火(默认:false)

数据包功能

如果某个方块无法放置在框架方块中,而你认为应该可以,你可以通过数据包将该方块添加到 framedblocks:frameable 标签中。这里可以找到一个示例。
如果某个方块可以放置在框架方块中,而你认为不应该,你可以通过数据包将该方块添加到 framedblocks:blacklisted 标签中。这里可以找到一个示例。

已知问题

  • 通过鸢尾(Iris)加载的着色器提供的诸如反射率之类的效果,在将此类方块用作伪装时不会出现
  • 其基础模型使用通过资源包使用 CTM 特性纹理的框架方块不会渲染伪装(例如,使红石方块纹理全亮将破坏框架红石方块)

FramedBlocks adds blocks of various shapes that can be made to look like almost any other block in the game.

Contents

The following shapes as seen on the picture above from left to right, front to back are currently implemented:

  • Framed Cube
  • Framed Slope (can also be placed vertically)
  • Framed Corner Slope (can also be placed vertically)
  • Framed Inner Corner Slope (can also be placed vertically)
  • Framed Prism Corner
  • Framed Inner Prism Corner
  • Framed Threeway Corner
  • Framed Inner Threeway Corner
  • Framed Slab
  • Framed Slab Edge
  • Framed Slab Corner
  • Framed Panel
  • Framed Corner Pillar
  • Framed Stairs
  • Framed Wall
  • Framed Fence
  • Framed Fence Gate
  • Framed Door
  • Framed Iron Door
  • Framed Trapdoor
  • Framed Iron Trapdoor
  • Framed Pressure Plate
  • Framed Stone Pressure Plate
  • Framed Obsidian Pressure Plate
  • Framed Weighted Pressure Plate (Heavy)
  • Framed Weighted Pressure Plate (Light)
  • Framed Ladder
  • Framed Button
  • Framed Stone Button
  • Framed Lever
  • Framed Sign
  • Framed Double Slab
  • Framed Double Panel
  • Framed Double Slope (can also be placed vertically)
  • Framed Torch
  • Framed Soul Torch
  • Framed Redstone Torch
  • Framed Floor Board
  • Framed Lattice
  • Framed Vertical Stairs (interacts with Stairs, Framed Stairs and Framed Half Stairs to create a corner)
  • Framed Double Corner (can also be placed vcertically)
  • Framed Double Prism Corner
  • Framed Double Threeway Corner
  • Framed Chest
  • Framed Bars
  • Framed Pane
  • Framed Rail Slope
  • Framed Flower Pot
  • Framed Pillar (can be placed on all three axis)
  • Framed Half Pillar (can be placed in all six directions)
  • Framed Post (can be placed on all three axis)
  • Framed Collapsible Block
  • Framed Half Stairs
  • Framed Bouncy Cube
  • Framed Secret Storage
  • Framed Redstone Block
  • Framed Prism
  • Framed Sloped Prism
  • Framed Slope Slab (hold sneak key to place upside down)
  • Framed Elevated Slope Slab
  • Framed Double Slope Slab (hold sneak key to place upside down)
  • Framed Inverse Double Slope Slab
  • Framed Elevated Double Slope Slab
  • Framed Flat Slope Slab Corner
  • Framed Flat Inner Slope Slab Corner
  • Framed Flat Elevated Slope Slab Corner
  • Framed Flat Elevated Inner Slope Slab Corner
  • Framed Flat Double Slope Slab Corner
  • Framed Flat Inverse Double Slope Slab Corner
  • Framed Flat Elevated Double Slope Slab Corner
  • Framed Flat Elevated Inner Double Slope Slab Corner
  • Framed Vertical Half Stairs
  • Framed Slope Panel
  • Framed Extended Slope Panel
  • Framed Double Slope Panel
  • Framed Inverse Double Slope Panel
  • Framed Extended Double Slope Panel
  • Framed Flat Slope Panel Corner
  • Framed Flat Inner Slope Panel Corner
  • Framed Flat Extended Slope Panel Corner
  • Framed Flat Extended Inner Slope Panel Corner
  • Framed Flat Double Slope Panel Corner
  • Framed Flat Inverse Double Slope Panel Corner
  • Framed Flat Extended Double Slope Panel Corner
  • Framed Flat Extended Inner Double Slope Panel Corner
  • Framed Double Stairs
  • Framed Vertical Double Stairs
  • Framed Wall Board
  • Framed Pyramid
  • Framed Pyramid Slab
  • Large Framed Button
  • Large Framed Stone Button
  • Framed Horizontal Pane
  • Framed Glowing Cube (glows in the dark without emitting light)
  • Framed Target (Target markings can be dyed)
  • Framed Gate
  • Framed Iron Gate
  • Framed Item Frame
  • Framed Glow Item Frame
  • Framed Powered Rail Slope
  • Framed Detector Rail Slope
  • Framed Activator Rail Slope
  • Framed Inner Prism
  • Framed Double Prism
  • Framed Inner Sloped Prism
  • Framed Double Sloped Prism
  • Framed One-Way Window
  • Framed Fancy Rail
  • Framed Fancy Powered Rail
  • Framed Fancy Detector Rail
  • Framed Fancy Activator Rail
  • Framed Fancy Rail Slope
  • Framed Fancy Powered Rail Slope
  • Framed Fancy Detector Rail Slope
  • Framed Fancy Activator Rail Slope
  • Framed Half Slope
  • Framed Divided Slope
  • Framed Double Half Slope
  • Framed Sloped Stairs
  • Framed Vertical Sloped Stairs
  • Framed Divided Slab
  • Framed Divided Panel (Horizontal)
  • Framed Divided Panel (Vertical)
  • Framed Mini Cube
  • Framed Stacked Slope Slab
  • Framed Flat Stacked Slope Slab Corner
  • Framed Flat Stacked Inner Slope Slab Corner
  • Framed Stacked Slope Panel
  • Framed Flat Stacked Slope Panel Corner
  • Framed Flat Stacked Inner Slope Panel Corner
  • Framed Divided Stairs
  • Framed Vertical Divided Stairs

Usage

Right click the block with almost any solid block to make it look alike.
Right click the block with a fluid container to make it look like the fluid in the container (1.19+).
Right click the block with Glowstone Dust to make it produce light.
Right click the block with a Framed Hammer to remove the camo.
Right click the block with an empty fluid container to remove a fluid camo (1.19+).

Framed Prism, Inner Prism and Double Prism Corners automatically activate a texture offset depending on their position when placed. This fixes the issue of prism corners not fitting together properly when building a larger surface out of these blocks. If this behaviour is not desired, you can toggle the offset state by left clicking the block with the Framed Hammer.

The Framed Wrench (and any other item in the c:tools/wrench tag) can be used to rotate the Framed Block. On most blocks, the rotation behaviour is dependent on the face that was clicked.

The Framed Screwdriver can be used to cycle through different states of the camo block.

The Framed Blueprint allows copying Framed Blocks including their camo and glowing state. The rotation of the Framed Block itself is not copied.

The Framed Collapsible Block can be modified to create arbitrary slopes by changing the height of the four corners of a single block face with the Framed Hammer. Left click the corner on the face you want to change to move the face inward and left click the corner while sneaking to move the face outward. This modification can only happen on a single face at once and only within the bounds of a full block.

When activated in the server config, most blocks can be right-clicked with a Phantom Paste to make them intangible, allowing you to move through them. To remove this, right click the block with a Framed Screwdriver while crouching.

The latch of the Framed Chest can be switched between three modes by left clicking the chest with a Framed Hammer:

  • Default chest latch (default state)
  • Camo-textured latch
  • No latch

The Framed Key allows locking certain Framed Blocks in their current shape to suppress neighbor updates. This allows placing blocks in configurations that would not be possible with the desired neighbors (i.e. placing Framed Stairs in the corner shape without keeping the necessary neighbors to force that shape).

The Framed Pressure Plates (all variants) can be switched between waterloggable and non-waterloggable by left-clicking them with a Framed Hammer. Their default state is non-waterloggable to match vanilla behaviour.

Make sure to enable the experimentalForgeLightPipelineEnabled setting in the forge-client.toml config file to get proper lighting on all shapes.

Configuration

FramedBlocks offers a few configuration options to tweak certain behaviour

Client:

  • showGhostBlocks: Shows a half transparent placement aid when a Framed Block is held (default: true)
  • fancyHitboxes: Draw custom hitboxes on blocks like the slope instead of their actual stair step collision box (default: true)
  • detailedCulling: Hides faces between Framed Blocks if applicable even if the face doesn't fill the whole block face (default: true)

Server:

  • allowBlockEntities: Whether blocks with BlockEntities can be placed in Framed Blocks (default: false)
    • Note: placing BlockEntities in Framed Blocks may in rare cases lead to crashes. To fix a crashing block, either disable this config setting or add the offending block to the blacklist tag, the camo(s) conflicting with either change will then be removed when the block is loaded
  • enableIntangibleFeature: Enables the intangibility feature. Disabling this also prevents moving through blocks that are already marked as intangible (default: false)
  • fireproofBlocks: Makes Framed Blocks completely fireproof by disabling dynamic flammability (default: false)

Datapack Features

If a block cannot be placed in a Framed Block and you think that it should be, you can add the block to the framedblocks:frameable tag via a datapack. An example can be found here.
If a block can be placed in a Framed Block and you think that it shouldn't be, you can add the block to the framedblocks:blacklisted tag via a datapack. An example can be found here.

Known Issues

  • Effects provided by shaders loaded through Iris such as reflectivity are not present when such a block is applied as a camo
  • A Framed Block whose base model uses textures that use CTM features via a resource pack will not render camos (i.e. making the redstone block texture fullbright will break the Framed Redstone Block)

本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。

评论区 (0)

登录 后才能发表评论

暂无评论

快来发表第一条评论吧!