mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-11-09 15:04:56 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f19399ba3 | ||
|
|
4982bb780d | ||
|
|
a069612e04 | ||
|
|
ab09b791bd |
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
modGroup = com.gtnewhorizon
|
||||
modVersion = 1.0.8
|
||||
modVersion = 1.0.10
|
||||
modBaseName = StructureLib
|
||||
|
||||
forgeVersion = 1.7.10-10.13.4.1614-1.7.10
|
||||
@@ -13,8 +13,11 @@ public interface IStructureDefinition<T> {
|
||||
/**
|
||||
* Used internally
|
||||
*
|
||||
* Might, but is not required, to throw {@link java.util.NoSuchElementException} if the given structure piece is not found.
|
||||
*
|
||||
* @param name same name as for other methods here
|
||||
* @return the array of elements to process
|
||||
* @throws java.util.NoSuchElementException if the given structure piece is not found and the moon phase perfectly matches
|
||||
*/
|
||||
IStructureElement<T>[] getStructureFor(String name);
|
||||
|
||||
|
||||
@@ -193,6 +193,9 @@ public class StructureDefinition<T> implements IStructureDefinition<T> {
|
||||
|
||||
@Override
|
||||
public IStructureElement<T>[] getStructureFor(String name) {
|
||||
return structures.get(name);
|
||||
IStructureElement<T>[] elements = structures.get(name);
|
||||
if (elements == null)
|
||||
throw new NoSuchElementException(name);
|
||||
return elements;
|
||||
}
|
||||
}
|
||||
@@ -17,15 +17,15 @@ tile.structurelib.blockhint.15.name=提示方块:错误
|
||||
|
||||
item.structurelib.frontRotationTool.name=正面旋转扳手 (StructureLib)
|
||||
item.structurelib.frontRotationTool.desc.0=可以旋转/翻转多方块主机
|
||||
item.structurelib.frontRotationTool.desc.1=旋转/翻转多方块主机时,会
|
||||
item.structurelib.frontRotationTool.desc.2=带动机器结构一起旋转/翻转。
|
||||
item.structurelib.frontRotationTool.desc.1=多方块机器结构也需要跟随
|
||||
item.structurelib.frontRotationTool.desc.2=多方块主机一起旋转/翻转。
|
||||
|
||||
item.structurelib.constructableTrigger.name=多方块机器蓝图 (StructureLib)
|
||||
item.structurelib.constructableTrigger.name=多方块结构全息投影仪
|
||||
item.structurelib.constructableTrigger.desc.0=可以显示多方块机器的结构
|
||||
item.structurelib.constructableTrigger.desc.1=只能在多方块主机上使用,将会显示机器
|
||||
item.structurelib.constructableTrigger.desc.2=结构的细节。 (译者注:请搭高使用)
|
||||
item.structurelib.constructableTrigger.desc.3= (创造模式下潜行右键可以直接完成搭建)
|
||||
item.structurelib.constructableTrigger.desc.4=手中蓝图数量会影响显示的机器等级/模式/类型
|
||||
item.structurelib.constructableTrigger.desc.4=此物品堆叠数量会影响显示的机器等级/模式/类型
|
||||
|
||||
structurelib.blockhint.desc.0=帮助你搭建机器
|
||||
structurelib.blockhint.0.name=提示方块:1号
|
||||
@@ -49,4 +49,13 @@ structurelib.blockhint.14.name=提示方块:非空气
|
||||
structurelib.blockhint.desc.4=确保这里不是空气方块。
|
||||
structurelib.blockhint.15.name=提示方块:错误
|
||||
structurelib.blockhint.desc.5=ERROR,你想要做什么?
|
||||
itemGroup.structurelib=StructureLib
|
||||
itemGroup.structurelib=StructureLib
|
||||
|
||||
structurelib.config.client=客户端-配置
|
||||
structurelib.config.client.tooltip=修改此配置只会改变游戏中的显示效果,而不会改变实际工作模式。
|
||||
structurelib.config.client.hologram=全息投影仪-配置
|
||||
structurelib.config.client.hologram.tooltip=这将决定默认情况下,机器结构细节将如何被投影到世界中。
|
||||
structurelib.config.client.hologram.maxCoexisting=最多可以同时存在的全息投影数量
|
||||
structurelib.config.client.hologram.maxCoexisting.tooltip=这决定最多可以同时存在多少台机器的全息投影。一般一次使用全息投影仪右键生成的所有机器结构细节被视为一个全息投影。当同时存在多个全息投影,并超过此数量时,再次使用全息投影仪会移除旧有的全息投影。
|
||||
structurelib.config.client.hologram.removeColliding=移除冲突的全息投影
|
||||
structurelib.config.client.hologram.removeColliding.tooltip=当新的全息投影与已存在的全息投影冲突时,开启此选项时会移除已存在的全息投影。
|
||||
Reference in new issue
Block a user