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 - dcq- 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 SummaryFieldsModifier and TypeFieldDescriptionstatic final BlockSetTypestatic final BlockSetTypestatic final BlockSetTypeprivate final SoundEventThe field for thebuttonClickOffrecord component.private final SoundEventThe field for thebuttonClickOnrecord component.private final booleanThe field for thecanOpenByHandrecord component.static final BlockSetTypestatic final BlockSetTypestatic final BlockSetTypeprivate final SoundEventThe field for thedoorCloserecord component.private final SoundEventThe field for thedoorOpenrecord component.static final BlockSetTypestatic final BlockSetTypestatic final BlockSetTypestatic final BlockSetTypeprivate final StringThe field for thenamerecord component.static final BlockSetTypestatic final BlockSetTypeprivate final SoundEventThe field for thepressurePlateClickOffrecord component.private final SoundEventThe field for thepressurePlateClickOnrecord component.private final BlockSoundGroupThe field for thesoundTyperecord component.static final BlockSetTypestatic final BlockSetTypeprivate final SoundEventThe field for thetrapdoorCloserecord component.private final SoundEventThe field for thetrapdoorOpenrecord component.private static final Set<BlockSetType>static final BlockSetType
- 
Constructor SummaryConstructorsConstructorDescriptionBlockSetType(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 SummaryModifier and TypeMethodDescriptionReturns the value of thebuttonClickOffrecord component.Returns the value of thebuttonClickOnrecord component.booleanReturns the value of thecanOpenByHandrecord component.Returns the value of thedoorCloserecord component.doorOpen()Returns the value of thedoorOpenrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thepressurePlateClickOffrecord component.Returns the value of thepressurePlateClickOnrecord component.private static BlockSetTyperegister(BlockSetType blockSetType) Returns the value of thesoundTyperecord component.static Stream<BlockSetType>stream()final StringtoString()Returns a string representation of this record class.Returns the value of thetrapdoorCloserecord component.Returns the value of thetrapdoorOpenrecord component.
- 
Field Details- 
nameThe field for thenamerecord component.
- 
canOpenByHandprivate final boolean canOpenByHandThe field for thecanOpenByHandrecord component.
- 
soundTypeThe field for thesoundTyperecord component.
- 
doorCloseThe field for thedoorCloserecord component.
- 
doorOpenThe field for thedoorOpenrecord component.
- 
trapdoorCloseThe field for thetrapdoorCloserecord component.
- 
trapdoorOpenThe field for thetrapdoorOpenrecord component.
- 
pressurePlateClickOffThe field for thepressurePlateClickOffrecord component.
- 
pressurePlateClickOnThe field for thepressurePlateClickOnrecord component.
- 
buttonClickOffThe field for thebuttonClickOffrecord component.
- 
buttonClickOnThe field for thebuttonClickOnrecord component.
- 
VALUES- Mappings:
- Namespace - Name - Mixin selector - official - A- Ldcq;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- Ldcq;a:Ldcq;- 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- Ldcq;b:Ldcq;- 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- Ldcq;c:Ldcq;- 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- Ldcq;d:Ldcq;- 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- Ldcq;e:Ldcq;- 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- Ldcq;f:Ldcq;- 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- Ldcq;g:Ldcq;- 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- Ldcq;h:Ldcq;- 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- Ldcq;i:Ldcq;- 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- Ldcq;j:Ldcq;- 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- Ldcq;k:Ldcq;- 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- Ldcq;l:Ldcq;- 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- Ldcq;m:Ldcq;- 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- Ldcq;n:Ldcq;- 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- Ldcq;o:Ldcq;- 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>- Ldcq;<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
 
- 
BlockSetTypepublic 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- Ldcq;a(Ldcq;)Ldcq;- 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- Ldcq;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;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
nameReturns the value of thenamerecord component.- Returns:
- the value of the namerecord component
 
- 
canOpenByHandpublic boolean canOpenByHand()Returns the value of thecanOpenByHandrecord component.- Returns:
- the value of the canOpenByHandrecord component
 
- 
soundTypeReturns the value of thesoundTyperecord component.- Returns:
- the value of the soundTyperecord component
 
- 
doorCloseReturns the value of thedoorCloserecord component.- Returns:
- the value of the doorCloserecord component
 
- 
doorOpenReturns the value of thedoorOpenrecord component.- Returns:
- the value of the doorOpenrecord component
 
- 
trapdoorCloseReturns the value of thetrapdoorCloserecord component.- Returns:
- the value of the trapdoorCloserecord component
 
- 
trapdoorOpenReturns the value of thetrapdoorOpenrecord component.- Returns:
- the value of the trapdoorOpenrecord component
 
- 
pressurePlateClickOffReturns the value of thepressurePlateClickOffrecord component.- Returns:
- the value of the pressurePlateClickOffrecord component
 
- 
pressurePlateClickOnReturns the value of thepressurePlateClickOnrecord component.- Returns:
- the value of the pressurePlateClickOnrecord component
 
- 
buttonClickOffReturns the value of thebuttonClickOffrecord component.- Returns:
- the value of the buttonClickOffrecord component
 
- 
buttonClickOnReturns the value of thebuttonClickOnrecord component.- Returns:
- the value of the buttonClickOnrecord component
 
 
-