Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit 306c2c7

Browse files
committed
fixed rei display issues
1 parent 021faa9 commit 306c2c7

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

FABRIC_CHANGELOG.txt

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ No formatting, just plain text. CurseForge support for it is terrible.
55

66
Change logging starts below:
77
----------
8-
- update Porting-Lib version to `2.1.1158+1.20-entity-refactor`
9-
- fix cogwheels don't make any sounds when placed normally issue ([#6](https://github.com/DM-Earth/create-fabric-dme-edition/issues/6))
10-
- fix contraptions invisible issue ([#8](https://github.com/DM-Earth/create-fabric-dme-edition/issues/8))
11-
- fix fluid pipes can't connect to fluid containers issue ([#11](https://github.com/DM-Earth/create-fabric-dme-edition/issues/11))
8+
- Fixed Ingredients and results of recipes in sequenced assembly can't be looked up by REI.
9+
- Fixed REI will throw an exception if sequenced assembly contains more than one filling step.
10+
- Fixed Fluid tag ingredient of basin recipe only shows its first type of fluid in REI.

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ this is the only solution for 1.20.1 with [Create Fabric](https://modrinth.com/m
2929
### This fork fixes the following issues
3030
- Fixed a crash that occurred when installing with [Hephaestus](https://modrinth.com/mod/hephaestus). **(This was due to a problem with the version of `PortingLib` used by Create Fabric.)**
3131
- Fixed compatibility with [Sodium](https://modrinth.com/mod/sodium) 0.5.x **(this issue was caused by Flywheel Fabric)**.
32+
- Fixed
3233

3334
### Development to compatible
3435
See [issue#4](https://github.com/DM-Earth/create-fabric-dme-edition/issues/4)

build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ def compat(DependencyHandler deps) {
123123
deps.modCompileOnly("dev.onyxstudios.cardinal-components-api:cardinal-components-base:$cca_version")
124124
deps.modCompileOnly("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:$cca_version")
125125

126+
deps.modImplementation(deps.include("com.github.DM-Earth:CreateFabricREIBugFixDMEEdition:0.1.2-mc1.20.1")) {
127+
exclude(group: "me.shedaniel")
128+
}
129+
126130
recipeViewers(deps)
127131
}
128132

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ cca_version = 5.2.2
6969
# Whether CC: Tweaked should be enabled in dev or not
7070
cc_enabled = false
7171
# What recipe viewer to use ('emi', 'rei', or 'jei'. if you change it, don't push it)
72-
recipe_viewer = emi
72+
recipe_viewer = rei
7373
# comma-separated list of test mods to enable in dev. 'none' to use none.
7474
test_mods = none

src/main/java/com/simibubi/create/compat/rei/display/CreateDisplay.java

+4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44

55
import java.util.Collections;
66
import java.util.List;
7+
import java.util.stream.Collectors;
8+
9+
import com.simibubi.create.content.processing.recipe.ProcessingRecipe;
710

811
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
912
import me.shedaniel.rei.api.common.display.Display;
1013
import me.shedaniel.rei.api.common.entry.EntryIngredient;
1114
import me.shedaniel.rei.api.common.util.EntryIngredients;
15+
import net.minecraft.world.item.ItemStack;
1216
import net.minecraft.world.item.crafting.Recipe;
1317

1418
public class CreateDisplay<R extends Recipe<?>> implements Display {

0 commit comments

Comments
 (0)