众所周知,基本所有模组的方块、植物等都不和光影兼容,如果你正在游玩MOD,而且正在使用光影,但是无奈于MOD里的植物不和光影兼容,没有生机怎么办?

那就自己动手来修改光影配置,添加起来很容易,只是过程比较繁琐

本文末尾有两个比较大的生物群系MOD的方块ID列表,如果你会配置光影,那你可以跳过这篇教程,直接到文尾复制方块ID使用。

教程写下时的游戏版本:1.16.4(但方块注册名没有改基本可以一直兼容到高版本)

因为模组一直在更新,如果文中缺少了方块可以自行用此方法添加,另一篇教程有一些其他模组的注册名可以参考(如果你整合了其他的模组的注册名列表,也可以在这篇教程里分享给其他玩家)。

这是一篇社区教程,有错误和遗漏可以随时修正和补充。


正文

首先打开光影文件夹【shaderpacks,找到你要修改的光影(压缩包或文件夹),找到名字为【block.properties】的一个文件,通常默认用txt打开,你也可以用其他文本编辑器(Notepad++等)。

这个文件是光影的方块配置文件,也就是你可以手动兼容模组方块的地方。

接下来很简单,直接添加你需要的方块到这个文件里对应的地方,也就是将MOD方块的注册名加上去。(比如把树叶添加到树叶一栏,实际上错了也不会有问题,只是看起来效果不是最好)

可以在游戏里边加入边保存,保存时先取消光影否则会因为游戏占用保存失败,之后重载光影,你就发现那些方块能被光影渲染动起来了。


方块注册名查看方法:在游戏内按F3+H打开高级提示框,也可以配合JEIJade查看更方便一些,名字下的淡色灰字就是方块注册名(一般为XXX:flower_xxx),再那个名字添加到文件内。

部分MOD的水方块也可以被添加,Jade是可以查看流体方块ID的MOD之一,在Jade里打开显示注册名称显示流体即可

每个光影的文件可能不太一样,下面有一个示例排版让你参考以及搜索。

比较特殊的方块的添加方法

2格的高植物一般直接添加注册名会效果不好(上下两段摇曳时会错位不自然),可以直接效仿下面的文本,在注册名后面添加【:half=upper】或者【:half=lower】即可(注意冒号,最后依旧需要空格)

像暮色森林的巨型睡莲普通添加也会错位,这种特殊的也可以优化,但是需要添加的状态不同,有方块状态的按F3在右侧那栏可以看到(一般就在注册名下方),比如巨型睡莲的注册名是twilightforest:huge_lily_pad,下面有个方块状态分别是四个角状态piece=nw piece=ne piece=sw piece=se,其中一个组合起来就是twilightforest:huge_lily_pad:piece=nw,把这四个方块分成左边两块放到高植物上部分,右边两块放到高植物下部分,就能让光影自然地渲染,例:

102 - Flat Plants Lower

twilightforest:huge_lily_pad:piece=nw twilightforest:huge_lily_pad:piece=ne

103 - Flat Plants Upper

twilightforest:huge_lily_pad:piece=sw twilightforest:huge_lily_pad:piece=se

2格以上的方块也可以这样添加,但是因为光影只做了两截,渲染成功了效果可能也不太好(摇曳时错位),可以选择自己需要的方式。


注意事项

1、请注意添加时每个注册名间需有空格,也不要有多余的空格,冒号这些请使用小写(英文冒号),格式错误会导致识别失败

2、本篇教程用的是BLS光影,其他光影和旧版本不能保证本教程有效

3、BLS光影里如果要换行,回车换行后前一行不用加空格和\也行,实测可以渲染,在结尾加\可能是方便分类

4、添加完之后光影直接停用的原因之一:每种类型(如树叶、植物这种)最后一个或一行注册名不要加\,出现这种情况找到删除即可


示例

有的文件里作者会直接帮你排好版,让你知道哪一行是哪种方块,方便你添加。如果没有排版看上去会很乱,你不熟悉MC的原版ID的话,可能会无从下手。

如果你的光影文件没有排版,下面是光影文件内一些相应位置的MC原版ID,这一点每个光影都一致(只要光影版本相同),所以你直接用CTRL+F搜索其中一个需要的ID找到那一行,然后添加到那一行后面即可。

