Record Class RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot
java.lang.Object
java.lang.Record
net.minecraft.client.gui.screen.recipebook.RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot
- Record Components:
y-x-stacks-
- Enclosing class:
RecipeAlternativesWidget.AlternativeButtonWidget
@Environment(CLIENT)
protected static record RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot(int y, int x, List<ItemStack> stacks)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget$InputSlotintermediary net/minecraft/class_508$class_509$class_510official gdo$b$anamed yintermediary comp_2985official anamed xintermediary comp_2986official bnamed stacksintermediary comp_2987official c
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.get(int index) final inthashCode()Returns a hash code value for this object.stacks()Returns the value of thestacksrecord component.final StringtoString()Returns a string representation of this record class.intx()Returns the value of thexrecord component.inty()Returns the value of theyrecord component.
-
Field Details
-
Constructor Details
-
InputSlot
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget$InputSlot;<init>(IILjava/util/List;)Vintermediary <init>Lnet/minecraft/class_508$class_509$class_510;<init>(IILjava/util/List;)Vofficial <init>Lgdo$b$a;<init>(IILjava/util/List;)V
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget$InputSlot;get(I)Lnet/minecraft/item/ItemStack;intermediary method_62041Lnet/minecraft/class_508$class_509$class_510;method_62041(I)Lnet/minecraft/class_1799;official aLgdo$b$a;a(I)Ldak;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
y
public int y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
x
public int x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
stacks
Returns the value of thestacksrecord component.- Returns:
- the value of the
stacksrecord component
-