Package com.simibubi.create.compat.jei
Record Class StockKeeperGuiContainerHandler
java.lang.Object
java.lang.Record
com.simibubi.create.compat.jei.StockKeeperGuiContainerHandler
- All Implemented Interfaces:
mezz.jei.api.gui.handlers.IGuiContainerHandler<StockKeeperRequestScreen>
public record StockKeeperGuiContainerHandler(mezz.jei.api.runtime.IIngredientManager ingredientManager)
extends Record
implements mezz.jei.api.gui.handlers.IGuiContainerHandler<StockKeeperRequestScreen>
-
Constructor Summary
ConstructorsConstructorDescriptionStockKeeperGuiContainerHandler(mezz.jei.api.runtime.IIngredientManager ingredientManager) Creates an instance of aStockKeeperGuiContainerHandlerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Optional<mezz.jei.api.runtime.IClickableIngredient<?>> getClickableIngredientUnderMouse(StockKeeperRequestScreen containerScreen, double mouseX, double mouseY) final inthashCode()Returns a hash code value for this object.mezz.jei.api.runtime.IIngredientManagerReturns the value of theingredientManagerrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface mezz.jei.api.gui.handlers.IGuiContainerHandler
getGuiClickableAreas, getGuiExtraAreas
-
Constructor Details
-
StockKeeperGuiContainerHandler
public StockKeeperGuiContainerHandler(mezz.jei.api.runtime.IIngredientManager ingredientManager) Creates an instance of aStockKeeperGuiContainerHandlerrecord class.- Parameters:
ingredientManager- the value for theingredientManagerrecord component
-
-
Method Details
-
getClickableIngredientUnderMouse
public Optional<mezz.jei.api.runtime.IClickableIngredient<?>> getClickableIngredientUnderMouse(StockKeeperRequestScreen containerScreen, double mouseX, double mouseY) - Specified by:
getClickableIngredientUnderMousein interfacemezz.jei.api.gui.handlers.IGuiContainerHandler<StockKeeperRequestScreen>
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
ingredientManager
public mezz.jei.api.runtime.IIngredientManager ingredientManager()Returns the value of theingredientManagerrecord component.- Returns:
- the value of the
ingredientManagerrecord component
-