Grass【草】minecraft:grass

Water【水】minecraft:water minecraft:flowing_water

Plants【植物】minecraft:dandelion minecraft:poppy minecraft:blue_orchid minecraft:allium minecraft:azure_bluet minecraft:red_tulip 

Tall Plants Upper【高植物/上部分】minecraft:sunflower:half=upper minecraft:lilac:half=upper minecraft:tall_grass:half=upper minecraft:large_fern:half=upper

Tall Plants Lower【高植物/下部分】minecraft:sunflower:half=lower minecraft:lilac:half=lower minecraft:tall_grass:half=lower minecraft:large_fern:half=lower

Leaves【树叶】minecraft:oak_leaves minecraft:spruce_leaves minecraft:birch_leaves minecraft:jungle_leaves minecraft:acacia_leaves minecraft:dark_oak_leaves

Vines【藤蔓】minecraft:vine

Stem【梗】minecraft:pumpkin_stem minecraft:attached_pumpkin_stem minecraft:melon_stem

Static Foliage【静止植物】minecraft:sugar_cane minecraft:cobweb minecraft:oak_sapling

lantern【灯笼】minecraft:lantern minecraft:lantern:hanging=true


MOD方块ID

以下MOD的方块ID是手动添加的,可能会有遗漏,以及MOD更新时,需要你手动添加,愿意的话,你也可以来帮助完善MOD方块ID列表。

[BOP]超多生物群系 MOD版本:1.16.4-13.0.0.427-universal 

树叶

biomesoplenty:pink_cherry_leaves biomesoplenty:hellbark_leaves biomesoplenty:umbran_leaves biomesoplenty:white_cherry_leaves biomesoplenty:mahogany_leaves biomesoplenty:palm_leaves biomesoplenty:willow_leaves biomesoplenty:dead_leaves biomesoplenty:magic_leaves biomesoplenty:redwood_leaves biomesoplenty:origin_leaves biomesoplenty:maple_leaves biomesoplenty:orange_autumn_leaves biomesoplenty:yellow_autumn_leaves biomesoplenty:rainbow_birch_leaves biomesoplenty:flowering_oak_leaves biomesoplenty:fir_leaves

树苗//一般是添加到【静止植物】那一栏,如果你想要树苗也有摇曳效果,就加到【植物】一栏。

biomesoplenty:origin_sapling biomesoplenty:rainbow_birch_sapling biomesoplenty:flowering_oak_sapling biomesoplenty:yellow_autumn_sapling biomesoplenty:orange_autumn_sapling biomesoplenty:maple_sapling biomesoplenty:fir_sapling biomesoplenty:redwood_sapling biomesoplenty:white_cherry_sapling biomesoplenty:pink_cherry_sapling biomesoplenty:mahogany_sapling biomesoplenty:jacaranda_sapling biomesoplenty:palm_sapling biomesoplenty:willow_sapling biomesoplenty:dead_sapling biomesoplenty:magic_sapling biomesoplenty:umbran_sapling biomesoplenty:hellbark_sapling

蘑菇//你可以加到【静止植物】或者【植物】里。

biomesoplenty:toadstool biomesoplenty:glowshroom

藤蔓

biomesoplenty:willow_vine biomesoplenty:mangrove_root

植物

biomesoplenty:rose biomesoplenty:violet biomesoplenty:lavender biomesoplenty:wildflower biomesoplenty:orange_cosmos biomesoplenty:pink_daffodil biomesoplenty:pink_hibiscus biomesoplenty:glowflower biomesoplenty:wilted_lily biomesoplenty:burning_blossom biomesoplenty:blue_hydrangea biomesoplenty:goldenrod biomesoplenty:sprout biomesoplenty:bush biomesoplenty:dune_grass biomesoplenty:desert_grass biomesoplenty:dead_grass

高植物上部分//分上下部分分别添加,根据英文upper和lower放到一样的栏里,不然会有错位效果

biomesoplenty:barley:half=upper biomesoplenty:goldenrod:half=upper biomesoplenty:blue_hydrangea:half=upper biomesoplenty:watergrass:half=upper biomesoplenty:reed:half=upper biomesoplenty:cattail:half=upper biomesoplenty:tall_lavender:half=upper

高植物下部分

