|
模板设计 (Templates)Github |相关wiki |源站链接支持: fabric , quilt通过 Fabric 渲染 API 提供重新贴图的方块
Templates 添加了_重新贴图方块_。将一个模板放置在世界中,右键点击并选择任何一个完整的方块,该模板就会变得与该方块完全相同。
享受使用成千上万种新可能性进行建造吧!您可以放置自定义的栅栏、墙壁、楼梯、台阶、活板门、杠杆、按钮、_蜡烛_等等。仅仅为了好玩,您还可以用 _萤石粉_ 来点亮模板,用 _红石火把_ 使其作为红石能源,以及用 _裂果_ 使其变为非实体方块。
其他模组也可以很容易地与模板进行接口连接,并添加自己的可贴图方块。
⚠ 模板最初是作为 Fabric 渲染 API 的技术演示而构思的,它测试了该 API 的极限。您需要安装一个兼容的渲染器实现。Fabric API 包含了一个名为 _Indigo_ 的渲染器,但它与 [Sodium](链接) 不兼容。如果您使用 Sodium,您可能需要安装一个像 [Indium](链接) 这样的模组,以使模板正常工作。对造成的不便表示抱歉!


截图:
来自Modrinth所有游戏版本1.21.11.20.41.20.1所有类型fabricquilt2.5.1templates-mod-2.5.1+1.21.1.jar下载2.5.1-fabric-1.21.1#Release* Fix faces on the Slope disappearing with Sodium (i had a wrong cullface set)* Try to fix AO on the slope but fail展开版本: 2.5.1-fabric-1.21.1支持游戏: 1.21.1类型:FabricRelease下载次数: 5,4242.5.0templates-mod-2.5.0+1.21.1.jar下载2.5.0-fabric-1.21.1#Release* Rewrite a lot of the retexturing logic.* Now, only one ready-to-retexture `Mesh` is used per bakedmodel, which is probably how it should have been in the first place. Should save memory and improve chunk-baking performance a little bit.* Some ABI breaks are related to this. See Git or let me know if you need more information.* Permute the faces of fewer types of Templates. (This might rotate blocks inside some Templates.)展开版本: 2.5.0-fabric-1.21.1支持游戏: 1.21.1类型:FabricRelease下载次数: 1,0552.4.1templates-mod-2.4.1+1.21.1.jar下载2.4.1-fabric-1.21.1#Release* Remove mixin that did nothing and broke Sinytra Connector* Tag template button with `wooden_buttons` again* Load nbt tag clientside (preventing flicker of regular template when you place one)展开版本: 2.4.1-fabric-1.21.1支持游戏: 1.21.1类型:FabricRelease下载次数: 332.4.1templates-mod-2.4.1+1.20.4.jar下载2.4.1-fabric-1.20.4#Release* Remove mixin that did nothing and (probably) broke Sinytra Connector* Tag template button with `wooden_buttons` again展开版本: 2.4.1-fabric-1.20.4支持游戏: 1.20.4类型:FabricRelease下载次数: 1062.3.2templates-mod-2.3.2+1.20.1.jar下载2.3.2-fabric-1.20.1#Release* Remove mixin that did nothing and (probably) broke Sinytra Connector* Tag template button with `wooden_buttons` again展开版本: 2.3.2-fabric-1.20.1支持游戏: 1.20.1类型:FabricRelease下载次数: 2,3492.4.0templates-mod-2.4.0+1.21.1.jar下载2.4.0-fabric-1.21.1#Releasehi 1.21.**NOTE**: Somewhat slapdash. Let me know if there\'s trouble.展开版本: 2.4.0-fabric-1.21.1支持游戏: 1.21.1类型:FabricRelease下载次数: 332.4.0templates-mod-2.4.0+1.20.4.jar下载2.4.0-fabric-1.20.4#Release1.20.4 port展开版本: 2.4.0-fabric-1.20.4支持游戏: 1.20.4类型:FabricRelease下载次数: 132.3.1templates-mod-2.3.1+1.20.1.jar下载2.3.1-fabric-1.20.1#Release* Add recipes to craft Slab Templates into Vertical Slab Templates and vice versa.* If a Template can\'t decide on a texture, it\'ll now fall back to the block\'s particle texture (instead of displaying the glitchy scaffolding texture)展开版本: 2.3.1-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 2152.3.0templates-mod-2.3.0+1.20.1.jar下载2.3.0-fabric-1.20.1#Release* Fix messed up Fence Template and Post Template items from last update.* Add a tooltip to the Slope and Tiny Slope templates reminding you that they can be placed sideways on walls by holding Shift.* Retexturable models (for \"json\" and \"auto\" types), as well as item model overrides, can now be loaded out of a resource pack.* See the json files lurking in `assets/templates/`.* This isn\'t *too* useful, since the models only make *sense* when applied to a block from Templates.* The existing code-registration API still works. These are dubbed \"permanent\" mappings (since they aren\'t cleared on resource reload).* Permanent mappings can be overridden with resource-pack ones.* More datagen.* **Potential ABI break**: Use `fabric-block-view-api-v2` instead of the deprecated `fabric-rendering-data-attachment-v1`.* This means I use `RenderDataBlockEntity` instead of the deprecated `RenderAttachmentBlockEntity` to read information about templates from the world.* *If you implement `ThemeableBlockEntity`*, please implement `ThemeableBlockEntity2` instead. However, the old interface has been changed to extend the new interface and forward calls from `fabric-rendering-data-attachment-v1`, so addons **should still work**.* **Potential ABI break**: Use `fabric-model-loading-api-v1` instead of the deprecated `fabric-models-v0`.* Due to shortcomings of this API (no ability to directly set an `UnbakedModel` for items), Template items now need an arbitrary json item model to suppress \"missing model\" logspam.* In the future I intend to make fuller use of the features afforded by this library.展开版本: 2.3.0-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 372.2.1templates-mod-2.2.1+1.20.1.jar下载2.2.1-fabric-1.20.1#Release* People were rightfully wary of my sketchy TNT data-tracker mixin, so I put a priority on it. It should hopefully apply in a consistent ordering and not cause problems.* **Please remember to apply this update to the client AND server*** TNTemplate now feels more like a tnt block (breaks instantly, etc)* Fix recipe unlocking! It now only unlocks when you get bamboo for the first time. Nobody noticed.* A significant portion of the mod\'s assets and data files are now automatically generated. Let me know if something feels off.展开版本: 2.2.1-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 572.2.0templates-mod-2.2.0+1.20.1.jar下载2.2.0-fabric-1.20.1#ReleaseOld changes (~2023, unreleased until now):* Start sketching out an API, accessible through `TemplatesClientApi.getInstance()`* (Note from the future: This API will break *hard* in 1.21 due to Mojang fuckery)* Code cleanups that hopefully didn\'t break ABI compat* Remove some unused stuff from the jar* Vertical slab placement is a little better* Fix a bug where templates that look like blocks with randomized models, such as stone, could reroll their blockstate on every resource load* Forgot to specify a random seed.* Templated blocks always use the *same* model -- templated stone will still not be randomly rotated/flipped -- but at least now it uses the *same* same model.New changes:* New template: \"Post Cross\" - a plus shape that fits squarely on fences or the Post template. Can be placed in three different orientations.* New template: \"TNTemplate\". This will end well.* Connected textures should work! I tested with Chisel Reborn. Other blocks should be OK as long as they implement `FabricBlock#getAppearance`.* Mushroom blocks now work (as well as any other blocks with `\"multipart\"` models).* Very slightly reduce memory usage of `TemplateAppearance`?* Only declare dependencies on the Fabric API modules I actually use.TODO list:* I still depend on two deprecated modules, `fabric-rendering-data-attachment-v1` (has ABI implications) and `fabric-models-v0` (the replacement seems to be `fabric-model-loading-api-v1`, and this also has ABI implications)展开版本: 2.2.0-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 2182.1.1templates-2.1.1+1.20.1.jar下载2.1.1-fabric-1.20.1#ReleaseEnable ambient-occlusion (and \"smooth lighting\") on all Templates except for the slopes, which are still buggy with it展开版本: 2.1.1-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 29,1902.1.0templates-2.1.0+1.20.1.jar下载2.1.0-fabric-1.20.1#Release* new Template: *Vertical Slab** new Template: *Tiny Slope** Significantly reduce size of Template block entity NBT tags* Blocks will be automatically upgraded when loaded, creative ctrl-picked templates from before this update will not, and may act funny* `\"BlockState\"` -> `\"s\"`, like 5 separate boolean flags -> a single bitfield `\"b\"`* Reduce memory footprint of Template block entities* Respect `doTileDrops`* Improve creative ctrl-pick behavior on glowing Templates* Adding a Barrier block to a Template makes it invisible (does NOT make it unbreakable btw)展开版本: 2.1.0-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 3242.0.4templates-2.0.4+1.20.1.jar下载2.0.4-fabric-1.20.1#ReleaseAdd more block tags, and add item tags展开版本: 2.0.4-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 1362.0.3templates-2.0.3+1.20.1.jar下载2.0.3-fabric-1.20.1#Release* Add doors and iron doors* cool rivulet展开版本: 2.0.3-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 1332.0.2templates-2.0.2+1.20.1.jar下载2.0.2-fabric-1.20.1#Release- Add an Iron Trapdoor template- Fix mod metadata and add more metadataThanks Patbox for noticing/suggesting展开版本: 2.0.2-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 1032.0.1templates-2.0.1+1.20.1.jar下载2.0.1-fabric-1.20.1#ReleaseFirst public version. (2.0.0 was yanked for a duplication glitch.)展开版本: 2.0.1-fabric-1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 168全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
模板设计 |
楼主
2025-8-10 19:33:53
回复(0)
收起回复
|