Record Class ExecutionFlags

java.lang.Object
java.lang.Record
net.minecraft.command.ExecutionFlags
Record Components:
flags -

public record ExecutionFlags(byte flags) extends Record
Mappings:
Namespace Name
named net/minecraft/command/ExecutionFlags
intermediary net/minecraft/class_8936
official hn
named flags
intermediary comp_2020
official b
  • Field Details

    • flags

      private final byte flags
      The field for the flags record component.
    • NONE

      public static final ExecutionFlags NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/command/ExecutionFlags;NONE:Lnet/minecraft/command/ExecutionFlags;
      intermediary field_47160 Lnet/minecraft/class_8936;field_47160:Lnet/minecraft/class_8936;
      official a Lhn;a:Lhn;
    • SILENT

      private static final byte SILENT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SILENT Lnet/minecraft/command/ExecutionFlags;SILENT:B
      intermediary field_47161 Lnet/minecraft/class_8936;field_47161:B
      official c Lhn;c:B
    • INSIDE_RETURN_RUN

      private static final byte INSIDE_RETURN_RUN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named INSIDE_RETURN_RUN Lnet/minecraft/command/ExecutionFlags;INSIDE_RETURN_RUN:B
      intermediary field_47162 Lnet/minecraft/class_8936;field_47162:B
      official d Lhn;d:B
  • Constructor Details

    • ExecutionFlags

      public ExecutionFlags(byte byte2)
  • Method Details

    • set

      private ExecutionFlags set(byte flag)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/command/ExecutionFlags;set(B)Lnet/minecraft/command/ExecutionFlags;
      intermediary method_54885 Lnet/minecraft/class_8936;method_54885(B)Lnet/minecraft/class_8936;
      official a Lhn;a(B)Lhn;
    • isSilent

      public boolean isSilent()
      Mappings:
      Namespace Name Mixin selector
      named isSilent Lnet/minecraft/command/ExecutionFlags;isSilent()Z
      intermediary method_54884 Lnet/minecraft/class_8936;method_54884()Z
      official a Lhn;a()Z
    • setSilent

      public ExecutionFlags setSilent()
      Mappings:
      Namespace Name Mixin selector
      named setSilent Lnet/minecraft/command/ExecutionFlags;setSilent()Lnet/minecraft/command/ExecutionFlags;
      intermediary method_54886 Lnet/minecraft/class_8936;method_54886()Lnet/minecraft/class_8936;
      official b Lhn;b()Lhn;
    • isInsideReturnRun

      public boolean isInsideReturnRun()
      Mappings:
      Namespace Name Mixin selector
      named isInsideReturnRun Lnet/minecraft/command/ExecutionFlags;isInsideReturnRun()Z
      intermediary method_54887 Lnet/minecraft/class_8936;method_54887()Z
      official c Lhn;c()Z
    • setInsideReturnRun

      public ExecutionFlags setInsideReturnRun()
      Mappings:
      Namespace Name Mixin selector
      named setInsideReturnRun Lnet/minecraft/command/ExecutionFlags;setInsideReturnRun()Lnet/minecraft/command/ExecutionFlags;
      intermediary method_54888 Lnet/minecraft/class_8936;method_54888()Lnet/minecraft/class_8936;
      official d Lhn;d()Lhn;
    • 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 '=='.
      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.
    • flags

      public byte flags()
      Returns the value of the flags record component.
      Returns:
      the value of the flags record component