Record Class HandledScreen.LetGoTouchStack
java.lang.Object
java.lang.Record
net.minecraft.client.gui.screen.ingame.HandledScreen.LetGoTouchStack
- Record Components:
item-start-end-time-
- Enclosing class:
HandledScreen<T extends ScreenHandler>
@Environment(CLIENT)
private static record HandledScreen.LetGoTouchStack(ItemStack item, Vector2i start, Vector2i end, long time)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/HandledScreen$LetGoTouchStackintermediary net/minecraft/class_465$class_11277official gnq$anamed itemintermediary comp_4155official anamed startintermediary comp_4156official bnamed endintermediary comp_4157official cnamed timeintermediary comp_4158official d
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLetGoTouchStack(ItemStack itemStack, Vector2i vector2i, Vector2i vector2i2, long long2) -
Method Summary
Modifier and TypeMethodDescriptionend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.item()Returns the value of theitemrecord component.start()Returns the value of thestartrecord component.longtime()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
LetGoTouchStack
-
-
Method Details
-
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 '=='. -
item
Returns the value of theitemrecord component.- Returns:
- the value of the
itemrecord component
-
start
Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
end
Returns the value of theendrecord component.- Returns:
- the value of the
endrecord component
-
time
public long time()Returns the value of thetimerecord component.- Returns:
- the value of the
timerecord component
-