iovxw

一份 Minecraft InGameInfo Mod 配置文件

没错,这段时间我都在玩游戏

效果图:

https://img.vim-cn.com/f6/80f3ababde436eacbeaf0616cb42dc34f5fc2a.png

内容是左上角、左下角以及右下角的信息(还有药水时间显示不过截图里没有)

根据默认配置文件修改,增加了双持物品显示支持(就是左下那个,主手武器在上,副手在下)

以及仰角和速度显示(为了方便鞘翅飞行)

还有骑乘在马匹上时会多出上面的马匹信息,可以直接数值判断马匹优劣

外加一个单人也不会隐藏的 Ping 显示(懒得继续研究这里面的条件语句了)

使用:

肯定是先安装 InGameInfo 这个 Mod

然后直接将以下内容存到 .minecraft/config/InGameInfo.xml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<config>
    <lines at="topleft">
        <line>
            <str>{username} 的{gamemode}第 {day} 天, {mctime} (</str>
            <if>
                <var>daytime</var>
                <str>$e白天</str>
                <str>$8夜晚</str>
            </if>
            <str>$f)</str>
        </line>
        <line>
            <str>生物群系: $e{biome}$f</str>
            <if>
                <var>slimes</var>
                <str> ($aSlime$f)</str>
                <str> </str>
            </if>
        </line>
        <line>
            <str>亮度: </str>
            <max>
                <var>light</var>
                <num>7.5</num>
                <str>$e</str>
                <str>$c</str>
            </max>
            <var>light</var>
            <str>$r (eye: </str>
            <max>
                <var>lighteye</var>
                <num>7.5</num>
                <str>$e</str>
                <str>$c</str>
            </max>
            <var>lighteye</var>
            <str>$r)</str>
        </line>
        <line>
            <str>$f经验: $e{xpthislevel}$f / $e{xpcap}$f ($e</str>
            <round>
                <pct>
                    <var>xpthislevel</var>
                    <var>xpcap</var>
                </pct>
                <num>0</num>
            </round>
            <str>%$f)</str>
        </line>
        <line>
            <str>FPS: </str>
            <op>
                <str>gt</str>
                <var>fps</var>
                <num>60</num>
                <num>45</num>
                <num>30</num>
                <num>15</num>
                <num>0</num>
                <str>$a</str>
                <str>$e</str>
                <str>$6</str>
                <str>$c</str>
                <str>$4</str>
                <str/>
            </op>
            <var>fps</var>
        </line>
        <line>
            <str>实体数量: $e{entitiesrendered}$f / $e{entitiestotal}$f</str>
        </line>
        <line>
            <str>仰角: $e{pitch}$f</str>
        </line>
        <line>
            <str>速度: $e{speed}$f</str>
        </line>
        <line>
            <str>Ping: $e{ping}$f {pingicon}</str>
        </line>
        <line>
            <if>
                <var>ridinghorse</var>
                <str>马匹信息: 速度 $e{horsespeed}$f, 跳跃强度: $e{horsejumpstrength}$f</str>
            </if>
        </line>
    </lines>
    <lines at="bottomleft">
        <line>
            <var>mainhandicon</var>
            <str> </str>
            <op>
                <str>ge</str>
                <pct>
                    <var>mainhanddamageleft</var>
                    <var>mainhandmaxdamage</var>
                </pct>
                <num>50</num>
                <num>20</num>
                <num>10</num>
                <num>0</num>
                <str>$e</str>
                <str>$6</str>
                <str>$c</str>
                <str>$4</str>
                <str/>
            </op>
            <max>
                <var>mainhanddamageleft</var>
                <num>0.5</num>
                <str>{mainhanddamageleft}$f / $e{mainhandmaxdamage}</str>
                <var>mainhandname</var>
            </max>
        </line>
        <line>
            <var>offhandicon</var>
            <str> </str>
            <op>
                <str>ge</str>
                <pct>
                    <var>offhanddamageleft</var>
                    <var>offhandmaxdamage</var>
                </pct>
                <num>50</num>
                <num>20</num>
                <num>10</num>
                <num>0</num>
                <str>$e</str>
                <str>$6</str>
                <str>$c</str>
                <str>$4</str>
                <str/>
            </op>
            <max>
                <var>offhanddamageleft</var>
                <num>0.5</num>
                <str>{offhanddamageleft}$f / $e{offhandmaxdamage}</str>
                <var>offhandname</var>
            </max>
        </line>
        <line>
            <str> </str>
        </line>
    </lines>
    <lines at="bottomright">
        <line>
            <max>
                <var>potiondurationticks0</var>
                <num>0.5</num>
                <str>{potionduration0} {potionicon0}</str>
                <str/>
            </max>
        </line>
        <line>
            <max>
                <var>potiondurationticks1</var>
                <num>0.5</num>
                <str>{potionduration1} {potionicon1}</str>
                <str/>
            </max>
        </line>
        <line>
            <max>
                <var>potiondurationticks2</var>
                <num>0.5</num>
                <str>{potionduration2} {potionicon2}</str>
                <str/>
            </max>
        </line>
        <line>
            <max>
                <var>potiondurationticks3</var>
                <num>0.5</num>
                <str>{potionduration3} {potionicon3}</str>
                <str/>
            </max>
        </line>
        <line>
            <max>
                <var>potiondurationticks4</var>
                <num>0.5</num>
                <str>{potionduration4} {potionicon4}</str>
                <str/>
            </max>
        </line>
        <line>
            <max>
                <var>potiondurationticks5</var>
                <num>0.5</num>
                <str>{potionduration5} {potionicon5}</str>
                <str/>
            </max>
        </line>
        <line>
            <max>
                <var>potiondurationticks6</var>
                <num>0.5</num>
                <str>{potionduration6} {potionicon6}</str>
                <str/>
            </max>
        </line>
        <line>
            <max>
                <var>potiondurationticks7</var>
                <num>0.5</num>
                <str>{potionduration7} {potionicon7}</str>
                <str/>
            </max>
        </line>
        <line>
            <max>
                <var>potiondurationticks8</var>
                <num>0.5</num>
                <str>{potionduration8} {potionicon8}</str>
                <str/>
            </max>
        </line>
        <line>
            <str> </str>
        </line>
        <line>
            <op>
                <str>ge</str>
                <pct>
                    <var>helmetdamageleft</var>
                    <var>helmetmaxdamage</var>
                </pct>
                <num>50</num>
                <num>20</num>
                <num>10</num>
                <str>$e</str>
                <str>$6</str>
                <str>$c</str>
                <str>$4</str>
            </op>
            <max>
                <var>helmetdamageleft</var>
                <num>0.5</num>
                <str>{helmetdamageleft}$f / $e{helmetmaxdamage}</str>
                <str/>
            </max>
            <str> </str>
            <var>helmeticon</var>
        </line>
        <line>
            <op>
                <str>ge</str>
                <pct>
                    <var>chestplatedamageleft</var>
                    <var>chestplatemaxdamage</var>
                </pct>
                <num>50</num>
                <num>20</num>
                <num>10</num>
                <str>$e</str>
                <str>$6</str>
                <str>$c</str>
                <str>$4</str>
            </op>
            <max>
                <var>chestplatedamageleft</var>
                <num>0.5</num>
                <str>{chestplatedamageleft}$f / $e{chestplatemaxdamage}</str>
                <str/>
            </max>
            <str> </str>
            <var>chestplateicon</var>
        </line>
        <line>
            <op>
                <str>ge</str>
                <pct>
                    <var>leggingsdamageleft</var>
                    <var>leggingsmaxdamage</var>
                </pct>
                <num>50</num>
                <num>20</num>
                <num>10</num>
                <str>$e</str>
                <str>$6</str>
                <str>$c</str>
                <str>$4</str>
            </op>
            <max>
                <var>leggingsdamageleft</var>
                <num>0.5</num>
                <str>{leggingsdamageleft}$f / $e{leggingsmaxdamage}</str>
                <str/>
            </max>
            <str> </str>
            <var>leggingsicon</var>
        </line>
        <line>
            <op>
                <str>ge</str>
                <pct>
                    <var>bootsdamageleft</var>
                    <var>bootsmaxdamage</var>
                </pct>
                <num>50</num>
                <num>20</num>
                <num>10</num>
                <str>$e</str>
                <str>$6</str>
                <str>$c</str>
                <str>$4</str>
            </op>
            <max>
                <var>bootsdamageleft</var>
                <num>0.5</num>
                <str>{bootsdamageleft}$f / $e{bootsmaxdamage}</str>
                <str/>
            </max>
            <str> </str>
            <var>bootsicon</var>
        </line>
    </lines>
</config>