Package net.minecraft
Record Class class_11815<Result>
java.lang.Object
java.lang.Record
net.minecraft.class_11815<Result>
- Record Components:
method-resultFuture-timeoutTime-
public record class_11815<Result>(class_11808<?,Result> method, CompletableFuture<Result> resultFuture, long timeoutTime)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11815intermediary net/minecraft/class_11815official auenamed methodintermediary comp_4673official anamed resultFutureintermediary comp_4674official bnamed timeoutTimeintermediary comp_4675official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11808<?, Result> The field for themethodrecord component.private final CompletableFuture<Result> The field for theresultFuturerecord component.private final longThe field for thetimeoutTimerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11815(class_11808<?, Result> class_11808, CompletableFuture<Result> completableFuture, long long2) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method()Returns the value of themethodrecord component.booleanmethod_73696(long long2) voidmethod_73697(JsonElement jsonElement) Returns the value of theresultFuturerecord component.longReturns the value of thetimeoutTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
method
The field for themethodrecord component. -
resultFuture
The field for theresultFuturerecord component. -
timeoutTime
private final long timeoutTimeThe field for thetimeoutTimerecord component.
-
-
Constructor Details
-
class_11815
public class_11815(class_11808<?, Result> class_11808, CompletableFuture<Result> completableFuture, long long2)
-
-
Method Details
-
method_73697
- Mappings:
Namespace Name Mixin selector named method_73697Lnet/minecraft/class_11815;method_73697(Lcom/google/gson/JsonElement;)Vintermediary method_73697Lnet/minecraft/class_11815;method_73697(Lcom/google/gson/JsonElement;)Vofficial aLaue;a(Lcom/google/gson/JsonElement;)V
-
method_73696
public boolean method_73696(long long2) - Mappings:
Namespace Name Mixin selector named method_73696Lnet/minecraft/class_11815;method_73696(J)Zintermediary method_73696Lnet/minecraft/class_11815;method_73696(J)Zofficial aLaue;a(J)Z
-
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 '=='. -
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
resultFuture
Returns the value of theresultFuturerecord component.- Returns:
- the value of the
resultFuturerecord component
-
timeoutTime
public long timeoutTime()Returns the value of thetimeoutTimerecord component.- Returns:
- the value of the
timeoutTimerecord component
-