Skip to content

Commit

Permalink
works
Browse files Browse the repository at this point in the history
  • Loading branch information
jiink committed Apr 16, 2024
1 parent 511799e commit 0147d29
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public WoodenFurnaceBlock(AbstractBlock.Settings settings) {

@Nullable
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type) {
return validateTicker(type, SmeltingInAPinch.WOODEN_FURNACE_BLOCK_ENTITY, (world1, pos, state1, be) -> WoodenFurnaceBlockEntity.tick(world1, pos, state1));
return validateTicker(type, SmeltingInAPinch.WOODEN_FURNACE_BLOCK_ENTITY, (world1, pos, state1, be) -> ((WoodenFurnaceBlockEntity) be).tick(world1, pos, state1));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private void renderProgressArrow(DrawContext context, int x, int y) {

@Override
public void render(DrawContext context, int mouseX, int mouseY, float delta) {
renderBackground(context);
renderBackground(context, mouseX, mouseY, delta);
super.render(context, mouseX, mouseY, delta);
drawMouseoverTooltip(context, mouseX, mouseY);
}
Expand Down
File renamed without changes

0 comments on commit 0147d29

Please sign in to comment.