Record Class BlockSetType

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

public record BlockSetType(String name, boolean canOpenByHand, boolean canOpenByWindCharge, boolean canButtonBeActivatedByArrows, BlockSetType.ActivationRule pressurePlateSensitivity, BlockSoundGroup soundType, SoundEvent doorClose, SoundEvent doorOpen, SoundEvent trapdoorClose, SoundEvent trapdoorOpen, SoundEvent pressurePlateClickOff, SoundEvent pressurePlateClickOn, SoundEvent buttonClickOff, SoundEvent buttonClickOn) extends Record
Mappings:
Namespace Name
named net/minecraft/block/BlockSetType
intermediary net/minecraft/class_8177
official dss
named name
intermediary comp_1289
official r
named canOpenByHand
intermediary comp_1471
official s
named canOpenByWindCharge
intermediary comp_2112
official t
named canButtonBeActivatedByArrows
intermediary comp_1972
official u
named pressurePlateSensitivity
intermediary comp_1973
official v
named soundType
intermediary comp_1290
official w
named doorClose
intermediary comp_1291
official x
named doorOpen
intermediary comp_1292
official y
named trapdoorClose
intermediary comp_1293
official z
named trapdoorOpen
intermediary comp_1294
official A
named pressurePlateClickOff
intermediary comp_1295
official B
named pressurePlateClickOn
intermediary comp_1296
official C
named buttonClickOff
intermediary comp_1297
official D
named buttonClickOn
intermediary comp_1298
official E
  • 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.
    • canOpenByWindCharge

      private final boolean canOpenByWindCharge
      The field for the canOpenByWindCharge record component.
    • canButtonBeActivatedByArrows

      private final boolean canButtonBeActivatedByArrows
      The field for the canButtonBeActivatedByArrows record component.
    • pressurePlateSensitivity

      private final BlockSetType.ActivationRule pressurePlateSensitivity
      The field for the pressurePlateSensitivity 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 Map<String,BlockSetType> VALUES
      Mappings:
      Namespace Name Mixin selector
      named VALUES Lnet/minecraft/block/BlockSetType;VALUES:Ljava/util/Map;
      intermediary field_46533 Lnet/minecraft/class_8177;field_46533:Ljava/util/Map;
      official F Ldss;F:Ljava/util/Map;
    • CODEC

      public static final com.mojang.serialization.Codec<BlockSetType> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/BlockSetType;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_46534 Lnet/minecraft/class_8177;field_46534:Lcom/mojang/serialization/Codec;
      official a Ldss;a:Lcom/mojang/serialization/Codec;
    • IRON

      public static final BlockSetType IRON
      Mappings:
      Namespace Name Mixin selector
      named IRON Lnet/minecraft/block/BlockSetType;IRON:Lnet/minecraft/block/BlockSetType;
      intermediary field_42819 Lnet/minecraft/class_8177;field_42819:Lnet/minecraft/class_8177;
      official b Ldss;b:Ldss;
    • COPPER

      public static final BlockSetType COPPER
      Mappings:
      Namespace Name Mixin selector
      named COPPER Lnet/minecraft/block/BlockSetType;COPPER:Lnet/minecraft/block/BlockSetType;
      intermediary field_47100 Lnet/minecraft/class_8177;field_47100:Lnet/minecraft/class_8177;
      official c Ldss;c:Ldss;
    • GOLD

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • Method Details

    • register

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

      public static Stream<BlockSetType> stream()
      Mappings:
      Namespace Name Mixin selector
      named stream Lnet/minecraft/block/BlockSetType;stream()Ljava/util/stream/Stream;
      intermediary method_49232 Lnet/minecraft/class_8177;method_49232()Ljava/util/stream/Stream;
      official a Ldss;a()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
    • canOpenByWindCharge

      public boolean canOpenByWindCharge()
      Returns the value of the canOpenByWindCharge record component.
      Returns:
      the value of the canOpenByWindCharge record component
    • canButtonBeActivatedByArrows

      public boolean canButtonBeActivatedByArrows()
      Returns the value of the canButtonBeActivatedByArrows record component.
      Returns:
      the value of the canButtonBeActivatedByArrows record component
    • pressurePlateSensitivity

      public BlockSetType.ActivationRule pressurePlateSensitivity()
      Returns the value of the pressurePlateSensitivity record component.
      Returns:
      the value of the pressurePlateSensitivity 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