biomesoplenty:barley:half=lower biomesoplenty:goldenrod:half=lower biomesoplenty:blue_hydrangea:half=lower biomesoplenty:watergrass:half=lower biomesoplenty:reed:half=lower biomesoplenty:cattail:half=lower biomesoplenty:tall_lavender:half=lower


[BYG]你将去的生物群系 MOD版本:1.1.6

备注

1、有一些方块还未实装/被移除,也一并添加在下方了,如果版本更迭可能会有所改动失效,请注意。

2、部分方块手动添加也不能被渲染,如果你能解决可以帮助完善此教程。


添加了无效的//暂无解决方案。

byg:bulbis_oddity蓝色发光蘑菇

byg:purple_bulbis_oddity紫色发光蘑菇

byg:embur_gel_vines灰烬余木胶藤蔓

byg:winter_grass冬草

byg:oddity_bush子实体丛

byg:water_silk水棉

树叶

byg:red_birch_leaves byg:orange_birch_leaves byg:yellow_birch_leaves byg:red_oak_leaves byg:orange_oak_leaves byg:red_spruce_leaves byg:yellow_spruce_leaves byg:orange_spruce_leaves byg:brown_zelkova_leaves byg:joshua_leaves byg:ripe_joshua_leaves byg:orchard_leaves byg:flowering_orchard_leaves byg:ripe_orchard_leaves byg:witch_hazel_leaves byg:zelkova_leaves byg:withering_oak_leaves byg:araucaria_leaves byg:blue_spruce_leaves byg:brown_birch_leaves byg:brown_oak_leaves byg:pine_leaves byg:rainbow_eucalyptus_leaves byg:redwood_leaves byg:green_apple_skyris_leaves byg:skyris_leaves byg:willow_leaves byg:blooming_witch_hazel_leaves byg:red_maple_leaves byg:silver_maple_leaves byg:flowering_nightshade_leaves byg:nightshade_leaves byg:palm_leaves byg:flowering_palo_verde_leaves byg:palo_verde_leaves byg:holly_leaves byg:jacaranda_leaves byg:indigo_jacaranda_leaves byg:lament_leaves byg:mahogany_leaves byg:mangrove_leaves byg:maple_leaves byg:cika_leaves byg:cypress_leaves byg:ebony_leaves byg:ether_leaves byg:fir_leaves byg:green_enchanted_leaves byg:holly_berry_leaves byg:aspen_leaves byg:baobab_leaves byg:blue_enchanted_leaves byg:pink_cherry_leaves byg:white_cherry_leaves

作物

byg:baobab_fruit_block

树苗//一般是添加到【静止植物】那一栏,如果你想要树苗也有摇曳效果,就加到【植物】一栏。

byg:aspen_sapling byg:baobab_sapling byg:blue_enchanted_sapling byg:pink_cherry_sapling byg:white_cherry_sapling byg:cika_sapling byg:cypress_sapling byg:ebony_sapling byg:ether_sapling byg:fir_sapling byg:green_enchanted_sapling byg:holly_sapling byg:jacaranda_sapling byg:indigo_jacaranda_sapling byg:lament_sapling byg:mahogany_sapling byg:mangrove_sapling byg:maple_sapling byg:red_maple_sapling byg:silver_maple_sapling byg:nightshade_sapling byg:palm_sapling byg:palo_verde_sapling byg:pine_sapling byg:rainbow_eucalyptus_sapling byg:redwood_sapling byg:skyris_sapling byg:willow_sapling byg:witch_hazel_sapling byg:zelkova_sapling byg:withering_oak_sapling byg:araucaria_sapling byg:blue_spruce_sapling byg:brown_birch_sapling byg:brown_oak_sapling byg:brown_zelkova_sapling byg:joshua_sapling byg:orange_birch_sapling byg:orange_oak_sapling byg:orange_spruce_sapling byg:orchard_sapling byg:red_birch_sapling byg:red_oak_sapling byg:red_spruce_sapling byg:yellow_birch_sapling byg:yellow_spruce_sapling byg:embur_wart

蘑菇//你可以添加到【静止植物】或者【植物】一栏。

byg:blue_glowshroom byg:purple_glowshroom byg:green_mushroom

