Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.2.0 #4

Merged
merged 4 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
]
}
Loading