Record Class SignType

java.lang.Object
java.lang.Record
net.minecraft.util.SignType
Record Components:
name -
setType -
soundType -
hangingSignSoundType -
fenceGateClose -
fenceGateOpen -

public record SignType(String name, class_8177 setType, BlockSoundGroup soundType, BlockSoundGroup hangingSignSoundType, SoundEvent fenceGateClose, SoundEvent fenceGateOpen) extends Record
Mappings:
Namespace Name
official ddb
intermediary net/minecraft/class_4719
named net/minecraft/util/SignType
official l
intermediary comp_1299
named name
official m
intermediary comp_1300
named setType
official n
intermediary comp_1301
named soundType
official o
intermediary comp_1302
named hangingSignSoundType
official p
intermediary comp_1303
named fenceGateClose
official q
intermediary comp_1304
named fenceGateOpen
  • Field Details

    • name

      private final String name
      The field for the name record component.
    • setType

      private final class_8177 setType
      The field for the setType record component.
    • soundType

      private final BlockSoundGroup soundType
      The field for the soundType record component.
    • hangingSignSoundType

      private final BlockSoundGroup hangingSignSoundType
      The field for the hangingSignSoundType record component.
    • fenceGateClose

      private final SoundEvent fenceGateClose
      The field for the fenceGateClose record component.
    • fenceGateOpen

      private final SoundEvent fenceGateOpen
      The field for the fenceGateOpen record component.
    • VALUES

      private static final Set<SignType> VALUES
      Mappings:
      Namespace Name Mixin selector
      official r Lddb;r:Ljava/util/Set;
      intermediary field_21682 Lnet/minecraft/class_4719;field_21682:Ljava/util/Set;
      named VALUES Lnet/minecraft/util/SignType;VALUES:Ljava/util/Set;
    • OAK

      public static final SignType OAK
      Mappings:
      Namespace Name Mixin selector
      official a Lddb;a:Lddb;
      intermediary field_21676 Lnet/minecraft/class_4719;field_21676:Lnet/minecraft/class_4719;
      named OAK Lnet/minecraft/util/SignType;OAK:Lnet/minecraft/util/SignType;
    • SPRUCE

      public static final SignType SPRUCE
      Mappings:
      Namespace Name Mixin selector
      official b Lddb;b:Lddb;
      intermediary field_21677 Lnet/minecraft/class_4719;field_21677:Lnet/minecraft/class_4719;
      named SPRUCE Lnet/minecraft/util/SignType;SPRUCE:Lnet/minecraft/util/SignType;
    • BIRCH

      public static final SignType BIRCH
      Mappings:
      Namespace Name Mixin selector
      official c Lddb;c:Lddb;
      intermediary field_21678 Lnet/minecraft/class_4719;field_21678:Lnet/minecraft/class_4719;
      named BIRCH Lnet/minecraft/util/SignType;BIRCH:Lnet/minecraft/util/SignType;
    • ACACIA

      public static final SignType ACACIA
      Mappings:
      Namespace Name Mixin selector
      official d Lddb;d:Lddb;
      intermediary field_21679 Lnet/minecraft/class_4719;field_21679:Lnet/minecraft/class_4719;
      named ACACIA Lnet/minecraft/util/SignType;ACACIA:Lnet/minecraft/util/SignType;
    • field_42837

      public static final SignType field_42837
      Mappings:
      Namespace Name Mixin selector
      official e Lddb;e:Lddb;
      intermediary field_42837 Lnet/minecraft/class_4719;field_42837:Lnet/minecraft/class_4719;
      named field_42837 Lnet/minecraft/util/SignType;field_42837:Lnet/minecraft/util/SignType;
    • JUNGLE

      public static final SignType JUNGLE
      Mappings:
      Namespace Name Mixin selector
      official f Lddb;f:Lddb;
      intermediary field_21680 Lnet/minecraft/class_4719;field_21680:Lnet/minecraft/class_4719;
      named JUNGLE Lnet/minecraft/util/SignType;JUNGLE:Lnet/minecraft/util/SignType;
    • DARK_OAK

      public static final SignType DARK_OAK
      Mappings:
      Namespace Name Mixin selector
      official g Lddb;g:Lddb;
      intermediary field_21681 Lnet/minecraft/class_4719;field_21681:Lnet/minecraft/class_4719;
      named DARK_OAK Lnet/minecraft/util/SignType;DARK_OAK:Lnet/minecraft/util/SignType;
    • CRIMSON

      public static final SignType CRIMSON
      Mappings:
      Namespace Name Mixin selector
      official h Lddb;h:Lddb;
      intermediary field_22183 Lnet/minecraft/class_4719;field_22183:Lnet/minecraft/class_4719;
      named CRIMSON Lnet/minecraft/util/SignType;CRIMSON:Lnet/minecraft/util/SignType;
    • WARPED

      public static final SignType WARPED
      Mappings:
      Namespace Name Mixin selector
      official i Lddb;i:Lddb;
      intermediary field_22184 Lnet/minecraft/class_4719;field_22184:Lnet/minecraft/class_4719;
      named WARPED Lnet/minecraft/util/SignType;WARPED:Lnet/minecraft/util/SignType;
    • MANGROVE

      public static final SignType MANGROVE
      Mappings:
      Namespace Name Mixin selector
      official j Lddb;j:Lddb;
      intermediary field_37657 Lnet/minecraft/class_4719;field_37657:Lnet/minecraft/class_4719;
      named MANGROVE Lnet/minecraft/util/SignType;MANGROVE:Lnet/minecraft/util/SignType;
    • BAMBOO

      public static final SignType BAMBOO
      Mappings:
      Namespace Name Mixin selector
      official k Lddb;k:Lddb;
      intermediary field_40350 Lnet/minecraft/class_4719;field_40350:Lnet/minecraft/class_4719;
      named BAMBOO Lnet/minecraft/util/SignType;BAMBOO:Lnet/minecraft/util/SignType;
  • Constructor Details

  • Method Details

    • register

      private static SignType register(SignType type)
      Mappings:
      Namespace Name Mixin selector
      official a Lddb;a(Lddb;)Lddb;
      intermediary method_24027 Lnet/minecraft/class_4719;method_24027(Lnet/minecraft/class_4719;)Lnet/minecraft/class_4719;
      named register Lnet/minecraft/util/SignType;register(Lnet/minecraft/util/SignType;)Lnet/minecraft/util/SignType;
    • stream

      public static Stream<SignType> stream()
      Mappings:
      Namespace Name Mixin selector
      official a Lddb;a()Ljava/util/stream/Stream;
      intermediary method_24026 Lnet/minecraft/class_4719;method_24026()Ljava/util/stream/Stream;
      named stream Lnet/minecraft/util/SignType;stream()Ljava/util/stream/Stream;
    • 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.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • setType

      public class_8177 setType()
      Returns the value of the setType record component.
      Returns:
      the value of the setType record component
    • soundType

      public BlockSoundGroup soundType()
      Returns the value of the soundType record component.
      Returns:
      the value of the soundType record component
    • hangingSignSoundType

      public BlockSoundGroup hangingSignSoundType()
      Returns the value of the hangingSignSoundType record component.
      Returns:
      the value of the hangingSignSoundType record component
    • fenceGateClose

      public SoundEvent fenceGateClose()
      Returns the value of the fenceGateClose record component.
      Returns:
      the value of the fenceGateClose record component
    • fenceGateOpen

      public SoundEvent fenceGateOpen()
      Returns the value of the fenceGateOpen record component.
      Returns:
      the value of the fenceGateOpen record component