1.16-pre8

This commit is contained in:
modmuss50 2020-06-18 13:49:38 +01:00
parent 704dc06961
commit dc72e5ce39
3 changed files with 5 additions and 5 deletions

View file

@ -69,12 +69,12 @@ license {
group = 'TechReborn'
dependencies {
minecraft "com.mojang:minecraft:1.16-pre2"
mappings "net.fabricmc:yarn:1.16-pre2+build.1:v2"
minecraft "com.mojang:minecraft:1.16-pre8"
mappings "net.fabricmc:yarn:1.16-pre8+build.2:v2"
modImplementation "net.fabricmc:fabric-loader:0.8.7+build.201"
//Fabric api
modImplementation "net.fabricmc.fabric-api:fabric-api:0.11.6+build.355-1.16"
modImplementation "net.fabricmc.fabric-api:fabric-api:0.12.4+build.365-1.16"
optionalDependency ("me.shedaniel:RoughlyEnoughItems:4.5.1")
disabledOptionalDependency ('io.github.cottonmc:LibCD:2.3.0+1.15.2')

View file

@ -53,7 +53,7 @@ public class GuiAutoCrafting extends GuiBase<BuiltScreenHandler> {
}
public void renderItemStack(ItemStack stack, int x, int y) {
MinecraftClient.getInstance().getItemRenderer().renderGuiItem(stack, x, y);
MinecraftClient.getInstance().getItemRenderer().renderInGuiWithOverrides(stack, x, y);
}
@Override

View file

@ -101,7 +101,7 @@ public class GuiIronFurnace extends GuiBase<BuiltScreenHandler> {
@Override
public void renderBg(MatrixStack matrixStack, MinecraftClient mc, int mouseX, int mouseY) {
mc.getItemRenderer().renderGuiItem(new ItemStack(Items.EXPERIENCE_BOTTLE), x, y);
mc.getItemRenderer().renderInGuiWithOverrides(new ItemStack(Items.EXPERIENCE_BOTTLE), x, y);
}
});
}