diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-02-23 14:46:06 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-02-23 14:46:06 +0800 |
| commit | ac2a724b0575438357810fdc71b4c2fa6590665c (patch) | |
| tree | eec15bf1eaad9918e2d3ae4d22918a5a7e50b455 | |
| parent | 792d6ee9325b0a14796de51e31c9f51876fcdf8f (diff) | |
| parent | a2309c47c447d217346147af5823e991feaf9dcd (diff) | |
| download | RoughlyEnoughItems-ac2a724b0575438357810fdc71b4c2fa6590665c.tar.gz RoughlyEnoughItems-ac2a724b0575438357810fdc71b4c2fa6590665c.tar.bz2 RoughlyEnoughItems-ac2a724b0575438357810fdc71b4c2fa6590665c.zip | |
Merge remote-tracking branch 'origin/7.x-1.18' into 7.x-1.18.2
# Conflicts:
# gradle.properties
# runtime/src/main/java/me/shedaniel/rei/impl/client/gui/screen/AbstractDisplayViewingScreen.java
84 files changed, 3342 insertions, 2892 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml index 9c2afe968..07cea7acf 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yaml +++ b/.github/ISSUE_TEMPLATE/bug-report.yaml @@ -41,6 +41,8 @@ body: description: Please copy and paste any relevant log output, this will be used to help diagnose the issue. Please do not use any paste services, as they may expire and be deleted. placeholder: You can look into `.minecraft/logs` and find the `latest.log` and `rei.log`, you can paste them here. render: shell + validations: + required: true - type: textarea attributes: label: Anything else? @@ -53,4 +55,4 @@ body: value: | Before submitting a bug report, please make sure that this issue has not already been reported. You can use the search feature to find existing issues. - Thanks for taking the time to fill out this bug report!
\ No newline at end of file + Thanks for taking the time to fill out this bug report! diff --git a/api/src/main/java/me/shedaniel/rei/api/client/config/ConfigObject.java b/api/src/main/java/me/shedaniel/rei/api/client/config/ConfigObject.java index aa90567ae..dfd8f08f6 100644 --- a/api/src/main/java/me/shedaniel/rei/api/client/config/ConfigObject.java +++ b/api/src/main/java/me/shedaniel/rei/api/client/config/ConfigObject.java @@ -50,6 +50,9 @@ public interface ConfigObject { void setCheating(boolean cheating); + @ApiStatus.Experimental + CheatingMode getCheatingMode(); + EntryPanelOrdering getItemListOrdering(); boolean isItemListAscending(); @@ -86,6 +89,8 @@ public interface ConfigObject { String getWeatherCommand(); + String getTimeCommand(); + int getMaxRecipePerPage(); int getMaxRecipesPageHeight(); @@ -113,10 +118,14 @@ public interface ConfigObject { boolean doesFastEntryRendering(); + boolean doesCacheEntryRendering(); + boolean doDebugRenderTimeRequired(); boolean doMergeDisplayUnderOne(); + FavoriteAddWidgetMode getFavoriteAddWidgetMode(); + ModifierKeyCode getFavoriteKeyCode(); ModifierKeyCode getRecipeKeybind(); @@ -188,6 +197,9 @@ public interface ConfigObject { @ApiStatus.Experimental SyntaxHighlightingMode getSyntaxHighlightingMode(); + @ApiStatus.Experimental + boolean isFocusModeZoomed(); + SearchMode getTooltipSearchMode(); SearchMode getTagSearchMode(); diff --git a/api/src/main/java/me/shedaniel/rei/api/client/favorites/CompoundFavoriteRenderer.java b/api/src/main/java/me/shedaniel/rei/api/client/favorites/CompoundFavoriteRenderer.java index 62c89edd2..858d43aa5 100644 --- a/api/src/main/java/me/shedaniel/rei/api/client/favorites/CompoundFavoriteRenderer.java +++ b/api/src/main/java/me/shedaniel/rei/api/client/favorites/CompoundFavoriteRenderer.java @@ -26,11 +26,11 @@ package me.shedaniel.rei.api.client.favorites; import com.mojang.blaze3d.vertex.PoseStack; import com.mojang.math.Vector4f; import me.shedaniel.clothconfig2.api.ScissorsHandler; +import me.shedaniel.clothconfig2.api.animator.NumberAnimator; +import me.shedaniel.clothconfig2.api.animator.ValueAnimator; import me.shedaniel.math.Rectangle; import me.shedaniel.rei.api.client.gui.AbstractRenderer; import me.shedaniel.rei.api.client.gui.Renderer; -import me.shedaniel.rei.api.client.gui.animator.NumberAnimator; -import me.shedaniel.rei.api.client.gui.animator.ValueAnimator; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.Util; diff --git a/api/src/main/java/me/shedaniel/rei/api/client/gui/SimpleDisplayRenderer.java b/api/src/main/java/me/shedaniel/rei/api/client/gui/SimpleDisplayRenderer.java index fe116e744..b0ce0e735 100644 --- a/api/src/main/java/me/shedaniel/rei/api/client/gui/SimpleDisplayRenderer.java +++ b/api/src/main/java/me/shedaniel/rei/api/client/gui/SimpleDisplayRenderer.java @@ -127,6 +127,7 @@ public class SimpleDisplayRenderer extends DisplayRenderer implements WidgetHold outputWidget.setZ(getZ() + 50); outputWidget.getBounds().setLocation(xx, yy); outputWidget.render(matrices, mouseX, mouseY, delta); + yy += 18; } } @@ -146,7 +147,7 @@ public class SimpleDisplayRenderer extends DisplayRenderer implements WidgetHold @Override public int getHeight() { - return 4 + getItemsHeight() * 18; + return Math.max(4 + getItemsHeight() * 18, 4 + outputWidgets.size() * 18); } public int getItemsHeight() { |
