Update Forge, mappings and dependencies.

This commit is contained in:
raoulvdberge
2018-09-20 22:58:00 +02:00
parent 511104c948
commit 0641eca086
3 changed files with 7 additions and 7 deletions

View File

@@ -29,10 +29,10 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8
minecraft {
version = "1.12.2-14.23.4.2732"
version = "1.12.2-14.23.4.2760"
runDir = "run"
useDepAts = true
mappings = "snapshot_20180714"
mappings = "stable_39"
replaceIn "RS.java"
replace "@version@", project.version
@@ -52,8 +52,8 @@ repositories {
}
dependencies {
deobfCompile "mezz.jei:jei_1.12.2:4.11.0.204:api"
runtime "mezz.jei:jei_1.12.2:4.11.0.204"
deobfCompile "mezz.jei:jei_1.12.2:4.12.0.216:api"
runtime "mezz.jei:jei_1.12.2:4.12.0.216"
deobfCompile "li.cil.oc:OpenComputers:MC1.12.2-1.7.2.67:api"
compile "inventory-tweaks:InventoryTweaks:1.63:api"
}

View File

@@ -38,13 +38,13 @@ public final class RS {
public final SimpleNetworkWrapper network = NetworkRegistry.INSTANCE.newSimpleChannel(ID);
public final CreativeTabs tab = new CreativeTabs(ID) {
@Override
public ItemStack getTabIconItem() {
public ItemStack createIcon() {
return new ItemStack(RSItems.STORAGE_HOUSING);
}
};
public final CreativeTabs coversTab = new CreativeTabs(ID + ".covers") {
@Override
public ItemStack getTabIconItem() {
public ItemStack createIcon() {
ItemStack stack = new ItemStack(RSItems.COVER);
ItemCover.setItem(stack, new ItemStack(Blocks.STONE));

View File

@@ -420,7 +420,7 @@ public final class RenderUtils {
for (int i = 0; i < lines.size(); ++i) {
if (i == 0) {
lines.set(i, stack.getRarity().rarityColor + lines.get(i));
lines.set(i, stack.getRarity().color + lines.get(i));
} else {
lines.set(i, TextFormatting.GRAY + lines.get(i));
}