Update Forge, mappings and dependencies.
This commit is contained in:
@@ -29,10 +29,10 @@ sourceCompatibility = 1.8
|
|||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "1.12.2-14.23.4.2732"
|
version = "1.12.2-14.23.4.2760"
|
||||||
runDir = "run"
|
runDir = "run"
|
||||||
useDepAts = true
|
useDepAts = true
|
||||||
mappings = "snapshot_20180714"
|
mappings = "stable_39"
|
||||||
|
|
||||||
replaceIn "RS.java"
|
replaceIn "RS.java"
|
||||||
replace "@version@", project.version
|
replace "@version@", project.version
|
||||||
@@ -52,8 +52,8 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
deobfCompile "mezz.jei:jei_1.12.2:4.11.0.204:api"
|
deobfCompile "mezz.jei:jei_1.12.2:4.12.0.216:api"
|
||||||
runtime "mezz.jei:jei_1.12.2:4.11.0.204"
|
runtime "mezz.jei:jei_1.12.2:4.12.0.216"
|
||||||
deobfCompile "li.cil.oc:OpenComputers:MC1.12.2-1.7.2.67:api"
|
deobfCompile "li.cil.oc:OpenComputers:MC1.12.2-1.7.2.67:api"
|
||||||
compile "inventory-tweaks:InventoryTweaks:1.63:api"
|
compile "inventory-tweaks:InventoryTweaks:1.63:api"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,13 +38,13 @@ public final class RS {
|
|||||||
public final SimpleNetworkWrapper network = NetworkRegistry.INSTANCE.newSimpleChannel(ID);
|
public final SimpleNetworkWrapper network = NetworkRegistry.INSTANCE.newSimpleChannel(ID);
|
||||||
public final CreativeTabs tab = new CreativeTabs(ID) {
|
public final CreativeTabs tab = new CreativeTabs(ID) {
|
||||||
@Override
|
@Override
|
||||||
public ItemStack getTabIconItem() {
|
public ItemStack createIcon() {
|
||||||
return new ItemStack(RSItems.STORAGE_HOUSING);
|
return new ItemStack(RSItems.STORAGE_HOUSING);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
public final CreativeTabs coversTab = new CreativeTabs(ID + ".covers") {
|
public final CreativeTabs coversTab = new CreativeTabs(ID + ".covers") {
|
||||||
@Override
|
@Override
|
||||||
public ItemStack getTabIconItem() {
|
public ItemStack createIcon() {
|
||||||
ItemStack stack = new ItemStack(RSItems.COVER);
|
ItemStack stack = new ItemStack(RSItems.COVER);
|
||||||
|
|
||||||
ItemCover.setItem(stack, new ItemStack(Blocks.STONE));
|
ItemCover.setItem(stack, new ItemStack(Blocks.STONE));
|
||||||
|
|||||||
@@ -420,7 +420,7 @@ public final class RenderUtils {
|
|||||||
|
|
||||||
for (int i = 0; i < lines.size(); ++i) {
|
for (int i = 0; i < lines.size(); ++i) {
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
lines.set(i, stack.getRarity().rarityColor + lines.get(i));
|
lines.set(i, stack.getRarity().color + lines.get(i));
|
||||||
} else {
|
} else {
|
||||||
lines.set(i, TextFormatting.GRAY + lines.get(i));
|
lines.set(i, TextFormatting.GRAY + lines.get(i));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user