byg:black_puff byg:wood_blewit byg:weeping_milkcap byg:shulkren_fungus byg:soul_shroom byg:death_cap byg:sythian_fungus byg:biomesoplenty:toadstool byg:bulbis_oddity byg:purple_bulbis_oddity

藤蔓

byg:lament_vine byg:lament_vine_plant byg:skyris_vine byg:embur_gel_vines byg:blue_glowcane byg:pink_glowcane byg:purple_glowcane byg:red_glowcane byg:whaling_vine byg:shulkren_vine byg:shulkren_vine_plant byg:poison_ivy byg:soul_shroom_spore_end byg:soul_shroom_spore byg:hanging_sythian_roots byg:weeping_roots byg:weeping_roots_plant byg:hanging_sythian_roots_plant

植物

byg:crimson_berry_bush byg:warped_bush byg:byg:warped_coral byg:warped_coral_fan byg:yellow_tulip byg:yellow_daffodil byg:winter_scilla byg:winter_rose byg:winter_cyclamen byg:white_sage byg:white_anemone byg:violet_leather_flower byg:torch_ginger byg:snowdrops byg:silver_vase_flower byg:rose byg:richea byg:red_orchid byg:red_cornflower byg:purple_tulip byg:purple_sage byg:purple_orchid byg:purple_amaranth byg:protea_flower byg:pink_orchid byg:pink_daffodil byg:pink_anemone byg:pink_allium_flower_bush byg:pink_allium byg:peach_leather_flower byg:osiria_rose byg:orange_daisy byg:orange_amaranth byg:magenta_tulip byg:magenta_amaranth byg:lolipop_flower byg:lazarus_bellflower byg:kovan_flower byg:iris byg:incan_lily byg:guzmania byg:green_tulip byg:firecracker_flower_bush byg:fairy_slipper byg:delphinium byg:daffodil byg:cyan_tulip byg:cyan_rose byg:cyan_amaranth byg:crocus byg:california_poppy byg:blue_sage byg:black_rose byg:bistort byg:begonia byg:azalea byg:angelica byg:amaranth byg:alpine_bellflower byg:allium_flower_bush byg:oddity_bush byg:short_beach_grass byg:beach_grass byg:wilted_grass byg:weed_grass byg:winter_grass byg:winter_succulent byg:short_grass byg:prairie_grass byg:horseweed byg:blueberry_bush byg:nightshade_berry_bush byg:nightshade_sprouts byg:ether_bush byg:ether_grass byg:ivis_sprout byg:ivis_roots byg:tall_embur_roots byg:embur_roots byg:embur_sprouts byg:sythian_sprout byg:sythian_roots byg:scorched_bush byg:scorched_grass byg:whaling_grass byg:warped_coral_fan byg:warped_coral byg:warped_bush byg:tall_crimson_roots byg:crimson_berry_bush byg:thereal_bellflower

高植物上部分//分上下部分分别添加,根据英文upper和lower放到一样的栏里,不然会有错位效果

byg:japanese_orchid:half=upper byg:foxglove:half=upper byg:delphinium:half=upper byg:tall_pink_allium:half=upper byg:azalea:half=upper byg:tall_allium:half=upper byg:tall_crimson_roots:half=upper byg:nether_bristle:half=upper byg:tall_prairie_grass:half=upper byg:cattail:half=upper byg:reeds:half=upper byg:tall_embur_roots:half=upper byg:nightshade_roots:half=upper

高植物下部分

byg:japanese_orchid:half=lower byg:foxglove:half=lower byg:delphinium:half=lower byg:tall_pink_allium:half=lower byg:azalea:half=lower byg:tall_allium:half=lower byg:tall_crimson_roots:half=lower byg:nether_bristle:half=lower byg:tall_prairie_grass:half=lower byg:cattail:half=lower byg:reeds:half=lower byg:tall_embur_roots:half=lower byg:nightshade_roots:half=lower

仙人掌//实际上也是植物,建议添加到【静止植物】一栏。

byg:prickly_pear_cactus byg:mini_cactus byg:golden_spined_cactus

睡莲

byg:embur_lily byg:ender_lily byg:water_silk byg:tiny_lilypads

结晶//因为没渲染而添加的,建议添加到【静止植物】一栏。

byg:therium_crystal

灯笼//如果你的光影支持

byg:glowstone_lantern:hanging=true byg:therium_lantern:hanging=true