Record Class TestCommand.class_9122

java.lang.Object
java.lang.Record
net.minecraft.server.command.TestCommand.class_9122
Record Components:
source -
All Implemented Interfaces:
class_9114
Enclosing class:
TestCommand

private static record TestCommand.class_9122(ServerCommandSource source) extends Record implements class_9114
Mappings:
Namespace Name
official sk$b
intermediary net/minecraft/class_4527$class_9122
named net/minecraft/server/command/TestCommand$class_9122
official a
intermediary comp_2215
named source
  • Field Details

  • Constructor Details

  • Method Details

    • method_56199

      public void method_56199(GameTestBatch gameTestBatch)
      Specified by:
      method_56199 in interface class_9114
      Mappings:
      Namespace Name Mixin selector
      official a Lro;a(Lrm;)V
      intermediary method_56199 Lnet/minecraft/class_9114;method_56199(Lnet/minecraft/class_4514;)V
      named method_56199 Lnet/minecraft/class_9114;method_56199(Lnet/minecraft/test/GameTestBatch;)V
    • method_56200

      public void method_56200(GameTestBatch gameTestBatch)
      Specified by:
      method_56200 in interface class_9114
      Mappings:
      Namespace Name Mixin selector
      official b Lro;b(Lrm;)V
      intermediary method_56200 Lnet/minecraft/class_9114;method_56200(Lnet/minecraft/class_4514;)V
      named method_56200 Lnet/minecraft/class_9114;method_56200(Lnet/minecraft/test/GameTestBatch;)V
    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • source

      public ServerCommandSource source()
      Returns the value of the source record component.
      Returns:
      the value of the source record component