Skip to content

Commit

Permalink
Merge pull request #13 from refinedmods/release/0.2.1
Browse files Browse the repository at this point in the history
Release v0.2.1
  • Loading branch information
raoulvdberge authored Jul 26, 2024
2 parents 13cfa5b + 9b347ed commit df61a67
Show file tree
Hide file tree
Showing 30 changed files with 48 additions and 39 deletions.
5 changes: 3 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ or any other method with the owners of this repository before making a change.
These are the most important things to know before contributing (also explained in more detail later in this document):

- Commit messages must adhere to [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
- Branch names must be formatted correctly. The format is `{category}/GH-{issue number}/{lowercase-description}`.
- Branch names must be formatted correctly. The format is `{category}/GH-{issue number}/{lowercase-description}`. You
can also use `NO-ISSUE` instead of a GitHub issue number.
Category must match a
category [used in our Commitlint config](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#type-enum). You can also use `NO-ISSUE` instead of a GitHub issue number.
category [used in our Commitlint config](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#type-enum).
- We use [Checkstyle](https://checkstyle.sourceforge.io/) in our build workflow to validate coding style. It is
recommended to import the [config/checkstyle/checkstyle.xml](../config/checkstyle/checkstyle.xml)
or [config/intellij-code-style.xml](../config/intellij-code-style.xml) file into your
Expand Down
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.7
uses: refinedmods/refinedarchitect/.github/workflows/build.yml@v0.16.9
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.7
uses: refinedmods/refinedarchitect/.github/workflows/draft-release.yml@v0.16.9
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.7
uses: refinedmods/refinedarchitect/.github/workflows/issue-for-unsupported-version.yml@v0.16.9
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.7
uses: refinedmods/refinedarchitect/.github/workflows/publish-release.yml@v0.16.9
secrets: inherit
with:
project-name: 'Refined Storage - Trinkets 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.7
uses: refinedmods/refinedarchitect/.github/workflows/resolved-issue-locking.yml@v0.16.9
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.7
uses: refinedmods/refinedarchitect/.github/workflows/validate-branch-name.yml@v0.16.9
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.7
uses: refinedmods/refinedarchitect/.github/workflows/validate-changelog.yml@v0.16.9
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.7
uses: refinedmods/refinedarchitect/.github/workflows/validate-commit-messages.yml@v0.16.9
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.2.1] - 2024-07-26

### Fixed

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

## [0.2.0] - 2024-07-20

### Changed
Expand All @@ -20,7 +26,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- Initial release.

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

[0.2.1]: https://github.com/refinedmods/refinedstorage-trinkets-integration/compare/v0.2.0...v0.2.1

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

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ val trinketsVersion: String by project
val cardinalComponentsVersion: String by project

dependencies {
modApi("com.refinedmods.refinedstorage:refinedstorage-platform-fabric:${refinedstorageVersion}")
modApi("com.refinedmods.refinedstorage:refinedstorage-fabric:${refinedstorageVersion}")
modApi("dev.emi:trinkets:${trinketsVersion}")
modApi("dev.onyxstudios.cardinal-components-api:cardinal-components-base:${cardinalComponentsVersion}")
modApi("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${cardinalComponentsVersion}")
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
refinedarchitectVersion=0.16.7
refinedstorageVersion=2.0.0-milestone.4.4
refinedarchitectVersion=0.16.9
refinedstorageVersion=2.0.0-milestone.4.5
# https://www.curseforge.com/minecraft/mc-mods/trinkets/files
trinketsVersion=3.10.0
cardinalComponentsVersion=6.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
package com.refinedmods.refinedstorage.trinkets;

import com.refinedmods.refinedstorage.platform.api.PlatformApi;
import com.refinedmods.refinedstorage.platform.api.RefinedStoragePlugin;
import com.refinedmods.refinedstorage.common.api.RefinedStorageApi;
import com.refinedmods.refinedstorage.fabric.api.RefinedStoragePlugin;

import net.minecraft.resources.ResourceLocation;

public class TrinketsRefinedStoragePlugin implements RefinedStoragePlugin {
public static final String ID = "refinedstorage_trinkets_integration";

@Override
public void onPlatformApiAvailable(final PlatformApi platformApi) {
PlatformApi.INSTANCE.getSlotReferenceFactoryRegistry().register(
public void onApiAvailable(final RefinedStorageApi api) {
api.getSlotReferenceFactoryRegistry().register(
ResourceLocation.fromNamespaceAndPath(ID, "trinkets"),
TrinketsSlotReferenceFactory.INSTANCE
);
PlatformApi.INSTANCE.addSlotReferenceProvider(new TrinketsSlotReferenceProvider());
api.addSlotReferenceProvider(new TrinketsSlotReferenceProvider());
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.refinedmods.refinedstorage.trinkets;

import com.refinedmods.refinedstorage.platform.api.support.slotreference.SlotReference;
import com.refinedmods.refinedstorage.platform.api.support.slotreference.SlotReferenceFactory;
import com.refinedmods.refinedstorage.common.api.support.slotreference.SlotReference;
import com.refinedmods.refinedstorage.common.api.support.slotreference.SlotReferenceFactory;

import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.refinedmods.refinedstorage.trinkets;

import com.refinedmods.refinedstorage.platform.api.support.slotreference.SlotReference;
import com.refinedmods.refinedstorage.platform.api.support.slotreference.SlotReferenceFactory;
import com.refinedmods.refinedstorage.common.api.support.slotreference.SlotReference;
import com.refinedmods.refinedstorage.common.api.support.slotreference.SlotReferenceFactory;

import net.minecraft.network.RegistryFriendlyByteBuf;
import net.minecraft.network.codec.ByteBufCodecs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.refinedmods.refinedstorage.trinkets;

import com.refinedmods.refinedstorage.platform.api.support.slotreference.SlotReference;
import com.refinedmods.refinedstorage.platform.api.support.slotreference.SlotReferenceProvider;
import com.refinedmods.refinedstorage.common.api.support.slotreference.SlotReference;
import com.refinedmods.refinedstorage.common.api.support.slotreference.SlotReferenceProvider;

import java.util.Collections;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trinkets.slot.refinedstorage_trinkets_integration.wireless": "Refined Storage"
"trinkets.slot.refinedstorage_trinkets_integration.refinedstorage": "Refined Storage"
}
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"fabricloader": ">=0.14.6",
"fabric-api": "*",
"minecraft": "~1.21",
"refinedstorage": "*",
"refinedstorage": ">=2.0.0-milestone.4.5",
"trinkets": ">=3.8",
"java": ">=17"
}
Expand Down

0 comments on commit df61a67

Please sign in to comment.