Update fabric, mappings and loom. Added Canvas library.
This commit is contained in:
parent
50f93efbf9
commit
b36aae9e8b
5 changed files with 21 additions and 13 deletions
|
@ -79,7 +79,7 @@ public class EndStoneSmelterRecipeBookScreen extends BlastFurnaceRecipeBookScree
|
|||
int slotX = this.fuelSlot.x + x;
|
||||
int slotY = this.fuelSlot.y + y;
|
||||
DrawableHelper.fill(matrices, slotX, slotY, slotX + 16, slotY + 16, 822018048);
|
||||
this.client.getItemRenderer().renderInGuiWithOverrides(client.player, this.getItem().getStackForRender(), slotX, slotY);
|
||||
this.client.getItemRenderer().renderInGuiWithOverrides(client.player, this.getItem().getDefaultStack(), slotX, slotY);
|
||||
RenderSystem.depthFunc(516);
|
||||
DrawableHelper.fill(matrices, slotX, slotY, slotX + 16, slotY + 16, 822083583);
|
||||
RenderSystem.depthFunc(515);
|
||||
|
|
|
@ -104,7 +104,7 @@ public class REIAlloyingDisplay implements TransferRecipeDisplay {
|
|||
|
||||
static {
|
||||
fuel = EndStoneSmelterBlockEntity.availableFuels().keySet().stream()
|
||||
.map(Item::getStackForRender).map(EntryStack::create)
|
||||
.map(Item::getDefaultStack).map(EntryStack::create)
|
||||
.map(e -> e.setting(EntryStack.Settings.TOOLTIP_APPEND_EXTRA, stack -> Collections.singletonList(new TranslatableText("category.rei.smelting.fuel")
|
||||
.formatted(Formatting.YELLOW)))).collect(Collectors.toList());
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ public class BiomeDefinition {
|
|||
}
|
||||
|
||||
public BiomeDefinition setSurface(Block surfaceBlock) {
|
||||
this.surface = SurfaceBuilder.DEFAULT.method_30478(new TernarySurfaceConfig(
|
||||
this.surface = SurfaceBuilder.DEFAULT.withConfig(new TernarySurfaceConfig(
|
||||
surfaceBlock.getDefaultState(),
|
||||
Blocks.END_STONE.getDefaultState(),
|
||||
Blocks.END_STONE.getDefaultState()
|
||||
|
@ -79,7 +79,7 @@ public class BiomeDefinition {
|
|||
surfaceBlock2.getDefaultState(),
|
||||
Blocks.END_STONE.getDefaultState(),
|
||||
Blocks.END_STONE.getDefaultState()
|
||||
)).method_30478(new TernarySurfaceConfig(surfaceBlock1.getDefaultState(),
|
||||
)).withConfig(new TernarySurfaceConfig(surfaceBlock1.getDefaultState(),
|
||||
Blocks.END_STONE.getDefaultState(),
|
||||
Blocks.END_STONE.getDefaultState()));
|
||||
return this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue