Package net.minecraft.block
Record Class WoodType
java.lang.Object
java.lang.Record
net.minecraft.block.WoodType
- Record Components:
name
-setType
-soundType
-hangingSignSoundType
-fenceGateClose
-fenceGateOpen
-
public record WoodType(String name, BlockSetType setType, BlockSoundGroup soundType, BlockSoundGroup hangingSignSoundType, SoundEvent fenceGateClose, SoundEvent fenceGateOpen)
extends Record
- Mappings:
Namespace Name official dku
intermediary net/minecraft/class_4719
named net/minecraft/block/WoodType
official m
intermediary comp_1299
named name
official n
intermediary comp_1300
named setType
official o
intermediary comp_1301
named soundType
official p
intermediary comp_1302
named hangingSignSoundType
official q
intermediary comp_1303
named fenceGateClose
official r
intermediary comp_1304
named fenceGateOpen
-
Field Summary
Modifier and TypeFieldDescriptionstatic final WoodType
static final WoodType
static final WoodType
static final WoodType
static final com.mojang.serialization.Codec<WoodType>
static final WoodType
static final WoodType
private final SoundEvent
The field for thefenceGateClose
record component.private final SoundEvent
The field for thefenceGateOpen
record component.private final BlockSoundGroup
The field for thehangingSignSoundType
record component.static final WoodType
static final WoodType
private final String
The field for thename
record component.static final WoodType
private final BlockSetType
The field for thesetType
record component.private final BlockSoundGroup
The field for thesoundType
record component.static final WoodType
static final WoodType
-
Constructor Summary
ConstructorDescriptionWoodType
(String name, BlockSetType setType) WoodType
(String string, BlockSetType blockSetType, BlockSoundGroup blockSoundGroup, BlockSoundGroup blockSoundGroup2, SoundEvent soundEvent, SoundEvent soundEvent2) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefenceGateClose
record component.Returns the value of thefenceGateOpen
record component.Returns the value of thehangingSignSoundType
record component.final int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.private static WoodType
setType()
Returns the value of thesetType
record component.Returns the value of thesoundType
record component.stream()
final String
toString()
Returns a string representation of this record class.
-
Field Details
-
name
The field for thename
record component. -
setType
The field for thesetType
record component. -
soundType
The field for thesoundType
record component. -
hangingSignSoundType
The field for thehangingSignSoundType
record component. -
fenceGateClose
The field for thefenceGateClose
record component. -
fenceGateOpen
The field for thefenceGateOpen
record component. -
VALUES
- Mappings:
Namespace Name Mixin selector official s
Ldku;s:Ljava/util/Map;
intermediary field_46536
Lnet/minecraft/class_4719;field_46536:Ljava/util/Map;
named VALUES
Lnet/minecraft/block/WoodType;VALUES:Ljava/util/Map;
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldku;a:Lcom/mojang/serialization/Codec;
intermediary field_46535
Lnet/minecraft/class_4719;field_46535:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/block/WoodType;CODEC:Lcom/mojang/serialization/Codec;
-
OAK
- Mappings:
Namespace Name Mixin selector official b
Ldku;b:Ldku;
intermediary field_21676
Lnet/minecraft/class_4719;field_21676:Lnet/minecraft/class_4719;
named OAK
Lnet/minecraft/block/WoodType;OAK:Lnet/minecraft/block/WoodType;
-
SPRUCE
- Mappings:
Namespace Name Mixin selector official c
Ldku;c:Ldku;
intermediary field_21677
Lnet/minecraft/class_4719;field_21677:Lnet/minecraft/class_4719;
named SPRUCE
Lnet/minecraft/block/WoodType;SPRUCE:Lnet/minecraft/block/WoodType;
-
BIRCH
- Mappings:
Namespace Name Mixin selector official d
Ldku;d:Ldku;
intermediary field_21678
Lnet/minecraft/class_4719;field_21678:Lnet/minecraft/class_4719;
named BIRCH
Lnet/minecraft/block/WoodType;BIRCH:Lnet/minecraft/block/WoodType;
-
ACACIA
- Mappings:
Namespace Name Mixin selector official e
Ldku;e:Ldku;
intermediary field_21679
Lnet/minecraft/class_4719;field_21679:Lnet/minecraft/class_4719;
named ACACIA
Lnet/minecraft/block/WoodType;ACACIA:Lnet/minecraft/block/WoodType;
-
CHERRY
- Mappings:
Namespace Name Mixin selector official f
Ldku;f:Ldku;
intermediary field_42837
Lnet/minecraft/class_4719;field_42837:Lnet/minecraft/class_4719;
named CHERRY
Lnet/minecraft/block/WoodType;CHERRY:Lnet/minecraft/block/WoodType;
-
JUNGLE
- Mappings:
Namespace Name Mixin selector official g
Ldku;g:Ldku;
intermediary field_21680
Lnet/minecraft/class_4719;field_21680:Lnet/minecraft/class_4719;
named JUNGLE
Lnet/minecraft/block/WoodType;JUNGLE:Lnet/minecraft/block/WoodType;
-
DARK_OAK
- Mappings:
Namespace Name Mixin selector official h
Ldku;h:Ldku;
intermediary field_21681
Lnet/minecraft/class_4719;field_21681:Lnet/minecraft/class_4719;
named DARK_OAK
Lnet/minecraft/block/WoodType;DARK_OAK:Lnet/minecraft/block/WoodType;
-
CRIMSON
- Mappings:
Namespace Name Mixin selector official i
Ldku;i:Ldku;
intermediary field_22183
Lnet/minecraft/class_4719;field_22183:Lnet/minecraft/class_4719;
named CRIMSON
Lnet/minecraft/block/WoodType;CRIMSON:Lnet/minecraft/block/WoodType;
-
WARPED
- Mappings:
Namespace Name Mixin selector official j
Ldku;j:Ldku;
intermediary field_22184
Lnet/minecraft/class_4719;field_22184:Lnet/minecraft/class_4719;
named WARPED
Lnet/minecraft/block/WoodType;WARPED:Lnet/minecraft/block/WoodType;
-
MANGROVE
- Mappings:
Namespace Name Mixin selector official k
Ldku;k:Ldku;
intermediary field_37657
Lnet/minecraft/class_4719;field_37657:Lnet/minecraft/class_4719;
named MANGROVE
Lnet/minecraft/block/WoodType;MANGROVE:Lnet/minecraft/block/WoodType;
-
BAMBOO
- Mappings:
Namespace Name Mixin selector official l
Ldku;l:Ldku;
intermediary field_40350
Lnet/minecraft/class_4719;field_40350:Lnet/minecraft/class_4719;
named BAMBOO
Lnet/minecraft/block/WoodType;BAMBOO:Lnet/minecraft/block/WoodType;
-
-
Constructor Details
-
WoodType
- Mappings:
Namespace Name Mixin selector official <init>
Ldku;<init>(Ljava/lang/String;Ldjw;)V
intermediary <init>
Lnet/minecraft/class_4719;<init>(Ljava/lang/String;Lnet/minecraft/class_8177;)V
named <init>
Lnet/minecraft/block/WoodType;<init>(Ljava/lang/String;Lnet/minecraft/block/BlockSetType;)V
-
WoodType
public WoodType(String string, BlockSetType blockSetType, BlockSoundGroup blockSoundGroup, BlockSoundGroup blockSoundGroup2, SoundEvent soundEvent, SoundEvent soundEvent2)
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Ldku;a(Ldku;)Ldku;
intermediary method_24027
Lnet/minecraft/class_4719;method_24027(Lnet/minecraft/class_4719;)Lnet/minecraft/class_4719;
named register
Lnet/minecraft/block/WoodType;register(Lnet/minecraft/block/WoodType;)Lnet/minecraft/block/WoodType;
-
stream
- Mappings:
Namespace Name Mixin selector official a
Ldku;a()Ljava/util/stream/Stream;
intermediary method_24026
Lnet/minecraft/class_4719;method_24026()Ljava/util/stream/Stream;
named stream
Lnet/minecraft/block/WoodType;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. All components in this record class are compared withObjects::equals(Object,Object)
. -
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
setType
Returns the value of thesetType
record component.- Returns:
- the value of the
setType
record component
-
soundType
Returns the value of thesoundType
record component.- Returns:
- the value of the
soundType
record component
-
hangingSignSoundType
Returns the value of thehangingSignSoundType
record component.- Returns:
- the value of the
hangingSignSoundType
record component
-
fenceGateClose
Returns the value of thefenceGateClose
record component.- Returns:
- the value of the
fenceGateClose
record component
-
fenceGateOpen
Returns the value of thefenceGateOpen
record component.- Returns:
- the value of the
fenceGateOpen
record component
-