本篇教程由作者设定未经允许禁止转载。
本教程基于1.12.2-4.1.0版本的传送石碑mod编写(配置文件位于.minecraft/config/waystones.cfg)
以下为配置文件内容,//后为注释
# Configuration file
client { //客户端配置
# If enabled, activated waystones will not emit particles.
B:"Disable Particles"=false //开启后,激活的指路石不会产生粒子效果
# If enabled, the text overlay on waystones will no longer always render at full brightness.
B:"Disable Text Glow"=false //开启后,指路石上方文本内容不会高亮显示
# If enabled, waystones spawned using the legacy spawn-just-anywhere mode will look mossy ingame.
B:"Mossy Look for World Gen Waystones"=true //开启后,野外(不包括村庄)自然生成的指路石会覆盖苔藓(外观)
# The volume of the sound played when teleporting.
# Min: 0.0
# Max: 1.0
D:"Sound Volume"=0.5 //传送时播放音效的音量大小
# The x position of the warp button in the inventory.
I:"Teleport Button GUI X"=58 //传送石碑GUI界面按键横坐标(没啥影响)
# The y position of the warp button in the inventory.
I:"Teleport Button GUI Y"=60 //传送石碑GUI界面按键纵坐标(没啥影响)
}
compat { //与其他mod兼容性
# If this is true, activating a waystone will cause a JourneyMap waypoint to be created at its position.
B:"Create JourneyMap Waypoint"=false //开启后会在旅行地图创建指路石坐标点(使用Xaero地图则需mod:[W2W]传送石碑路径点)
}
general { //全局设置
# If enabled, everyone can create global waystones, not just players in creative mode.
B:"Allow Global Waystones for Everyone"=false //开启后所有人都可以创建全局传送石碑,否则仅创造模式可以创建全局传送石碑
# The amount of blocks per xp level requirement.
I:"Blocks per XP Level"=500 //每隔多少方块消耗1级经验传送(消耗级数为两传送石碑间距离除以此处参数,上限默认为3级)
# If enabled, waystones can only be placed in creative mode.
B:"Creative Mode Only"=false //开启后,仅创造模式玩家可以放置传送石碑
# The amount of xp levels to use for dimensional warp.
I:"Dimensional Warp XP Cost"=3 //跨维度传送经验消耗
# Whether generated waystones should not be breakable by players.
B:"Disallow Breaking Generated"=false //自然生成传送石碑是否可以被玩家破坏
# Whether generated waystones drop their item form when broken by players.
B:"Drop Item From Generated"=true //在自然生成传送石碑被玩家破坏后是否产生掉落物
# Set to false to make all global waystones not cost any experience, regardless of method used.
B:"Global Waystones Cost XP"=true //全局传送石碑是否消耗经验
# If enabled, all waystones work inter-dimensionally.
B:"Interdimensional Teleport"=true //开启后,所有传送石碑均可跨维度传送
# If enabled, waystones marked as global work inter-dimensionally.
B:"Interdimensional Teleport on Global Waystones"=true //开启后,全局传送石碑可以跨维度传送
# If enabled, the inventory button cost experience when used, based on the distance travelled.
B:"Inventory Button Costs XP"=false //(此处并不确定,求补充)使用传送石传送时根据距离消耗经验
# The maximum xp cost when Blocks per XP Level is enabled. //传送消耗经验时,消耗上限为多少级
# Min: 1
# Max: 2147483647
I:"Maximum XP Cost"=3
# If enabled, waystones marked as global have no cooldown.
B:"No Cooldown on Global Waystones"=true //玩家使用全局传送石碑传送无冷却时间
# Whether the use of a warp stone or warp scroll should be interrupted by damage. Not supported when playing with Vivecraft!
B:"Reset Use On Damage"=false //在使用传送卷轴和传送石时(长按右键蓄力阶段)受到伤害是否打断使用
# If enabled, only the owner of a waystone can rename it.
B:"Restrict Rename to Owner"=false //仅传送石碑拥有者(放置者)可重命名此石碑
# If enabled, the player's spawnpoint will be set to the last activated waystone.
B:"Set Spawnpoint on Activation"=false //开启后,传送石碑放置者的重生点会被设置在其最后放置的石碑处
# If set to true, XP cost by distance travelled will only start beyond the distance-per-level distance, and shorter travel will be free.
B:"Short Travel is Free"=true //开启后,仅在超过设置的传送消耗经验的单位距离后传送消耗经验,距离低于最低单位传送免费
# The cooldown between usages of the teleport button in seconds.
I:"Teleport Button Cooldown"=300 //传送按键冷却时间(指背包中传送按键)
# If enabled, the teleport button will only let you return to the last activated waystone, instead of allowing to choose.
B:"Teleport Button Return Only"=true //开启后,传送石仅可用于传送至最后使用的传送石碑处,不可自由选择路径点
# Set this to a global waystone name to lock the inventory button to that specific waystone. Leave empty for default behaviour.
S:"Teleport Button Target"= //设置一个特殊传送石碑,传送石只能传送到此处,留空以保存默认情况
# Should there be a button in the inventory to access the waystone menu?
B:"Teleport Button in GUI"=false //开启物品栏界面的传送键
# The time it takes to use a warp scroll in ticks. This is the charge-up time when holding right-click. //传送卷轴右键蓄力时间
# Min: 1
# Max: 127
I:"Warp Scroll Use Time"=32
# The cooldown between usages of the warp stone in seconds. //传送石使用后冷却时间
I:"Warp Stone Cooldown"=300
# If enabled, the warp stone costs experience when used, based on the distance travelled.
B:"Warp Stone Costs XP"=false //传送石是否消耗经验(消耗则按照距离)
# The time it takes to use a warp stone in ticks. This is the charge-up time when holding right-click.//传送石右键蓄力时间
# Min: 1
# Max: 127
I:"Warp Stone Use Time"=32
# If enabled, waystones cost experience when used, based on the distance travelled. //使用传送石碑是否消耗经验
B:"Waystone Costs XP"=true
}
worldgen { //世界
# The chance for a waystone to generate just anywhere (without a structure), scaled by 1/10000.
# Min: 0.0
# Max: 10000.0
D:"Change to generate just anywhere"=0.0 //不在自然结构中生成传送石碑概率
# The Name Generator will pick from these names until they have all been used, then it will generate random ones again.
S:"Custom Names" < //在此处写下传送石碑自定义随机名,它们会被随机使用
>
# The chance for a waystone to generate in a village. Set to 1 to always generate one in villages, set to 0 to disable.
# Min: 0.0
# Max: 1.0
D:"Generate in Villages"=1.0 //传送石碑在村庄生成概率(0~1)
}