mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-10-25 20:32:24 +00:00
d829ae466b7e8e1a5bb33d0b9719b79f3b4eacec
StructureLib built the missing block name on the server, where only en_US is loaded, so players on dedicated servers saw English names in chat. Send the item's lang key and let the client translate it. Stacks whose name is not a plain key, GT meta items among them, keep the old server side name. Players also saw two shapes of the same message: a bracketed name with rarity color and an item tooltip from two of the survivalPlaceBlocks branches, a bare yellow name from the stack list branch. All three now build the name the same way.
StructureLib
A standalone version of TecTech structure api.
Originally created by TecTech authors, taken with permission. It's under MIT license anyway.
Using
- Add this to your build.gradle
Replace
dependencies { compile "com.github.GTNewHorizons:StructureLib:master-SNAPSHOT:deobf" } repositories { maven { name = "jitpack.io" url = "https://jitpack.io" } }master-SNAPSHOTwith a commit hash or a tag name (if any) of your choice to prevent unexpected upstream changes. - Add
required-after:structurelib;to your@Mod(dependencies = "..")tring. - Add
structurelibto yourmcmod.info.
Contribution
The project is developed using IDEA. Please manually configure the build to not delegate to gradle for textures to show up in dev.
Current license
Due to me adding in ItemStackMap, which was derived from code from CodeChicken's LGPL mod NEI. This mod is effectively considered
licensed under LGPL in its entirety since commit ebef584b8c or any squash commit containing it, e.g.
609e50428e.
Note while the LICENSE.txt is added by a much later commit, all code on previous commits are covered by this as well.
Languages
Java
99.8%
Shell
0.2%
