这是 RandomLib 的一个插件(此前曾作为 OneBlock Plus 的插件)。它添加了新的随机条目,其内容会根据特定条件而变化。
(这些条目可能需要玩家距离生成位置 10 格以内。具体取决于使用 RandomLib 的模组)
条目
controlled_random:gamestages
需要安装 gamestages 模组。
此类条目提供来自 OneBlock 特定等级的内容,该等级默认设置或由玩家解锁的游戏阶段决定。
例如:
"controlled_random:gamestages": [
{ weight: 1,
content: {
default: "random1",
controlled: {
"stage0" : "random2",
"stage1" : "random3"
}
}
}
]
此条目将使用相应文件的内容:
- 默认情况下使用 "random1.nbt"。
- 如果玩家解锁了 'stage0' 游戏阶段,则使用 "random2.nbt"。
- 如果玩家解锁了 'stage1' 游戏阶段,则使用 "random3.nbt"。
controlled_random:origin
需要安装 origins (forge) 模组。
此类条目提供来自 OneBlock 特定等级的内容,该等级默认设置或由玩家的起源决定。
例如:
"controlled_random:origin": [
{ weight: 1,
content: {
default: "random1",
controlled: {
"origins:blazeborn" : "randomBlaze",
"origins:merling" : "randomMerling"
}
}
}
]
此条目将使用相应文件的内容:
- 默认情况下使用 "random1.nbt"。
- 如果玩家是 blazeborn,则使用 "randomBlaze.nbt"。
- 如果玩家是 merling,则使用 "randomMerling.nbt"。
controlled_random:attunement
需要安装 astral sorcery 模组。
此类条目提供来自 OneBlock 特定等级的内容,该等级默认设置或由玩家的共鸣状态决定。
例如:
"controlled_random:attunement": [
{ weight: 1,
content: {
default: "random1",
controlled: {
"astralsorcery:discidia" : "randomDiscidia"
}
}
}
]
此条目将使用相应文件的内容:
- 默认情况下使用 "random1.nbt"。
- 如果玩家拥有 discidia 共鸣,则使用 "randomDiscidia.nbt"。
An addon for RandomLib (previously an addon for one block plus). It adds new random entries that change their content depending on certain conditions.
(These entries may need a player within 10 blocks of the generation position. Depending on the mod using RandomLib)
Entries
controlled_random:gamestages
It needs the gamestages mod to be installed.
This type of entry provides content from a specific level of oneblock set by default or depending on gamestages unlocked by the player.
for example:
"controlled_random:gamestages": [
{ weight: 1,
content: {
default: "random1",
controlled: {
"stage0" : "random2",
"stage1" : "random3"
}
}
}
]
This entry will use the content of the corresponding file:
- "random1.nbt" by default.
- "random2.nbt" if the player have the 'stage0' gamestage unlocked
- "random3.nbt" if the player have the 'stage1' gamestage unlocked
controlled_random:origin
It needs the origins (forge) mod to be installed.
This type of entry provides content from a specific level of oneblock set by default or depending on the origin of the player.
for example:
"controlled_random:origin": [
{ weight: 1,
content: {
default: "random1",
controlled: {
"origins:blazeborn" : "randomBlaze",
"origins:merling" : "randomMerling"
}
}
}
]
This entry will use the content of the corresponding file:
- "random1.nbt" by default.
- "randomBlaze.nbt" if the player is a blazeborn.
- "randomMerling" if the player is a merling.
controlled_random:attunement
It needs the astral sorcery mod to be installed.
This type of entry provides content from a specific level of oneblock set by default or depending on the attunement of the player.
for example:
"controlled_random:attunement": [
{ weight: 1,
content: {
default: "random1",
controlled: {
"astralsorcery:discidia" : "randomDiscidia"
}
}
}
]
This entry will use the content of the corresponding file:
- "random1.nbt" by default.
- "randomDiscidia" if the player has the discidia attunement.
评论 0
登录后参与评分
还没有评论,来抢沙发吧