Package net.minecraft.block
Record Class BlockSetType
java.lang.Object
java.lang.Record
net.minecraft.block.BlockSetType
- Record Components:
name
-canOpenByHand
-soundType
-doorClose
-doorOpen
-trapdoorClose
-trapdoorOpen
-pressurePlateClickOff
-pressurePlateClickOn
--
-
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 dcn
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 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 thecanOpenByHand
record component.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 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 Set<BlockSetType>
static final BlockSetType
-
Constructor Summary
ConstructorDescriptionBlockSetType
(String name) BlockSetType
(String string, boolean bool, 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 thecanOpenByHand
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.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. -
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 official A
Ldcn;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
- Mappings:
Namespace Name Mixin selector official a
Ldcn;a:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official b
Ldcn;b:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official c
Ldcn;c:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official d
Ldcn;d:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official e
Ldcn;e:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official f
Ldcn;f:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official g
Ldcn;g:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official h
Ldcn;h:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official i
Ldcn;i:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official j
Ldcn;j:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official k
Ldcn;k:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official l
Ldcn;l:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official m
Ldcn;m:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official n
Ldcn;n:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official o
Ldcn;o:Ldcn;
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
- Mappings:
Namespace Name Mixin selector official <init>
Ldcn;<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
- Mappings:
Namespace Name Mixin selector official a
Ldcn;a(Ldcn;)Ldcn;
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
- Mappings:
Namespace Name Mixin selector official a
Ldcn;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
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
-
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
-