Record Class BlockSetType

java.lang.Object
java.lang.Record
net.minecraft.block.BlockSetType
Record Components:
name -
canOpenByHand -
soundType -
doorClose -
doorOpen -
trapdoorClose -
trapdoorOpen -
pressurePlateClickOff -
pressurePlateClickOn -
buttonClickOff -
buttonClickOn -

public record BlockSetType(String name, boolean canOpenByHand, BlockSoundGroup soundType, SoundEvent doorClose, SoundEvent doorOpen, SoundEvent trapdoorClose, SoundEvent trapdoorOpen, SoundEvent pressurePlateClickOff, SoundEvent pressurePlateClickOn, SoundEvent buttonClickOff, SoundEvent buttonClickOn) extends Record
Mappings:
Namespace Name
official dci
intermediary net/minecraft/class_8177
named net/minecraft/block/BlockSetType
official p
intermediary comp_1289
named name
official q
intermediary comp_1471
named canOpenByHand
official r
intermediary comp_1290
named soundType
official s
intermediary comp_1291
named doorClose
official t
intermediary comp_1292
named doorOpen
official u
intermediary comp_1293
named trapdoorClose
official v
intermediary comp_1294
named trapdoorOpen
official w
intermediary comp_1295
named pressurePlateClickOff
official x
intermediary comp_1296
named pressurePlateClickOn
official y
intermediary comp_1297
named buttonClickOff
official z
intermediary comp_1298
named buttonClickOn
  • Field Details

    • name

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

      private final boolean canOpenByHand
      The field for the canOpenByHand record component.
    • soundType

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

      private final SoundEvent doorClose
      The field for the doorClose record component.
    • doorOpen

      private final SoundEvent doorOpen
      The field for the doorOpen record component.
    • trapdoorClose

      private final SoundEvent trapdoorClose
      The field for the trapdoorClose record component.
    • trapdoorOpen

      private final SoundEvent trapdoorOpen
      The field for the trapdoorOpen record component.
    • pressurePlateClickOff

      private final SoundEvent pressurePlateClickOff
      The field for the pressurePlateClickOff record component.
    • pressurePlateClickOn

      private final SoundEvent pressurePlateClickOn
      The field for the pressurePlateClickOn record component.
    • buttonClickOff

      private final SoundEvent buttonClickOff
      The field for the buttonClickOff record component.
    • buttonClickOn

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

      private static final Set<BlockSetType> VALUES
      Mappings:
      Namespace Name Mixin selector
      official A Ldci;A:Ljava/util/Set;
      intermediary field_42834 Lnet/minecraft/class_8177;field_42834:Ljava/util/Set;
      named VALUES Lnet/minecraft/block/BlockSetType;VALUES:Ljava/util/Set;
    • IRON

      public static final BlockSetType IRON
      Mappings:
      Namespace Name Mixin selector
      official a Ldci;a:Ldci;
      intermediary field_42819 Lnet/minecraft/class_8177;field_42819:Lnet/minecraft/class_8177;
      named IRON Lnet/minecraft/block/BlockSetType;IRON:Lnet/minecraft/block/BlockSetType;
    • GOLD

      public static final BlockSetType GOLD
      Mappings:
      Namespace Name Mixin selector
      official b Ldci;b:Ldci;
      intermediary field_42820 Lnet/minecraft/class_8177;field_42820:Lnet/minecraft/class_8177;
      named GOLD Lnet/minecraft/block/BlockSetType;GOLD:Lnet/minecraft/block/BlockSetType;
    • STONE

      public static final BlockSetType STONE
      Mappings:
      Namespace Name Mixin selector
      official c Ldci;c:Ldci;
      intermediary field_42821 Lnet/minecraft/class_8177;field_42821:Lnet/minecraft/class_8177;
      named STONE Lnet/minecraft/block/BlockSetType;STONE:Lnet/minecraft/block/BlockSetType;
    • POLISHED_BLACKSTONE

      public static final BlockSetType POLISHED_BLACKSTONE
      Mappings:
      Namespace Name Mixin selector
      official d Ldci;d:Ldci;
      intermediary field_42822 Lnet/minecraft/class_8177;field_42822:Lnet/minecraft/class_8177;
      named POLISHED_BLACKSTONE Lnet/minecraft/block/BlockSetType;POLISHED_BLACKSTONE:Lnet/minecraft/block/BlockSetType;
    • OAK

      public static final BlockSetType OAK
      Mappings:
      Namespace Name Mixin selector
      official e Ldci;e:Ldci;
      intermediary field_42823 Lnet/minecraft/class_8177;field_42823:Lnet/minecraft/class_8177;
      named OAK Lnet/minecraft/block/BlockSetType;OAK:Lnet/minecraft/block/BlockSetType;
    • SPRUCE

      public static final BlockSetType SPRUCE
      Mappings:
      Namespace Name Mixin selector
      official f Ldci;f:Ldci;
      intermediary field_42824 Lnet/minecraft/class_8177;field_42824:Lnet/minecraft/class_8177;
      named SPRUCE Lnet/minecraft/block/BlockSetType;SPRUCE:Lnet/minecraft/block/BlockSetType;
    • BIRCH

      public static final BlockSetType BIRCH
      Mappings:
      Namespace Name Mixin selector
      official g Ldci;g:Ldci;
      intermediary field_42825 Lnet/minecraft/class_8177;field_42825:Lnet/minecraft/class_8177;
      named BIRCH Lnet/minecraft/block/BlockSetType;BIRCH:Lnet/minecraft/block/BlockSetType;
    • ACACIA

      public static final BlockSetType ACACIA
      Mappings:
      Namespace Name Mixin selector
      official h Ldci;h:Ldci;
      intermediary field_42826 Lnet/minecraft/class_8177;field_42826:Lnet/minecraft/class_8177;
      named ACACIA Lnet/minecraft/block/BlockSetType;ACACIA:Lnet/minecraft/block/BlockSetType;
    • CHERRY

      public static final BlockSetType CHERRY
      Mappings:
      Namespace Name Mixin selector
      official i Ldci;i:Ldci;
      intermediary field_42827 Lnet/minecraft/class_8177;field_42827:Lnet/minecraft/class_8177;
      named CHERRY Lnet/minecraft/block/BlockSetType;CHERRY:Lnet/minecraft/block/BlockSetType;
    • JUNGLE

      public static final BlockSetType JUNGLE
      Mappings:
      Namespace Name Mixin selector
      official j Ldci;j:Ldci;
      intermediary field_42828 Lnet/minecraft/class_8177;field_42828:Lnet/minecraft/class_8177;
      named JUNGLE Lnet/minecraft/block/BlockSetType;JUNGLE:Lnet/minecraft/block/BlockSetType;
    • DARK_OAK

      public static final BlockSetType DARK_OAK
      Mappings:
      Namespace Name Mixin selector
      official k Ldci;k:Ldci;
      intermediary field_42829 Lnet/minecraft/class_8177;field_42829:Lnet/minecraft/class_8177;
      named DARK_OAK Lnet/minecraft/block/BlockSetType;DARK_OAK:Lnet/minecraft/block/BlockSetType;
    • CRIMSON

      public static final BlockSetType CRIMSON
      Mappings:
      Namespace Name Mixin selector
      official l Ldci;l:Ldci;
      intermediary field_42830 Lnet/minecraft/class_8177;field_42830:Lnet/minecraft/class_8177;
      named CRIMSON Lnet/minecraft/block/BlockSetType;CRIMSON:Lnet/minecraft/block/BlockSetType;
    • WARPED

      public static final BlockSetType WARPED
      Mappings:
      Namespace Name Mixin selector
      official m Ldci;m:Ldci;
      intermediary field_42831 Lnet/minecraft/class_8177;field_42831:Lnet/minecraft/class_8177;
      named WARPED Lnet/minecraft/block/BlockSetType;WARPED:Lnet/minecraft/block/BlockSetType;
    • MANGROVE

      public static final BlockSetType MANGROVE
      Mappings:
      Namespace Name Mixin selector
      official n Ldci;n:Ldci;
      intermediary field_42832 Lnet/minecraft/class_8177;field_42832:Lnet/minecraft/class_8177;
      named MANGROVE Lnet/minecraft/block/BlockSetType;MANGROVE:Lnet/minecraft/block/BlockSetType;
    • BAMBOO

      public static final BlockSetType BAMBOO
      Mappings:
      Namespace Name Mixin selector
      official o Ldci;o:Ldci;
      intermediary field_42833 Lnet/minecraft/class_8177;field_42833:Lnet/minecraft/class_8177;
      named BAMBOO Lnet/minecraft/block/BlockSetType;BAMBOO:Lnet/minecraft/block/BlockSetType;
  • Constructor Details

    • BlockSetType

      public BlockSetType(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldci;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8177;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/block/BlockSetType;<init>(Ljava/lang/String;)V
    • BlockSetType

      public BlockSetType(String string, boolean bool, BlockSoundGroup blockSoundGroup, SoundEvent soundEvent, SoundEvent soundEvent2, SoundEvent soundEvent3, SoundEvent soundEvent4, SoundEvent soundEvent5, SoundEvent soundEvent6, SoundEvent soundEvent7, SoundEvent soundEvent8)
  • Method Details

    • register

      private static BlockSetType register(BlockSetType blockSetType)
      Mappings:
      Namespace Name Mixin selector
      official a Ldci;a(Ldci;)Ldci;
      intermediary method_49233 Lnet/minecraft/class_8177;method_49233(Lnet/minecraft/class_8177;)Lnet/minecraft/class_8177;
      named register Lnet/minecraft/block/BlockSetType;register(Lnet/minecraft/block/BlockSetType;)Lnet/minecraft/block/BlockSetType;
    • stream

      public static Stream<BlockSetType> stream()
      Mappings:
      Namespace Name Mixin selector
      official a Ldci;a()Ljava/util/stream/Stream;
      intermediary method_49232 Lnet/minecraft/class_8177;method_49232()Ljava/util/stream/Stream;
      named stream Lnet/minecraft/block/BlockSetType;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. 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 String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • canOpenByHand

      public boolean canOpenByHand()
      Returns the value of the canOpenByHand record component.
      Returns:
      the value of the canOpenByHand record component
    • soundType

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

      public SoundEvent doorClose()
      Returns the value of the doorClose record component.
      Returns:
      the value of the doorClose record component
    • doorOpen

      public SoundEvent doorOpen()
      Returns the value of the doorOpen record component.
      Returns:
      the value of the doorOpen record component
    • trapdoorClose

      public SoundEvent trapdoorClose()
      Returns the value of the trapdoorClose record component.
      Returns:
      the value of the trapdoorClose record component
    • trapdoorOpen

      public SoundEvent trapdoorOpen()
      Returns the value of the trapdoorOpen record component.
      Returns:
      the value of the trapdoorOpen record component
    • pressurePlateClickOff

      public SoundEvent pressurePlateClickOff()
      Returns the value of the pressurePlateClickOff record component.
      Returns:
      the value of the pressurePlateClickOff record component
    • pressurePlateClickOn

      public SoundEvent pressurePlateClickOn()
      Returns the value of the pressurePlateClickOn record component.
      Returns:
      the value of the pressurePlateClickOn record component
    • buttonClickOff

      public SoundEvent buttonClickOff()
      Returns the value of the buttonClickOff record component.
      Returns:
      the value of the buttonClickOff record component
    • buttonClickOn

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