Aquifer 是一个库模组,包含其他 Mountain Spring 模组共用的代码以及其他一些实用功能。
Aquifer 旨在与其他模组配合使用,但单独使用也是可以的。该模组包含多个标签,用于扩展和修改各种硬编码的行为,其中部分(并非全部)行为是在 Minecraft 26.1 中添加的。
新增标签
所有新增标签均使用命名空间 aquifer。
方块
bars
用于“栏杆”类方块。
chains
用于锁链。
ladders
用于梯子。此标签也会添加到 minecraft:climbable 标签中。
bookshelves
用于书架。此标签也会添加到 minecraft:enchantment_power_provider 标签中。属于此标签的方块也具有可燃性。
crafting_tables
用于工作台。任何自定义的工作台方块都必须添加到此标签,以便其 GUI 能正常工作。
looms
用于织布机。任何自定义的织布机方块都必须添加到此标签,以便其 GUI 能正常工作。
cartography_tables
用于制图台。任何自定义的制图台方块都必须添加到此标签,以便其 GUI 能正常工作。
fletching_tables
用于箭靶。由于没有 GUI,此标签目前作用不大。
smithing_tables
用于锻造台。任何自定义的锻造台方块都必须添加到此标签,以便其 GUI 能正常工作。
tripwire_hooks
用于绊线钩。任何自定义的绊线钩方块都必须添加到此标签才能正常工作。
crafted_beehives
用于通过合成制作的蜂箱。不包含在树上自然生成的 minecraft:bee_nest(蜂巢)方块。
lecterns
用于讲台。
composters
用于堆肥桶。
enchating_tables
用于附魔台。任何自定义的附魔台方块都必须添加到此标签,以便其 GUI 能正常工作。
furnaces
用于熔炉。
smokers
用于烟熏炉。
blast_furnaces
用于高炉。
stonecutters
用于切石机。任何自定义的切石机方块都必须添加到此标签,以便其 GUI 能正常工作。
grindstones
用于砂轮。任何自定义的砂轮方块都必须添加到此标签,以便其 GUI 能正常工作。
chiseled_bookshlves
用于雕刻书架。
wooden_walls
用于由木材制成的墙类方块。
wooden_fence_gates
用于由木材制成的栅栏门。
wooden_chests
用于由木材制成的箱子。
wooden_barrels
用于由木材制成的木桶。
wooden_ladders
用于由木材制成的梯子。
all_wooden_signs
用于所有由木材制成的告示牌。
wooden_signs
用于非悬挂式的由木材制成的告示牌。
wooden_standing_signs
用于由木材制成的立地式告示牌。
wooden_wall_signs
用于附着在由木材制成的方块侧面的告示牌。
wooden_hanging_signs
用于所有由木材制成的悬挂式告示牌。
wooden_ceiling_hanging_signs
用于从上方由木材制成的方块上悬挂的告示牌。
wooden_wall_hanging_signs
用于从侧面由木材制成的方块上悬挂的告示牌。
leaf_slabs
用于由树叶制成的台阶。
leaf_stairs
用于由树叶制成的楼梯。
leaf_walls
用于由树叶制成的墙。
leaf_carpets
用于由树叶制成的地毯。
completes_wax_on_advancement
辅助标签,用于任何应在右键点击 minecraft:honeycomb(蜜脾)或 aquifer:wax_items 标签中的其他物品时触发 minecraft:husbandry/wax_on 进度解锁的方块(见下文)。
completes_wax_off_advancement
辅助标签,用于任何应在右键点击任意斧头时触发 minecraft:husbandry/wax_off 进度解锁的方块。
dirt_like
用于任何功能类似于 minecraft:dirt 方块标签中方块的功能,但因各种原因不应包含在该标签中的方块。属于此标签的方块支持 minecraft:dirt 标签中方块所能支持的植物生长。
farmland_like
用于任何功能类似于 minecraft:farmland(耕地)的方块。属于此标签的方块支持作物种植。
supports_nether_wart
源自 26.1 的同名标签的后移植版本。
supports_azalea
源自 26.1 的同名标签的后移植版本。
supports_nether_plant
将 26.1 中的三个标签合并为一个后移植版本:minecraft:supports_crimson_roots、minecraft:supports_warped_roots 和 minecraft:supports_nether_sprouts。
supports_nether_fungus
将 26.1 中的两个标签合并为一个后移植版本:minecraft:supports_crimson_fungus 和 minecraft:supports_warped_fungus。
supports_wither_rose
源自 26.1 的同名标签的后移植版本。
supports_sugar_cane
源自 26.1 的同名标签的后移植版本。
supports_sugar_cane_adjacently
源自 26.1 的同名标签的后移植版本。
supports_propagule
源自 26.1 的 minecraft:supports_mangrove_propagule 标签的后移植版本。
supports_propagule_above
源自 26.1 的 minecraft:supports_hanging_mangrove_propagule 标签的后移植版本。
supports_cocoa
源自 26.1 的同名标签的后移植版本。
supports_chorus
单一标签,用于除 minecraft:chorus_plant(紫颂植物)外,应支持紫颂植物和花朵的方块。这有点像是将 26.1 中的 minecraft:supports_chorus_flower 和 minecraft:supports_chorus_plant 标签合并后的后移植版本。
supports_cactus
源自 26.1 的同名标签的后移植版本。
does_not_support_seagrass
源自 26.1 的 minecraft:cannot_support_seagrass 标签的后移植版本。
does_not_support_kelp
源自 26.1 的 minecraft:cannot_support_kelp 标签的后移植版本。
supports_lily_pad
源自 26.1 的同名标签的后移植版本。
supports_frogspawn
源自 26.1 的同名标签的后移植版本。
cannot_connect_to
用于具有完整面的方块的标签,栅栏、墙壁、玻璃板以及类似的可水平连接的方块不应与此类方块连接。
supports_end_crystal
用于可放置末影水晶在其顶部的方块的标签。
signal_fire_base_blocks
用于使营火烟雾升得更高的方块的标签。
conduit_activating_blocks
用于激活潮涌核心的方块的标签。
supports_bubble_column/up
源自 26.1 的 minecraft:enables_bubble_column_push_up 标签的后移植版本。
supports_bubble_column/down
源自 26.1 的 minecraft:enables_bubble_column_drag_down 标签的后移植版本。
mineable/shears
可以使用剪刀高效挖掘的方块的 Mineable 标签。
mineable/shears/fast
非瞬间挖掘、且使用剪刀以最快速度挖掘的方块的 Mineable 标签,例如树叶。
mineable/shears/medium
非瞬间挖掘、且使用剪刀以中等速度挖掘的方块的 Mineable 标签,例如羊毛。
mineable/shears/slow
非瞬间挖掘、且使用剪刀以最低速度挖掘的方块的 Mineable 标签,例如藤蔓和发光地衣。
infestable
潜影贝可以藏身的方块。
infested
潜影贝已藏身的方块。
物品
源自方块标签:
bars
chains
ladders
bookshelves(可熔炼 1.5 个物品)
crafting_tables(可熔炼 1.5 个物品)
looms(可熔炼 1.5 个物品)
cartography_tables(可熔炼 1.5 个物品)
fletching_tables(可熔炼 1.5 个物品)
smithing_tables(可熔炼 1.5 个物品)
tripwire_hooks
crafted_beehives
lecterns(可熔炼 1.5 个物品)
composters(可熔炼 1.5 个物品)
enchanting_tables
furnaces
smokers
blast_furnaces
stonecutters
grindstones
chiseled_bookshelves
wooden_walls(可熔炼 1.5 个物品)
wooden_fence_gates(可熔炼 1.5 个物品;原版 minecraft:fence_gates 标签不再用于熔炉燃料)
wooden_chests(可熔炼 1.5 个物品)
wooden_barrels(可熔炼 1.5 个物品)
wooden_ladders(可熔炼 1.5 个物品)
leaf_slabs
leaf_stairs
leaf_walls
leaf_carpets
infestable
infested
wooden_signs
部分源自方块标签,可熔炼 1.5 个物品;原版 minecraft:signs 标签不再用于熔炉燃料。
wooden_hanging_signs
部分源自方块标签,可熔炼 4 个物品;原版 minecraft:hanging_signs 标签不再用于熔炉燃料。
sticks
适用于木棍。可熔炼半个物品。
cauldrons
适用于炼药锅。
pressure_plates
原版 minecraft:pressure_plates 方块标签的物品版本。
damage_proof/fire
此标签内的物品不会被火焰或岩浆摧毁。
damage_proof/explosion
此标签内的物品不会被爆炸摧毁。
damage_proof/cactus
此标签内的物品不会被仙人掌摧毁。
damage_proof/void
此标签内的物品不会被虚空摧毁,并在落入虚空时会被传送至建筑高度限制处。
damage_proof/despawn
此标签内的物品不会消失。
wood_tool_materials
此标签内的物品可用于修复木制工具。
iron_tool_materials
此标签内的物品可用于修复铁制工具。
diamond_tool_materials
此标签内的物品可用于修复钻石制工具。
gold_tool_materials
此标签内的物品可用于修复金制工具。
netherite_tool_materials
此标签内的物品可用于修复下界合金制工具。
leather_armor_materials
此标签内的物品可用于修复皮革护甲。
chain_armor_materials
此标签内的物品可用于修复链枷护甲。
iron_armor_materials
此标签内的物品可用于修复铁制护甲。
diamond_armor_materials
此标签内的物品可用于修复钻石制护甲。
gold_armor_materials
此标签内的物品可用于修复金制护甲。
netherite_armor_materials
此标签内的物品可用于修复下界合金制护甲。
turtle_armor_materials
此标签内的物品可用于由海龟鳞片制成的护甲进行修复。
armadillo_armor_materials
此标签内的物品可用于由犰狳鳞片制成的护甲进行修复。
elytra_repair_materials
此标签内的物品可用于修复鞘翅。
respawn_anchor_charge_items
此标签内的物品可用于充能重生锚。
enchantment_payment_items
此标签内的物品可像青金石一样作为附魔燃料使用。
powder_snow_walkable_equipment
适用于可穿着行走于细雪上的物品,例如皮革靴子。
wax_items
适用于可用于给铜块打蜡的物品。
wooden_tools
适用于木制工具。
stone_tools
适用于石制工具。
iron_tools
适用于铁制工具。
diamond_tools
适用于钻石制工具。
gold_tools
适用于金制工具。
netherite_tools
适用于下界合金制工具。
leather_armors
适用于皮革护甲。
chain_armors
适用于链枷护甲。
iron_armors
适用于铁制护甲。
diamond_armors
适用于钻石制护甲。
gold_armors
适用于金制护甲。
netherite_armors
适用于下界合金制护甲。
turtle_armors
适用于由海龟鳞片制成的护甲。
horse_armors
适用于马匹穿戴的护甲。
wolf_armors
适用于狼穿戴的护甲。
banner_patterns
适用于可在织布机中用于应用特殊旗帜图案的物品。
流体
supports_sugar_cane_adjacently
源自 26.1 版本的同名标签的后移植。
supports_lily_pad
源自 26.1 版本的同名标签的后移植。
supports_frogspawn
源自 26.1 版本的同名标签的后移植。
实体类型
can_spawn_on_leaves
适用于可以在树叶上自然生成的生物。
effect_immune/{effect}
适用于对特定原版状态效果免疫的生物。Aquifer 的实现方式实际上修复了一个 Bug:如果生物对“感染”(infested)免疫,它可能无法对“黏稠”(oozing)免疫;或者如果生物对“感染”或“黏稠”中的任何一种免疫,它可能无法同时对“中毒”和“再生”免疫。
组件
Aquifer 还为物品添加了一些额外的组件类型。所有组件类型均使用 aquifer 命名空间。
recipe_remainder
在合成台合成物品后留下的剩余物品,例如制作蛋糕时牛奶桶会变为空桶。
eat_sound
物品被食用时发出的声音。
drink_sound
物品被饮用时发出的声音。
break_sound
物品被破坏时发出的声音。
enchantability
物品的高附魔能力值对应着附魔台可以提供更多、更高等级以及更稀有的附魔。这是一个通常不可自定义的原版数值。该值对铁砝没有影响。
物品修饰器
所有物品修饰器类型均使用 aquifer 命名空间。
selector
使用一个数字从物品修饰器列表中选择一个。
sequence
包含一个物品修饰器列表,它们可以共享相同的条件。
set_axolotl_variant
设置桶中美西螈的变种。
set_custom_potion_effects
设置药水物品的自定义药水效果。每个效果都可以拥有随机的持续时间和等级。
set_dyed_color
设置物品的十六进制颜色,例如皮革盔甲。
set_potion_color
设置药水物品的颜色。
set_shield_color
设置盾牌的背景颜色。
set_tropical_fish_variant
设置桶中热带鱼的变种。
set_unbreakable
使物品变为不可破坏。
战利品表数值提供器
所有数值提供器类型均使用 aquifer 命名空间。
block_state_property
根据方块状态中的某个属性获取一个数值。可用于掉落正确数量的蜡烛。
对于布尔类型的方块状态属性,此提供器对 false 返回 0,对 true 返回 1。
对于整数类型的方块状态属性,此提供器返回该属性本身的值。
对于其他类型的方块状态属性,此提供器将返回该属性所用枚举类型值的序数。
如果发生错误或给定方块状态中不存在该属性,可以提供可选的回退值(默认值为 0)。
entity_property
根据实体属性获取一个数值。
如果未找到实体或实体不具备指定属性,可以提供可选的回退值(默认值为 0)。
Aquifer is a library mod containing shared code for other Mountain Spring mods as well as other useful features.
Aquifer is intended to be used with other mods, however using it standalone is ok. The mod contains several tags to help extend and modify various hardcoded behaviors, some (but not all) of which were added in Minecraft 26.1.
Tags Added
All added tags use the namespace aquifer.
Blocks
bars
For 'bars' blocks.
chains
For chains.
ladders
For ladders. This tag is also added to the minecraft:climbable tag.
bookshelves
For bookshelves. This tag is also added to the minecraft:enchantment_power_provider tag. Blocks in this tag are also flammable.
crafting_tables
For crafting tables. Any custom crafting table blocks must be added to this tag for the gui to function properly.
looms
For looms. Any custom loom blocks must be added to this tag for the gui to function properly.
cartography_tables
For cartography tables. Any custom cartography table blocks must be added to this tag for the gui to function properly.
fletching_tables
For fletching tables. Since there is no gui, this tag doesn't do much yet.
smithing_tables
For smithing tables. Any custom smithing table blocks must be added to this tag for the gui to function properly.
tripwire_hooks
For tripwire hooks. Any custom tripwire hook blocks must be added to this tag to function properly.
crafted_beehives
For beehives created via crafting. Does not include the minecraft:bee_nest block that generates on trees.
lecterns
For lecterns.
composters
For composters.
enchating_tables
For enchating tables. Any custom enchanting table blocks must be added to this tag for the gui to function properly.
furnaces
For furnaces.
smokers
For smokers.
blast_furnaces
For blast furnaces.
stonecutters
For stonecutters. Any custom stonecutter blocks must be added to this tag for the gui to function properly.
grindstones
For grindstones. Any custom grindstone blocks must be added to this tag for the gui to function properly.
chiseled_bookshelves
For chiseled bookshlves.
wooden_walls
For wall blocks made out of wood.
wooden_fence_gates
For fence gates made out of wood.
wooden_chests
For chests made out of wood.
wooden_barrels
For barrels made out of wood.
wooden_ladders
For ladder made out of wood.
all_wooden_signs
For all signs made out of wood.
wooden_signs
For non-hanging signs made out of wood.
wooden_standing_signs
For standing signs made out of wood.
wooden_wall_signs
For signs on a the side of a block made out of wood.
wooden_hanging_signs
For all hanging signs made out of wood.
wooden_ceiling_hanging_signs
For signs hanging from a block above made out of wood.
wooden_wall_hanging_signs
For signs hanging from the side of a block made out of wood.
leaf_slabs
For slabs made out of leaves.
leaf_stairs
For stairs made out of leaves.
leaf_walls
For walls made out of leaves.
leaf_carpets
For carpets made out of leaves.
completes_wax_on_advancement
A helper tag for any blocks that should trigger the minecraft:husbandry/wax_on advancement when right clicked with minecraft:honeycomb or other items in the aquifer:wax_items tag (see below).
completes_wax_off_advancement
A helper tag for any blocks that should trigger the minecraft:husbandry/wax_off advancement when right clicked with any axe.
dirt_like
For any blocks that function similar to blocks in the minecraft:dirt block tag, but for whatever reason should not be included in that tag. Blocks in this tag support plants that blocks in the minecraft:dirt tag support.
farmland_like
For any block that function similar to minecraft:farmland. Blocks in this tag support crops.
supports_nether_wart
Backport of the tag by the same name from 26.1.
supports_azalea
Backport of the tag by the same name from 26.1.
supports_nether_plant
Backport of three tags in one from 26.1: minecraft:supports_crimson_roots, minecraft:supports_warped_roots, and minecraft:supports_nether_sprouts.
supports_nether_fungus
Backport of two tags in one from 26.1: minecraft:supports_crimson_fungus and minecraft:supports_warped_fungus.
supports_wither_rose
Backport of the tag by the same name from 26.1.
supports_sugar_cane
Backport of the tag by the same name from 26.1.
supports_sugar_cane_adjacently
Backport of the tag by the same name from 26.1.
supports_propagule
Backport of the minecraft:supports_mangrove_propagule tag from 26.1.
supports_propagule_above
Backport of the minecraft:supports_hanging_mangrove_propagule tag from 26.1.
supports_cocoa
Backport of the tag by the same name from 26.1.
supports_chorus
Single tag for block that, besides minecraft:chorus_plant, should support chorus plants and flowers. Sort of a backport of minecraft:supports_chorus_flower and minecraft:supports_chorus_plant from 26.1.
supports_cactus
Backport of the tag by the same name from 26.1.
does_not_support_seagrass
Backport of the minecraft:cannot_support_seagrass tag from 26.1.
does_not_support_kelp
Backport of the minecraft:cannot_support_kelp tag from 26.1.
supports_lily_pad
Backport of the tag by the same name from 26.1.
supports_frogspawn
Backport of the tag by the same name from 26.1.
cannot_connect_to
Tag for blocks with full faces that fences, walls, glass panes, and similar horizontally connecting blocks should not connect to.
supports_end_crystal
Tag for blocks that end crystal can be placed on top of.
signal_fire_base_blocks
Tag for blocks that cause the smoke from a campfire to go higher.
conduit_activating_blocks
Tag for blocks that power conduits.
supports_bubble_column/up
Backport of the minecraft:enables_bubble_column_push_up tag from 26.1.
supports_bubble_column/down
Backport of the minecraft:enables_bubble_column_drag_down tag from 26.1.
mineable/shears
Mineable tag for blocks that can be mined efficiently with shears.
mineable/shears/fast
Mineable tag for non-instant mined blocks that get mined at the fastest speed by shears, such as leaves.
mineable/shears/medium
Mineable tag for non-instant mined blocks that get mined at the middle speed by shears, such as wool.
mineable/shears/slow
Mineable tag for non-instant mined blocks that get mined at the slowest speed by shears, such as vines and glow lichen.
infestable
Blocks that silverfish can hide in.
infested
Block that silverfish have hidden in.
Items
Copied from block tags:
bars
chains
ladders
bookshelves (can smelt 1.5 items)
crafting_tables (can smelt 1.5 items)
looms (can smelt 1.5 items)
cartography_tables (can smelt 1.5 items)
fletching_tables (can smelt 1.5 items)
smithing_tables (can smelt 1.5 items)
tripwire_hooks
crafted_beehives
lecterns (can smelt 1.5 items)
composters (can smelt 1.5 items)
enchanting_tables
furnaces
smokers
blast_furnaces
stonecutters
grindstones
chiseled_bookshelves
wooden_walls (can smelt 1.5 items)
wooden_fence_gates (can smelt 1.5 items; the vanilla minecraft:fence_gates tag is no longer used for furnace fuel)
wooden_chests (can smelt 1.5 items)
wooden_barrels (can smelt 1.5 items)
wooden_ladders (can smelt 1.5 items)
leaf_slabs
leaf_stairs
leaf_walls
leaf_carpets
infestable
infested
wooden_signs
Partially copied from the block tag, can smelt 1.5 items; the vanilla minecraft:signs tag is no loner used for furnace fuel.
wooden_hanging_signs
Partially copied from the block tag, can smelt 4 items; the vanilla minecraft:hanging_signs tag is no loner used for furnace fuel.
sticks
For sticks. Can smelt half an item.
cauldrons
For cauldrons.
pressure_plates
Item version of the vanilla minecraft:pressure_plates block tag.
damage_proof/fire
Items in this tag cannot be destroyed with fire or lava.
damage_proof/explosion
Items in this tag cannot be destroyed by explosions.
damage_proof/cactus
Items in this tag cannot be destroyed by a cactus.
damage_proof/void
Items in this tag cannot be destroyed by the void, and will be teleported to the build limit when they reached the void.
damage_proof/despawn
Items in this tag cannot despawn.
wood_tool_materials
Items in this tag can be used to repair wooden tools.
iron_tool_materials
Items in this tag can be used to repair iron tools.
diamond_tool_materials
Items in this tag can be used to repair diamond tools.
gold_tool_materials
Items in this tag can be used to repair golden tools.
netherite_tool_materials
Items in this tag can be used to repair netherite tools.
leather_armor_materials
Items in this tag can be used to repair leather armor.
chain_armor_materials
Items in this tag can be used to repair chain armor.
iron_armor_materials
Items in this tag can be used to repair iron armor.
diamond_armor_materials
Items in this tag can be used to repair diamond armor.
gold_armor_materials
Items in this tag can be used to repair golden armor.
netherite_armor_materials
Items in this tag can be used to repair netherite armor.
turtle_armor_materials
Items in this tag can be used to repair armor made from turtle scutes.
armadillo_armor_materials
Items in this tag can be used to repair armor made from armadillo scutes.
elytra_repair_materials
Items in this tag can be used to repair elytra.
respawn_anchor_charge_items
Items in this tag can be used to charge a respawn anchor.
enchantment_payment_items
Items in this tag can be used like lapis lazuli to fuel enchanting.
powder_snow_walkable_equipment
For items that can be worn to walk on powder snow, like leather boots.
wax_items
For items that can be used to wax copper blocks.
wooden_tools
For tools made of wood.
stone_tools
For tools made of stone.
iron_tools
For tools made of iron.
diamond_tools
For tools made of diamond.
gold_tools
For tools made of gold.
netherite_tools
For tools made of netherite.
leather_armors
For armor made of leather.
chain_armors
For armor made of chain.
iron_armors
For armor made of iron.
diamond_armors
For armor made of diamond.
gold_armors
For armor made of gold.
netherite_armors
For armor made of netherite.
turtle_armors
For armor made of turtle scutes.
horse_armors
For armor worn by horses.
wolf_armors
For armor worn by wolves.
banner_patterns
For items that can be used in a loom to apply special banner patterns.
Fluids
supports_sugar_cane_adjacently
Backport of the tag by the same name from 26.1.
supports_lily_pad
Backport of the tag by the same name from 26.1.
supports_frogspawn
Backport of the tag by the same name from 26.1.
Entity Types
can_spawn_on_leaves
For mobs that can naturally spawn on leaves.
effect_immune/{effect}
For mobs that are immune from a specific vanilla status effect. The way Aquifer implements actually fixes a bug where if a mob was immune to infested, it could not be immune to oozing or if a mob as immune to either infested or oozing, it could not be immune to poison and regeneration.
Components
Aquifer also adds a few additional component types for items. All component types use the aquifer namespace.
recipe_remainder
For items left behind in a crafting table after crafting an item, like how crafting a cake leaves empty buckets in place of milk buckets.
eat_sound
The sound an item makes while being eaten.
drink_sound
The sound an item makes while being drunk.
break_sound
The sound an item makes when broken.
enchantability
High enchantability on an item correlates to more, higher level, and more rare enchantments from an enchanting table. This is a vanilla value that is not normally customizable. This value has no effect on anvils.
Item modifiers
All item modifier types use the aquifer namespace.
selector
Uses a number to select from a list of item modifiers.
sequence
Contains a list of item modifiers that can all share the same conditions.
set_axolotl_variant
Sets the variant of an axolotl in a bucket.
set_custom_potion_effects
Sets the custom potion effects on a potion item. Each effect can have a randomized duration and amplifier.
set_dyed_color
Sets the hex color of an item ie leather armor.
set_potion_color
Sets the color of a potion item.
set_shield_color
Sets the background color of a shield.
set_tropical_fish_variant
Sets the variants of tropical fish in a bucket.
set_unbreakable
Makes an item unbreakable.
Loot Table Number Providers
All number provider types use the aquifer namespace.
block_state_property
Get a number based on a property in a block state. Can be used to drop the correct number of candles.
For boolean block state properties, this provider returns 0 for false, 1 for true.
For integer block state properties, this provider returns the value of the property itself.
For other types of block state properties, this provider will return the ordinal of value of the enum type the property uses.
An optional fallback value (with a default value of 0) can be given in case something goes wrong or the property does not exist in the given block state.
entity_property
Gets a number based on an entity property.
An option fallback value (with a default value of 0) can be given in case an entity is not found or the entity does not have the specified property.
评论 0
登录后参与评分
还没有评论,来抢沙发吧