Skip to content

Commit

Permalink
Merge pull request #22 from refinedmods/release/0.4.1
Browse files Browse the repository at this point in the history
Release v0.4.1
  • Loading branch information
raoulvdberge authored Aug 11, 2024
2 parents f0469cb + 890d3c8 commit 87600f2
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [ opened, synchronize, reopened ]
jobs:
build:
uses: refinedmods/refinedarchitect/.github/workflows/build.yml@v0.16.9
uses: refinedmods/refinedarchitect/.github/workflows/build.yml@v0.17.1
with:
mutation-testing: false
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
type: string
jobs:
draft:
uses: refinedmods/refinedarchitect/.github/workflows/draft-release.yml@v0.16.9
uses: refinedmods/refinedarchitect/.github/workflows/draft-release.yml@v0.17.1
with:
release-type: ${{ inputs.release-type }}
version-number-override: ${{ inputs.version-number-override }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-for-unsupported-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ on:
types: [ labeled, unlabeled, reopened ]
jobs:
unsupported-labeler:
uses: refinedmods/refinedarchitect/.github/workflows/issue-for-unsupported-version.yml@v0.16.9
uses: refinedmods/refinedarchitect/.github/workflows/issue-for-unsupported-version.yml@v0.17.1
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- closed
jobs:
publish-release:
uses: refinedmods/refinedarchitect/.github/workflows/publish-release.yml@v0.16.9
uses: refinedmods/refinedarchitect/.github/workflows/publish-release.yml@v0.17.1
secrets: inherit
with:
project-name: 'Refined Storage - EMI Integration'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/resolved-issue-locking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ on:
- cron: '0 0 * * *'
jobs:
lock:
uses: refinedmods/refinedarchitect/.github/workflows/resolved-issue-locking.yml@v0.16.9
uses: refinedmods/refinedarchitect/.github/workflows/resolved-issue-locking.yml@v0.17.1
2 changes: 1 addition & 1 deletion .github/workflows/validate-branch-name.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: Validate branch name
on: [ pull_request ]
jobs:
validate-branch-name:
uses: refinedmods/refinedarchitect/.github/workflows/validate-branch-name.yml@v0.16.9
uses: refinedmods/refinedarchitect/.github/workflows/validate-branch-name.yml@v0.17.1
2 changes: 1 addition & 1 deletion .github/workflows/validate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ on:
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ]
jobs:
validate-changelog:
uses: refinedmods/refinedarchitect/.github/workflows/validate-changelog.yml@v0.16.9
uses: refinedmods/refinedarchitect/.github/workflows/validate-changelog.yml@v0.17.1
2 changes: 1 addition & 1 deletion .github/workflows/validate-commit-messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: Validate commit messages
on: [ pull_request ]
jobs:
validate-commit-messages:
uses: refinedmods/refinedarchitect/.github/workflows/validate-commit-messages.yml@v0.16.9
uses: refinedmods/refinedarchitect/.github/workflows/validate-commit-messages.yml@v0.17.1
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.4.1] - 2024-08-11

### Fixed

- Support for Refined Storage v2.0.0-milestone.4.7.

## [0.4.0] - 2024-08-08

### Added
Expand Down Expand Up @@ -57,7 +63,9 @@ 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.4.0...HEAD
[Unreleased]: https://github.com/refinedmods/refinedstorage-emi-integration/compare/v0.4.1...HEAD

[0.4.1]: https://github.com/refinedmods/refinedstorage-emi-integration/compare/v0.4.0...v0.4.1

[0.4.0]: https://github.com/refinedmods/refinedstorage-emi-integration/compare/v0.3.2...v0.4.0

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
refinedarchitectVersion=0.16.9
refinedstorageVersion=2.0.0-milestone.4.6
emiVersion=1.1.10+1.21
refinedarchitectVersion=0.17.1
refinedstorageVersion=2.0.0-milestone.4.7
emiVersion=1.1.11+1.21
# Gradle
org.gradle.jvmargs=-Xmx1G
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
package com.refinedmods.refinedstorage.emi.common;

import com.refinedmods.refinedstorage.common.grid.AbstractGridSynchronizer;
import com.refinedmods.refinedstorage.common.api.grid.GridSynchronizer;
import com.refinedmods.refinedstorage.common.grid.NoopGridSynchronizer;

import javax.annotation.Nullable;

import dev.emi.emi.api.EmiApi;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.MutableComponent;
import net.minecraft.resources.ResourceLocation;

import static com.refinedmods.refinedstorage.emi.common.Common.MOD_ID;

class EmiGridSynchronizer extends AbstractGridSynchronizer {
class EmiGridSynchronizer implements GridSynchronizer {
private static final MutableComponent TITLE = Component.translatable("gui.%s.grid.synchronizer".formatted(MOD_ID));
private static final MutableComponent TITLE_TWO_WAY = Component.translatable(
"gui.%s.grid.synchronizer.two_way".formatted(MOD_ID)
Expand Down Expand Up @@ -48,7 +50,7 @@ public String getTextToSynchronizeToGrid() {
}

@Override
public int getXTexture() {
return twoWay ? 32 : 48;
public ResourceLocation getSprite() {
return twoWay ? NoopGridSynchronizer.ON_TWO_WAY : NoopGridSynchronizer.ON;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"fabricloader": ">=0.14.6",
"fabric-api": "*",
"minecraft": "~1.21",
"refinedstorage": ">=2.0.0-milestone.4.5",
"refinedstorage": ">=2.0.0-milestone.4.7",
"emi": ">=1.1.10",
"java": ">=17"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ EMI integration for Refined Storage.
[[dependencies.refinedstorage_emi_integration]]
modId = "refinedstorage"
type = "required"
versionRange = "2.0.0-milestone.4.5"
versionRange = "2.0.0-milestone.4.7"
side = "BOTH"
[[dependencies.refinedstorage_emi_integration]]
modId = "emi"
Expand Down

0 comments on commit 87600f2

Please sign in to comment.