Package net.minecraft.block
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
--
-
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 dta
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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BlockSetType
static final BlockSetType
static final BlockSetType
private final SoundEvent
The field for thebuttonClickOff
record component.private final SoundEvent
The field for thebuttonClickOn
record component.private final boolean
The field for thecanButtonBeActivatedByArrows
record component.private final boolean
The field for thecanOpenByHand
record component.private final boolean
The field for thecanOpenByWindCharge
record component.static final BlockSetType
static final com.mojang.serialization.Codec
<BlockSetType> static final BlockSetType
static final BlockSetType
static final BlockSetType
private final SoundEvent
The field for thedoorClose
record component.private final SoundEvent
The field for thedoorOpen
record component.static final BlockSetType
static final BlockSetType
static final BlockSetType
static final BlockSetType
private final String
The field for thename
record component.static final BlockSetType
static final BlockSetType
private final SoundEvent
The field for thepressurePlateClickOff
record component.private final SoundEvent
The field for thepressurePlateClickOn
record component.private final BlockSetType.ActivationRule
The field for thepressurePlateSensitivity
record component.private final BlockSoundGroup
The field for thesoundType
record component.static final BlockSetType
static final BlockSetType
private final SoundEvent
The field for thetrapdoorClose
record component.private final SoundEvent
The field for thetrapdoorOpen
record component.private static final Map
<String, BlockSetType> static final BlockSetType
-
Constructor Summary
ConstructorDescriptionBlockSetType
(String name) BlockSetType
(String string, boolean bool, boolean bool2, boolean bool3, BlockSetType.ActivationRule activationRule, BlockSoundGroup blockSoundGroup, SoundEvent soundEvent, SoundEvent soundEvent2, SoundEvent soundEvent3, SoundEvent soundEvent4, SoundEvent soundEvent5, SoundEvent soundEvent6, SoundEvent soundEvent7, SoundEvent soundEvent8) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuttonClickOff
record component.Returns the value of thebuttonClickOn
record component.boolean
Returns the value of thecanButtonBeActivatedByArrows
record component.boolean
Returns the value of thecanOpenByHand
record component.boolean
Returns the value of thecanOpenByWindCharge
record component.Returns the value of thedoorClose
record component.doorOpen()
Returns the value of thedoorOpen
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.Returns the value of thepressurePlateClickOff
record component.Returns the value of thepressurePlateClickOn
record component.Returns the value of thepressurePlateSensitivity
record component.private static BlockSetType
register
(BlockSetType blockSetType) Returns the value of thesoundType
record component.static Stream
<BlockSetType> stream()
final String
toString()
Returns a string representation of this record class.Returns the value of thetrapdoorClose
record component.Returns the value of thetrapdoorOpen
record component.
-
Field Details
-
name
The field for thename
record component. -
canOpenByHand
private final boolean canOpenByHandThe field for thecanOpenByHand
record component. -
canOpenByWindCharge
private final boolean canOpenByWindChargeThe field for thecanOpenByWindCharge
record component. -
canButtonBeActivatedByArrows
private final boolean canButtonBeActivatedByArrowsThe field for thecanButtonBeActivatedByArrows
record component. -
pressurePlateSensitivity
The field for thepressurePlateSensitivity
record component. -
soundType
The field for thesoundType
record component. -
doorClose
The field for thedoorClose
record component. -
doorOpen
The field for thedoorOpen
record component. -
trapdoorClose
The field for thetrapdoorClose
record component. -
trapdoorOpen
The field for thetrapdoorOpen
record component. -
pressurePlateClickOff
The field for thepressurePlateClickOff
record component. -
pressurePlateClickOn
The field for thepressurePlateClickOn
record component. -
buttonClickOff
The field for thebuttonClickOff
record component. -
buttonClickOn
The field for thebuttonClickOn
record component. -
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
Ldta;F:Ljava/util/Map;
-
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
Ldta;a:Lcom/mojang/serialization/Codec;
-
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
Ldta;b:Ldta;
-
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
Ldta;c:Ldta;
-
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
Ldta;d:Ldta;
-
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
Ldta;e:Ldta;
-
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
Ldta;f:Ldta;
-
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
Ldta;g:Ldta;
-
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
Ldta;h:Ldta;
-
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
Ldta;i:Ldta;
-
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
Ldta;j:Ldta;
-
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
Ldta;k:Ldta;
-
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
Ldta;l:Ldta;
-
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
Ldta;m:Ldta;
-
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
Ldta;n:Ldta;
-
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
Ldta;o:Ldta;
-
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
Ldta;p:Ldta;
-
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
Ldta;q:Ldta;
-
-
Constructor Details
-
BlockSetType
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/BlockSetType;<init>(Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_8177;<init>(Ljava/lang/String;)V
official <init>
Ldta;<init>(Ljava/lang/String;)V
-
BlockSetType
public BlockSetType(String string, boolean bool, boolean bool2, boolean bool3, BlockSetType.ActivationRule activationRule, BlockSoundGroup blockSoundGroup, SoundEvent soundEvent, SoundEvent soundEvent2, SoundEvent soundEvent3, SoundEvent soundEvent4, SoundEvent soundEvent5, SoundEvent soundEvent6, SoundEvent soundEvent7, SoundEvent soundEvent8)
-
-
Method Details
-
register
- 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
Ldta;a(Ldta;)Ldta;
-
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
Ldta;a()Ljava/util/stream/Stream;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
canOpenByHand
public boolean canOpenByHand()Returns the value of thecanOpenByHand
record component.- Returns:
- the value of the
canOpenByHand
record component
-
canOpenByWindCharge
public boolean canOpenByWindCharge()Returns the value of thecanOpenByWindCharge
record component.- Returns:
- the value of the
canOpenByWindCharge
record component
-
canButtonBeActivatedByArrows
public boolean canButtonBeActivatedByArrows()Returns the value of thecanButtonBeActivatedByArrows
record component.- Returns:
- the value of the
canButtonBeActivatedByArrows
record component
-
pressurePlateSensitivity
Returns the value of thepressurePlateSensitivity
record component.- Returns:
- the value of the
pressurePlateSensitivity
record component
-
soundType
Returns the value of thesoundType
record component.- Returns:
- the value of the
soundType
record component
-
doorClose
Returns the value of thedoorClose
record component.- Returns:
- the value of the
doorClose
record component
-
doorOpen
Returns the value of thedoorOpen
record component.- Returns:
- the value of the
doorOpen
record component
-
trapdoorClose
Returns the value of thetrapdoorClose
record component.- Returns:
- the value of the
trapdoorClose
record component
-
trapdoorOpen
Returns the value of thetrapdoorOpen
record component.- Returns:
- the value of the
trapdoorOpen
record component
-
pressurePlateClickOff
Returns the value of thepressurePlateClickOff
record component.- Returns:
- the value of the
pressurePlateClickOff
record component
-
pressurePlateClickOn
Returns the value of thepressurePlateClickOn
record component.- Returns:
- the value of the
pressurePlateClickOn
record component
-
buttonClickOff
Returns the value of thebuttonClickOff
record component.- Returns:
- the value of the
buttonClickOff
record component
-
buttonClickOn
Returns the value of thebuttonClickOn
record component.- Returns:
- the value of the
buttonClickOn
record component
-