Skip to content

Commit 848656d

Browse files
authored
fix: tools registered to NEI that shouldn't has display NBT (#173)
1 parent e7fd957 commit 848656d

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

src/main/java/tconstruct/library/tools/ToolCore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public void getSubItems(Item id, CreativeTabs tab, List list) {
439439
for (Map.Entry<Integer, tconstruct.library.tools.ToolMaterial> integerToolMaterialEntry : TConstructRegistry.toolMaterials
440440
.entrySet()) {
441441
tconstruct.library.tools.ToolMaterial material = integerToolMaterialEntry.getValue();
442-
buildTool(integerToolMaterialEntry.getKey(), ToolBuilder.defaultToolName(material, this), list);
442+
buildTool(integerToolMaterialEntry.getKey(), null, list);
443443
}
444444
}
445445

src/main/resources/assets/tinker/manuals/zh_CN/diary.xml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,30 +123,42 @@
123123
<text>日记 #21:
124124

125125
有些工具比我想象中有用。给武器加上烈焰粉给予它燃烧的效果。青金石有能在同一区域找到更多材料的奇怪能力,即使我知道那里有多少。
126-
127126
日记 #22:
128127

129128
我有了一些做工具的点子,需要一块大的地方来试验。熔炉的能力有限,我需要许多石头。将岩浆煤炭和地狱岩结合似乎能立刻处理石头,已经不需要熔炉了。</text>
130129
</page>
131130

132131
<page type="text">
133132
<text>日记 #23:
134-
我的工具散的到处都是每个都标记了用途。为了不分散我决定做个地方来存放它们
133+
134+
今天我做了个奇怪的东西。它是圆的木头的而且不像我所见过的任何东西。来的人说这是“轮子”,能轻松转动起来,我很好奇他还能做什么?
135135

136136
日记 #24:
137137

138-
我今天去探索发现了些新的矿物。他们有我未见过的颜色,而且不能像铁那样粉碎处理。我该怎么做?
139-
</text>
138+
我多做了些轮子以实验。让它们到处转动着跑,成对的转动, 有一个停在了我的船边。我觉得真该将它们放在一起。</text>
140139
</page>
141140

142141
<page type="text">
143-
<text>
144-
日记 #25:
142+
<text>日记 #25:
145143

146-
普通熔炉取暖很容易,但它产出的金属还需要加工。我挖了个坑铺上粘土,在附近弄了些岩浆,然后把矿物放在里面,在设计上做些改动,结果很有趣。</text>
144+
我觉得我在做些什么,将船和轮子结合使它看起来像辆矿车,只有我能驾驭它,虽然有点小。。
145+
146+
日记 #26:
147+
148+
我的工具散的到处都是每个都标记了用途。为了不分散我决定做个地方来存放它们</text>
149+
</page>
150+
<page>
151+
<text>日记 #27:
152+
153+
我今天去探索发现了些新的矿物。他们有我未见过的颜色,而且不能像铁那样粉碎处理。我该怎么做?
147154

148-
我加的岩浆越多材料就越热。最终全都熔化, 我破坏了槽的一部分尝试得到材料,但它跑的到处都是。还有一些残留着。
155+
日记 #28:
156+
157+
普通熔炉取暖很容易,但它产出的金属还需要加工。我挖了个坑铺上粘土,在附近弄了些岩浆,然后把矿物放在里面,在设计上做些改动,结果很有趣。</text>
158+
</page>
159+
<page>
160+
<text>我加的岩浆越多材料就越热。最终全都熔化, 我破坏了槽的一部分尝试得到材料,但它跑的到处都是。还有一些残留着。
149161

150-
原矿中仍有部分是石头,一定有方法去除它们
162+
原矿中仍有部分是石头,一定有方法去除它们</text>
151163
</page>
152164
</book>

0 commit comments

Comments
 (0)