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_11817
intermediary net/minecraft/class_11817
official aug
named name
intermediary comp_4680
official b
named description
intermediary comp_4681
official c
named runOnMainThread
intermediary comp_4682
official d
named discoverable
intermediary comp_4683
official e
named params
intermediary comp_4684
official f
named result
intermediary comp_4685
official g
  • Field Details

    • name

      private final Identifier name
      The field for the name record component.
    • description

      private final String description
      The field for the description record component.
    • runOnMainThread

      private final boolean runOnMainThread
      The field for the runOnMainThread record component.
    • discoverable

      private final boolean discoverable
      The field for the discoverable record component.
    • params

      private final List<class_11818> params
      The field for the params record component.
    • result

      private final Optional<class_11820> result
      The field for the result record component.
    • field_62342

      public static final com.mojang.serialization.MapCodec<class_11817> field_62342
      Mappings:
      Namespace Name Mixin selector
      named field_62342 Lnet/minecraft/class_11817;field_62342:Lcom/mojang/serialization/MapCodec;
      intermediary field_62342 Lnet/minecraft/class_11817;field_62342:Lcom/mojang/serialization/MapCodec;
      official a Laug;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • method_73706

      public class_11817 method_73706(class_11818[] class_11818)
      Mappings:
      Namespace Name Mixin selector
      named method_73706 Lnet/minecraft/class_11817;method_73706([Lnet/minecraft/class_11818;)Lnet/minecraft/class_11817;
      intermediary method_73706 Lnet/minecraft/class_11817;method_73706([Lnet/minecraft/class_11818;)Lnet/minecraft/class_11817;
      official a Laug;a([Lauh;)Laug;
    • method_73704

      public class_11817 method_73704(class_11820 class_11820)
      Mappings:
      Namespace Name Mixin selector
      named method_73704 Lnet/minecraft/class_11817;method_73704(Lnet/minecraft/class_11820;)Lnet/minecraft/class_11817;
      intermediary method_73704 Lnet/minecraft/class_11817;method_73704(Lnet/minecraft/class_11820;)Lnet/minecraft/class_11817;
      official a Laug;a(Lauj;)Laug;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • name

      public Identifier name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • runOnMainThread

      public boolean runOnMainThread()
      Returns the value of the runOnMainThread record component.
      Returns:
      the value of the runOnMainThread record component
    • discoverable

      public boolean discoverable()
      Returns the value of the discoverable record component.
      Returns:
      the value of the discoverable record component
    • params

      public List<class_11818> params()
      Returns the value of the params record component.
      Returns:
      the value of the params record component
    • result

      public Optional<class_11820> result()
      Returns the value of the result record component.
      Returns:
      the value of the result record component