diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-08-18 01:50:55 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-08-18 01:50:55 +0800 |
| commit | b65de8ed7fe045df451130e3c790613c4f002e2c (patch) | |
| tree | 3412946f5dbf218e34bb7e7b94694768dae89e97 /src/main/java/me/shedaniel/rei/plugin | |
| parent | 2000b84ad41de1b4729b153091699baad15d6237 (diff) | |
| download | RoughlyEnoughItems-b65de8ed7fe045df451130e3c790613c4f002e2c.tar.gz RoughlyEnoughItems-b65de8ed7fe045df451130e3c790613c4f002e2c.tar.bz2 RoughlyEnoughItems-b65de8ed7fe045df451130e3c790613c4f002e2c.zip | |
Bye Bye java.awt
Diffstat (limited to 'src/main/java/me/shedaniel/rei/plugin')
12 files changed, 36 insertions, 28 deletions
diff --git a/src/main/java/me/shedaniel/rei/plugin/DefaultPlugin.java b/src/main/java/me/shedaniel/rei/plugin/DefaultPlugin.java index f92e4f5fe..edf87f39d 100644 --- a/src/main/java/me/shedaniel/rei/plugin/DefaultPlugin.java +++ b/src/main/java/me/shedaniel/rei/plugin/DefaultPlugin.java @@ -7,6 +7,7 @@ package me.shedaniel.rei.plugin; import com.google.common.collect.Lists; import com.google.common.collect.Maps; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.RoughlyEnoughItemsCore; import me.shedaniel.rei.api.DisplayHelper; import me.shedaniel.rei.api.Entry; @@ -55,8 +56,6 @@ import net.minecraft.util.Identifier; import net.minecraft.util.math.MathHelper; import net.minecraft.util.registry.Registry; -import java.awt.*; -import java.util.List; import java.util.*; public class DefaultPlugin implements REIPluginV0 { @@ -303,7 +302,7 @@ public class DefaultPlugin implements REIPluginV0 { recipeHelper.registerWorkingStations(STONE_CUTTING, new ItemStack(Items.STONECUTTER)); recipeHelper.registerWorkingStations(COMPOSTING, new ItemStack(Items.COMPOSTER)); recipeHelper.registerSpeedCraftButtonArea(COMPOSTING, bounds -> null); - recipeHelper.registerSpeedCraftButtonArea(DefaultPlugin.CAMPFIRE, bounds -> new Rectangle((int) bounds.getMaxX() - 16, bounds.y + 6, 10, 10)); + recipeHelper.registerSpeedCraftButtonArea(DefaultPlugin.CAMPFIRE, bounds -> new Rectangle(bounds.getMaxX() - 16, bounds.y + 6, 10, 10)); recipeHelper.registerScreenClickArea(new Rectangle(88, 32, 28, 23), CraftingTableScreen.class, CRAFTING); recipeHelper.registerScreenClickArea(new Rectangle(137, 29, 10, 13), InventoryScreen.class, CRAFTING); recipeHelper.registerScreenClickArea(new Rectangle(97, 16, 14, 30), BrewingStandScreen.class, BREWING); diff --git a/src/main/java/me/shedaniel/rei/plugin/DefaultPotionEffectExclusionZones.java b/src/main/java/me/shedaniel/rei/plugin/DefaultPotionEffectExclusionZones.java index 261afcb3f..2498f6875 100644 --- a/src/main/java/me/shedaniel/rei/plugin/DefaultPotionEffectExclusionZones.java +++ b/src/main/java/me/shedaniel/rei/plugin/DefaultPotionEffectExclusionZones.java @@ -6,6 +6,7 @@ package me.shedaniel.rei.plugin; import com.google.common.collect.Ordering; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.impl.ScreenHelper; import me.shedaniel.rei.listeners.AbstractInventoryScreenHooks; import me.shedaniel.rei.listeners.ContainerScreenHooks; @@ -13,7 +14,6 @@ import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.ingame.AbstractInventoryScreen; import net.minecraft.entity.effect.StatusEffectInstance; -import java.awt.*; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; diff --git a/src/main/java/me/shedaniel/rei/plugin/DefaultRecipeBookExclusionZones.java b/src/main/java/me/shedaniel/rei/plugin/DefaultRecipeBookExclusionZones.java index 0dced04f3..150b82f16 100644 --- a/src/main/java/me/shedaniel/rei/plugin/DefaultRecipeBookExclusionZones.java +++ b/src/main/java/me/shedaniel/rei/plugin/DefaultRecipeBookExclusionZones.java @@ -6,6 +6,7 @@ package me.shedaniel.rei.plugin; import com.google.common.collect.Lists; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.impl.ScreenHelper; import me.shedaniel.rei.listeners.ContainerScreenHooks; import net.minecraft.client.MinecraftClient; @@ -13,7 +14,6 @@ import net.minecraft.client.gui.screen.recipebook.RecipeBookProvider; import net.minecraft.client.recipe.book.ClientRecipeBook; import net.minecraft.container.CraftingContainer; -import java.awt.*; import java.util.Collections; import java.util.List; import java.util.function.Function; diff --git a/src/main/java/me/shedaniel/rei/plugin/blasting/DefaultBlastingCategory.java b/src/main/java/me/shedaniel/rei/plugin/blasting/DefaultBlastingCategory.java index 3c228c468..3e7e8ae05 100644 --- a/src/main/java/me/shedaniel/rei/plugin/blasting/DefaultBlastingCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/blasting/DefaultBlastingCategory.java @@ -7,6 +7,8 @@ package me.shedaniel.rei.plugin.blasting; import com.mojang.blaze3d.platform.GlStateManager; import it.unimi.dsi.fastutil.ints.IntList; +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.Renderer; import me.shedaniel.rei.api.TransferRecipeCategory; import me.shedaniel.rei.gui.renderers.RecipeRenderer; @@ -24,7 +26,6 @@ import net.minecraft.util.Formatting; import net.minecraft.util.Identifier; import net.minecraft.util.math.MathHelper; -import java.awt.*; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; @@ -56,7 +57,7 @@ public class DefaultBlastingCategory implements TransferRecipeCategory<DefaultBl @Override public List<Widget> setupDisplay(Supplier<DefaultBlastingDisplay> recipeDisplaySupplier, Rectangle bounds) { final DefaultBlastingDisplay recipeDisplay = recipeDisplaySupplier.get(); - Point startPoint = new Point((int) bounds.getCenterX() - 41, (int) bounds.getCenterY() - 27); + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 27); List<Widget> widgets = new LinkedList<>(Arrays.asList(new RecipeBaseWidget(bounds) { @Override public void render(int mouseX, int mouseY, float delta) { @@ -85,7 +86,7 @@ public class DefaultBlastingCategory implements TransferRecipeCategory<DefaultBl @Override public void renderRedSlots(List<Widget> widgets, Rectangle bounds, DefaultBlastingDisplay display, IntList redSlots) { - Point startPoint = new Point((int) bounds.getCenterX() - 41, (int) bounds.getCenterY() - 27); + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 27); GlStateManager.translatef(0, 0, 400); if (redSlots.contains(0)) { DrawableHelper.fill(startPoint.x + 1, startPoint.y + 1, startPoint.x + 1 + 16, startPoint.y + 1 + 16, 0x30ff0000); diff --git a/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java b/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java index 6740c5a8b..706b2310f 100644 --- a/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java @@ -6,6 +6,8 @@ package me.shedaniel.rei.plugin.brewing; import com.mojang.blaze3d.platform.GlStateManager; +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.RecipeCategory; import me.shedaniel.rei.api.Renderer; import me.shedaniel.rei.gui.widget.RecipeBaseWidget; @@ -22,7 +24,6 @@ import net.minecraft.util.Formatting; import net.minecraft.util.Identifier; import net.minecraft.util.math.MathHelper; -import java.awt.*; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; @@ -49,7 +50,7 @@ public class DefaultBrewingCategory implements RecipeCategory<DefaultBrewingDisp @Override public List<Widget> setupDisplay(Supplier<DefaultBrewingDisplay> recipeDisplaySupplier, Rectangle bounds) { final DefaultBrewingDisplay recipeDisplay = recipeDisplaySupplier.get(); - Point startPoint = new Point((int) bounds.getCenterX() - 52, (int) bounds.getCenterY() - 29); + Point startPoint = new Point(bounds.getCenterX() - 52, bounds.getCenterY() - 29); List<Widget> widgets = new LinkedList<>(Arrays.asList(new RecipeBaseWidget(bounds) { @Override public void render(int mouseX, int mouseY, float delta) { diff --git a/src/main/java/me/shedaniel/rei/plugin/campfire/DefaultCampfireCategory.java b/src/main/java/me/shedaniel/rei/plugin/campfire/DefaultCampfireCategory.java index 2860989a1..df95334e5 100644 --- a/src/main/java/me/shedaniel/rei/plugin/campfire/DefaultCampfireCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/campfire/DefaultCampfireCategory.java @@ -6,6 +6,8 @@ package me.shedaniel.rei.plugin.campfire; import com.mojang.blaze3d.platform.GlStateManager; +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.RecipeCategory; import me.shedaniel.rei.api.Renderer; import me.shedaniel.rei.gui.widget.RecipeBaseWidget; @@ -21,7 +23,6 @@ import net.minecraft.item.ItemStack; import net.minecraft.util.Identifier; import net.minecraft.util.math.MathHelper; -import java.awt.*; import java.util.Arrays; import java.util.LinkedList; import java.util.List; @@ -46,7 +47,7 @@ public class DefaultCampfireCategory implements RecipeCategory<DefaultCampfireDi @Override public List<Widget> setupDisplay(Supplier<DefaultCampfireDisplay> recipeDisplaySupplier, Rectangle bounds) { - Point startPoint = new Point((int) bounds.getCenterX() - 41, (int) bounds.getCenterY() - 27); + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 27); List<Widget> widgets = new LinkedList<>(Arrays.asList(new RecipeBaseWidget(bounds) { @Override public void render(int mouseX, int mouseY, float delta) { diff --git a/src/main/java/me/shedaniel/rei/plugin/composting/DefaultCompostingCategory.java b/src/main/java/me/shedaniel/rei/plugin/composting/DefaultCompostingCategory.java index 318cde44b..b89e0e7cb 100644 --- a/src/main/java/me/shedaniel/rei/plugin/composting/DefaultCompostingCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/composting/DefaultCompostingCategory.java @@ -7,6 +7,8 @@ package me.shedaniel.rei.plugin.composting; import com.google.common.collect.Lists; import com.mojang.blaze3d.platform.GlStateManager; +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.RecipeCategory; import me.shedaniel.rei.api.Renderer; import me.shedaniel.rei.gui.renderers.RecipeRenderer; @@ -23,7 +25,6 @@ import net.minecraft.item.ItemStack; import net.minecraft.util.Identifier; import net.minecraft.util.math.MathHelper; -import java.awt.*; import java.util.Arrays; import java.util.LinkedList; import java.util.List; @@ -78,7 +79,7 @@ public class DefaultCompostingCategory implements RecipeCategory<DefaultComposti int i = 0; for (int y = 0; y < 6; y++) for (int x = 0; x < 8; x++) { - widgets.add(new SlotWidget((int) bounds.getCenterX() - 72 + x * 18, bounds.y + y * 18, stacks.size() > i ? Renderer.fromItemStack(stacks.get(i).asItem().getStackForRender()) : Renderer.empty(), true, true, true) { + widgets.add(new SlotWidget(bounds.getCenterX() - 72 + x * 18, bounds.y + y * 18, stacks.size() > i ? Renderer.fromItemStack(stacks.get(i).asItem().getStackForRender()) : Renderer.empty(), true, true, true) { @Override protected List<String> getExtraItemToolTips(ItemStack stack) { final List<String>[] thing = new List[]{null}; @@ -93,7 +94,7 @@ public class DefaultCompostingCategory implements RecipeCategory<DefaultComposti }); i++; } - widgets.add(new SlotWidget((int) startingPoint.x + 34, startingPoint.y + 5, Renderer.fromItemStacks(recipeDisplaySupplier.get().getOutput()), false, true, true)); + widgets.add(new SlotWidget(startingPoint.x + 34, startingPoint.y + 5, Renderer.fromItemStacks(recipeDisplaySupplier.get().getOutput()), false, true, true)); return widgets; } diff --git a/src/main/java/me/shedaniel/rei/plugin/crafting/DefaultCraftingCategory.java b/src/main/java/me/shedaniel/rei/plugin/crafting/DefaultCraftingCategory.java index 1c69c65c8..b55269d56 100644 --- a/src/main/java/me/shedaniel/rei/plugin/crafting/DefaultCraftingCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/crafting/DefaultCraftingCategory.java @@ -8,6 +8,8 @@ package me.shedaniel.rei.plugin.crafting; import com.google.common.collect.Lists; import com.mojang.blaze3d.platform.GlStateManager; import it.unimi.dsi.fastutil.ints.IntList; +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.Renderer; import me.shedaniel.rei.api.TransferRecipeCategory; import me.shedaniel.rei.gui.widget.RecipeBaseWidget; @@ -22,7 +24,6 @@ import net.minecraft.client.resource.language.I18n; import net.minecraft.item.ItemStack; import net.minecraft.util.Identifier; -import java.awt.*; import java.util.Arrays; import java.util.LinkedList; import java.util.List; @@ -68,7 +69,7 @@ public class DefaultCraftingCategory implements TransferRecipeCategory<DefaultCr @Override public List<Widget> setupDisplay(Supplier<DefaultCraftingDisplay> recipeDisplaySupplier, Rectangle bounds) { - Point startPoint = new Point((int) bounds.getCenterX() - 58, (int) bounds.getCenterY() - 27); + Point startPoint = new Point(bounds.getCenterX() - 58, bounds.getCenterY() - 27); List<Widget> widgets = new LinkedList<>(Arrays.asList(new RecipeBaseWidget(bounds) { @Override public void render(int mouseX, int mouseY, float delta) { @@ -98,7 +99,7 @@ public class DefaultCraftingCategory implements TransferRecipeCategory<DefaultCr @Override public void renderRedSlots(List<Widget> widgets, Rectangle bounds, DefaultCraftingDisplay display, IntList redSlots) { - Point startPoint = new Point((int) bounds.getCenterX() - 58, (int) bounds.getCenterY() - 27); + Point startPoint = new Point(bounds.getCenterX() - 58, bounds.getCenterY() - 27); GlStateManager.translatef(0, 0, 400); for (Integer slot : redSlots) { int i = getSlotWithSize(display, slot); diff --git a/src/main/java/me/shedaniel/rei/plugin/smelting/DefaultSmeltingCategory.java b/src/main/java/me/shedaniel/rei/plugin/smelting/DefaultSmeltingCategory.java index 9f2c083f3..a85c660dc 100644 --- a/src/main/java/me/shedaniel/rei/plugin/smelting/DefaultSmeltingCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/smelting/DefaultSmeltingCategory.java @@ -7,6 +7,8 @@ package me.shedaniel.rei.plugin.smelting; import com.mojang.blaze3d.platform.GlStateManager; import it.unimi.dsi.fastutil.ints.IntList; +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.Renderer; import me.shedaniel.rei.api.TransferRecipeCategory; import me.shedaniel.rei.gui.renderers.RecipeRenderer; @@ -24,7 +26,6 @@ import net.minecraft.util.Formatting; import net.minecraft.util.Identifier; import net.minecraft.util.math.MathHelper; -import java.awt.*; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; @@ -55,7 +56,7 @@ public class DefaultSmeltingCategory implements TransferRecipeCategory<DefaultSm @Override public List<Widget> setupDisplay(Supplier<DefaultSmeltingDisplay> recipeDisplaySupplier, Rectangle bounds) { - Point startPoint = new Point((int) bounds.getCenterX() - 41, (int) bounds.getCenterY() - 27); + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 27); List<Widget> widgets = new LinkedList<>(Arrays.asList(new RecipeBaseWidget(bounds) { @Override public void render(int mouseX, int mouseY, float delta) { @@ -84,7 +85,7 @@ public class DefaultSmeltingCategory implements TransferRecipeCategory<DefaultSm @Override public void renderRedSlots(List<Widget> widgets, Rectangle bounds, DefaultSmeltingDisplay display, IntList redSlots) { - Point startPoint = new Point((int) bounds.getCenterX() - 41, (int) bounds.getCenterY() - 27); + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 27); GlStateManager.translatef(0, 0, 400); if (redSlots.contains(0)) { DrawableHelper.fill(startPoint.x + 1, startPoint.y + 1, startPoint.x + 1 + 16, startPoint.y + 1 + 16, 0x30ff0000); diff --git a/src/main/java/me/shedaniel/rei/plugin/smoking/DefaultSmokingCategory.java b/src/main/java/me/shedaniel/rei/plugin/smoking/DefaultSmokingCategory.java index 62230f493..b4c526640 100644 --- a/src/main/java/me/shedaniel/rei/plugin/smoking/DefaultSmokingCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/smoking/DefaultSmokingCategory.java @@ -7,6 +7,8 @@ package me.shedaniel.rei.plugin.smoking; import com.mojang.blaze3d.platform.GlStateManager; import it.unimi.dsi.fastutil.ints.IntList; +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.Renderer; import me.shedaniel.rei.api.TransferRecipeCategory; import me.shedaniel.rei.gui.renderers.RecipeRenderer; @@ -24,7 +26,6 @@ import net.minecraft.util.Formatting; import net.minecraft.util.Identifier; import net.minecraft.util.math.MathHelper; -import java.awt.*; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; @@ -55,7 +56,7 @@ public class DefaultSmokingCategory implements TransferRecipeCategory<DefaultSmo @Override public List<Widget> setupDisplay(Supplier<DefaultSmokingDisplay> recipeDisplaySupplier, Rectangle bounds) { - Point startPoint = new Point((int) bounds.getCenterX() - 41, (int) bounds.getCenterY() - 27); + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 27); List<Widget> widgets = new LinkedList<>(Arrays.asList(new RecipeBaseWidget(bounds) { @Override public void render(int mouseX, int mouseY, float delta) { @@ -84,7 +85,7 @@ public class DefaultSmokingCategory implements TransferRecipeCategory<DefaultSmo @Override public void renderRedSlots(List<Widget> widgets, Rectangle bounds, DefaultSmokingDisplay display, IntList redSlots) { - Point startPoint = new Point((int) bounds.getCenterX() - 41, (int) bounds.getCenterY() - 27); + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 27); GlStateManager.translatef(0, 0, 400); if (redSlots.contains(0)) { DrawableHelper.fill(startPoint.x + 1, startPoint.y + 1, startPoint.x + 1 + 16, startPoint.y + 1 + 16, 0x30ff0000); diff --git a/src/main/java/me/shedaniel/rei/plugin/stonecutting/DefaultStoneCuttingCategory.java b/src/main/java/me/shedaniel/rei/plugin/stonecutting/DefaultStoneCuttingCategory.java index ccd8689fb..8a3c0aab0 100644 --- a/src/main/java/me/shedaniel/rei/plugin/stonecutting/DefaultStoneCuttingCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/stonecutting/DefaultStoneCuttingCategory.java @@ -6,6 +6,8 @@ package me.shedaniel.rei.plugin.stonecutting; import com.mojang.blaze3d.platform.GlStateManager; +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.RecipeCategory; import me.shedaniel.rei.api.Renderer; import me.shedaniel.rei.gui.widget.RecipeBaseWidget; @@ -19,7 +21,6 @@ import net.minecraft.client.resource.language.I18n; import net.minecraft.item.ItemStack; import net.minecraft.util.Identifier; -import java.awt.*; import java.util.Arrays; import java.util.LinkedList; import java.util.List; @@ -44,7 +45,7 @@ public class DefaultStoneCuttingCategory implements RecipeCategory<DefaultStoneC @Override public List<Widget> setupDisplay(Supplier<DefaultStoneCuttingDisplay> recipeDisplaySupplier, Rectangle bounds) { - Point startPoint = new Point((int) bounds.getCenterX() - 41, (int) bounds.getCenterY() - 13); + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 13); List<Widget> widgets = new LinkedList<>(Arrays.asList(new RecipeBaseWidget(bounds) { @Override public void render(int mouseX, int mouseY, float delta) { diff --git a/src/main/java/me/shedaniel/rei/plugin/stripping/DefaultStrippingCategory.java b/src/main/java/me/shedaniel/rei/plugin/stripping/DefaultStrippingCategory.java index d0bfc297c..44385f2a2 100644 --- a/src/main/java/me/shedaniel/rei/plugin/stripping/DefaultStrippingCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/stripping/DefaultStrippingCategory.java @@ -6,6 +6,8 @@ package me.shedaniel.rei.plugin.stripping; import com.mojang.blaze3d.platform.GlStateManager; +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.RecipeCategory; import me.shedaniel.rei.api.Renderer; import me.shedaniel.rei.gui.widget.RecipeBaseWidget; @@ -19,7 +21,6 @@ import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.util.Identifier; -import java.awt.*; import java.util.Arrays; import java.util.LinkedList; import java.util.List; @@ -44,7 +45,7 @@ public class DefaultStrippingCategory implements RecipeCategory<DefaultStripping @Override public List<Widget> setupDisplay(Supplier<DefaultStrippingDisplay> recipeDisplaySupplier, Rectangle bounds) { - Point startPoint = new Point((int) bounds.getCenterX() - 41, (int) bounds.getCenterY() - 13); + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 13); List<Widget> widgets = new LinkedList<>(Arrays.asList(new RecipeBaseWidget(bounds) { @Override public void render(int mouseX, int mouseY, float delta) { |
