Skip to content

Commit

Permalink
Merge pull request #4 from refinedmods/release/0.2.0
Browse files Browse the repository at this point in the history
Release v0.2.0
  • Loading branch information
raoulvdberge authored Jun 20, 2024
2 parents c78ebef + 85991a3 commit e2be6ea
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 2 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.2.0] - 2024-06-20

### Added

- Recipe defaults.

### Fixed

- Recipe transfer not working.

## [0.1.0] - 2024-06-20

### Added
Expand All @@ -17,6 +27,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Recipe transfer integration for the Crafting Grid.
- Grid / EMI search box synchronization options.

[Unreleased]: https://github.com/refinedmods/refinedstorage-emi-integration/compare/v0.1.0...HEAD
[Unreleased]: https://github.com/refinedmods/refinedstorage-emi-integration/compare/v0.2.0...HEAD

[0.2.0]: https://github.com/refinedmods/refinedstorage-emi-integration/compare/v0.1.0...v0.2.0

[0.1.0]: https://github.com/refinedmods/refinedstorage-emi-integration/compare/6525c5339e844996b6c2b4b3f8a9e4b65cb7de68...v0.1.0
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.refinedmods.refinedstorage.emi.common;

import java.util.List;
import java.util.stream.Collectors;

import com.mojang.blaze3d.systems.RenderSystem;
import com.refinedmods.refinedstorage2.api.resource.list.ResourceList;
Expand All @@ -17,6 +18,7 @@
import dev.emi.emi.api.widget.SlotWidget;
import dev.emi.emi.api.widget.Widget;
import dev.emi.emi.runtime.EmiDrawContext;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiGraphics;
import net.minecraft.client.gui.screens.inventory.AbstractContainerScreen;

Expand Down Expand Up @@ -72,7 +74,7 @@ private List<ItemResource> getStacks(final EmiIngredient input) {
.map(EmiStack::getItemStack)
.filter(stack -> !stack.isEmpty())
.map(ItemResource::ofItemStack)
.toList();
.collect(Collectors.toList());
}

@Override
Expand All @@ -82,6 +84,7 @@ public boolean craft(final EmiRecipe recipe, final EmiCraftContext<CraftingGridC
.map(this::getStacks)
.toList();
context.getScreenHandler().transferRecipe(inputs);
Minecraft.getInstance().setScreen(context.getScreen());
return true;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"added": [
"refinedstorage2:stack_upgrade",
"refinedstorage2:block_of_quartz_enriched_iron",
"refinedstorage2:upgrade",
"refinedstorage2:fortune_3_upgrade",
"refinedstorage2:crafting_grid",
"refinedstorage2:64b_fluid_storage_disk",
"refinedstorage2:security_card",
"refinedstorage2:256b_fluid_storage_disk",
"refinedstorage2:1k_storage_part",
"refinedstorage2:construction_core",
"refinedstorage2:improved_processor",
"refinedstorage2:4096b_fluid_storage_disk",
"refinedstorage2:wireless_grid",
"refinedstorage2:64b_fluid_storage_part",
"refinedstorage2:4k_storage_disk",
"refinedstorage2:range_upgrade",
"refinedstorage2:cable",
"refinedstorage2:1024b_fluid_storage_part",
"refinedstorage2:4k_storage_block",
"refinedstorage2:64k_storage_disk",
"refinedstorage2:interface",
"refinedstorage2:speed_upgrade",
"refinedstorage2:network_receiver",
"refinedstorage2:silk_touch_upgrade",
"refinedstorage2:exporter",
"refinedstorage2:4096b_fluid_storage_part",
"refinedstorage2:4k_storage_part",
"refinedstorage2:16k_storage_block",
"refinedstorage2:64k_storage_block",
"refinedstorage2:configuration_card",
"refinedstorage2:importer",
"refinedstorage2:controller",
"refinedstorage2:external_storage",
"refinedstorage2:64k_storage_part",
"refinedstorage2:storage_housing",
"refinedstorage2:1k_storage_disk",
"refinedstorage2:fortune_1_upgrade",
"refinedstorage2:constructor",
"refinedstorage2:4096b_fluid_storage_block",
"refinedstorage2:fortune_2_upgrade",
"refinedstorage2:1024b_fluid_storage_disk",
"refinedstorage2:256b_fluid_storage_part",
"refinedstorage2:64b_fluid_storage_block",
"refinedstorage2:network_transmitter",
"refinedstorage2:16k_storage_disk",
"refinedstorage2:1k_storage_block",
"refinedstorage2:portable_grid",
"refinedstorage2:destruction_core",
"refinedstorage2:16k_storage_part",
"refinedstorage2:advanced_processor",
"refinedstorage2:grid",
"refinedstorage2:256b_fluid_storage_block",
"refinedstorage2:relay",
"refinedstorage2:security_manager",
"refinedstorage2:1024b_fluid_storage_block",
"refinedstorage2:fallback_security_card",
"refinedstorage2:disk_drive",
"refinedstorage2:raw_basic_processor",
"refinedstorage2:wireless_transmitter",
"refinedstorage2:raw_improved_processor",
"refinedstorage2:basic_processor",
"refinedstorage2:network_card",
"refinedstorage2:detector",
"refinedstorage2:storage_monitor",
"refinedstorage2:destructor",
"refinedstorage2:regulator_upgrade",
"refinedstorage2:wrench",
"refinedstorage2:raw_advanced_processor"
]
}

0 comments on commit e2be6ea

Please sign in to comment.