-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b16a78
commit 72273ad
Showing
16 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
src/main/java/com/refinedmods/refinedstorage/trinkets/TrinketsRefinedStoragePlugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/com/refinedmods/refinedstorage/trinkets/TrinketsSlotReference.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/main/java/com/refinedmods/refinedstorage/trinkets/TrinketsSlotReferenceFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/main/java/com/refinedmods/refinedstorage/trinkets/TrinketsSlotReferenceProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters