Package net.minecraft
Record Class class_11817
java.lang.Object
java.lang.Record
net.minecraft.class_11817
- Record Components:
name-description-runOnMainThread-discoverable-params-result-
public record class_11817(Identifier name, String description, boolean runOnMainThread, boolean discoverable, List<class_11818> params, Optional<class_11820> result)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11817intermediary net/minecraft/class_11817official augnamed nameintermediary comp_4680official bnamed descriptionintermediary comp_4681official cnamed runOnMainThreadintermediary comp_4682official dnamed discoverableintermediary comp_4683official enamed paramsintermediary comp_4684official fnamed resultintermediary comp_4685official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for thedescriptionrecord component.private final booleanThe field for thediscoverablerecord component.static final com.mojang.serialization.MapCodec<class_11817> private final IdentifierThe field for thenamerecord component.private final List<class_11818> The field for theparamsrecord component.private final Optional<class_11820> The field for theresultrecord component.private final booleanThe field for therunOnMainThreadrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11817(Identifier identifier, String string, boolean bool, boolean bool2) class_11817(Identifier identifier, String string, boolean bool, boolean bool2, List<class_11818> list, Optional<class_11820> optional) class_11817(Identifier identifier, String string, List<class_11818> list, Optional<class_11820> optional) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.booleanReturns the value of thediscoverablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_73704(class_11820 class_11820) method_73706(class_11818[] class_11818) name()Returns the value of thenamerecord component.params()Returns the value of theparamsrecord component.result()Returns the value of theresultrecord component.booleanReturns the value of therunOnMainThreadrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
name
The field for thenamerecord component. -
description
The field for thedescriptionrecord component. -
runOnMainThread
private final boolean runOnMainThreadThe field for therunOnMainThreadrecord component. -
discoverable
private final boolean discoverableThe field for thediscoverablerecord component. -
params
The field for theparamsrecord component. -
result
The field for theresultrecord component. -
field_62342
- Mappings:
Namespace Name Mixin selector named field_62342Lnet/minecraft/class_11817;field_62342:Lcom/mojang/serialization/MapCodec;intermediary field_62342Lnet/minecraft/class_11817;field_62342:Lcom/mojang/serialization/MapCodec;official aLaug;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11817
-
class_11817
public class_11817(Identifier identifier, String string, List<class_11818> list, Optional<class_11820> optional) -
class_11817
public class_11817(Identifier identifier, String string, boolean bool, boolean bool2, List<class_11818> list, Optional<class_11820> optional)
-
-
Method Details
-
method_73706
- Mappings:
Namespace Name Mixin selector named method_73706Lnet/minecraft/class_11817;method_73706([Lnet/minecraft/class_11818;)Lnet/minecraft/class_11817;intermediary method_73706Lnet/minecraft/class_11817;method_73706([Lnet/minecraft/class_11818;)Lnet/minecraft/class_11817;official aLaug;a([Lauh;)Laug;
-
method_73704
- Mappings:
Namespace Name Mixin selector named method_73704Lnet/minecraft/class_11817;method_73704(Lnet/minecraft/class_11820;)Lnet/minecraft/class_11817;intermediary method_73704Lnet/minecraft/class_11817;method_73704(Lnet/minecraft/class_11820;)Lnet/minecraft/class_11817;official aLaug;a(Lauj;)Laug;
-
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 '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
runOnMainThread
public boolean runOnMainThread()Returns the value of therunOnMainThreadrecord component.- Returns:
- the value of the
runOnMainThreadrecord component
-
discoverable
public boolean discoverable()Returns the value of thediscoverablerecord component.- Returns:
- the value of the
discoverablerecord component
-
params
Returns the value of theparamsrecord component.- Returns:
- the value of the
paramsrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-