Package net.minecraft.util
Record Class SignType
java.lang.Object
java.lang.Record
net.minecraft.util.SignType
- Record Components:
name-setType-soundType-hangingSignSoundType-fenceGateClose-fenceGateOpen-
public record SignType(String name, class_8177 setType, BlockSoundGroup soundType, BlockSoundGroup hangingSignSoundType, SoundEvent fenceGateClose, SoundEvent fenceGateOpen)
extends Record
- Mappings:
Namespace Name official ddbintermediary net/minecraft/class_4719named net/minecraft/util/SignTypeofficial lintermediary comp_1299named nameofficial mintermediary comp_1300named setTypeofficial nintermediary comp_1301named soundTypeofficial ointermediary comp_1302named hangingSignSoundTypeofficial pintermediary comp_1303named fenceGateCloseofficial qintermediary comp_1304named fenceGateOpen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SignTypestatic final SignTypestatic final SignTypestatic final SignTypestatic final SignTypeprivate final SoundEventThe field for thefenceGateCloserecord component.private final SoundEventThe field for thefenceGateOpenrecord component.static final SignTypeprivate final BlockSoundGroupThe field for thehangingSignSoundTyperecord component.static final SignTypestatic final SignTypeprivate final StringThe field for thenamerecord component.static final SignTypeprivate final class_8177The field for thesetTyperecord component.private final BlockSoundGroupThe field for thesoundTyperecord component.static final SignTypestatic final SignType -
Constructor Summary
ConstructorsConstructorDescriptionSignType(String string, class_8177 class_8177) SignType(String string, class_8177 class_8177, BlockSoundGroup blockSoundGroup, BlockSoundGroup blockSoundGroup2, SoundEvent soundEvent, SoundEvent soundEvent2) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefenceGateCloserecord component.Returns the value of thefenceGateOpenrecord component.Returns the value of thehangingSignSoundTyperecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.private static SignTypesetType()Returns the value of thesetTyperecord component.Returns the value of thesoundTyperecord component.stream()final StringtoString()Returns a string representation of this record class.
-
Field Details
-
name
The field for thenamerecord component. -
setType
The field for thesetTyperecord component. -
soundType
The field for thesoundTyperecord component. -
hangingSignSoundType
The field for thehangingSignSoundTyperecord component. -
fenceGateClose
The field for thefenceGateCloserecord component. -
fenceGateOpen
The field for thefenceGateOpenrecord component. -
VALUES
- Mappings:
Namespace Name Mixin selector official rLddb;r:Ljava/util/Set;intermediary field_21682Lnet/minecraft/class_4719;field_21682:Ljava/util/Set;named VALUESLnet/minecraft/util/SignType;VALUES:Ljava/util/Set;
-
OAK
- Mappings:
Namespace Name Mixin selector official aLddb;a:Lddb;intermediary field_21676Lnet/minecraft/class_4719;field_21676:Lnet/minecraft/class_4719;named OAKLnet/minecraft/util/SignType;OAK:Lnet/minecraft/util/SignType;
-
SPRUCE
- Mappings:
Namespace Name Mixin selector official bLddb;b:Lddb;intermediary field_21677Lnet/minecraft/class_4719;field_21677:Lnet/minecraft/class_4719;named SPRUCELnet/minecraft/util/SignType;SPRUCE:Lnet/minecraft/util/SignType;
-
BIRCH
- Mappings:
Namespace Name Mixin selector official cLddb;c:Lddb;intermediary field_21678Lnet/minecraft/class_4719;field_21678:Lnet/minecraft/class_4719;named BIRCHLnet/minecraft/util/SignType;BIRCH:Lnet/minecraft/util/SignType;
-
ACACIA
- Mappings:
Namespace Name Mixin selector official dLddb;d:Lddb;intermediary field_21679Lnet/minecraft/class_4719;field_21679:Lnet/minecraft/class_4719;named ACACIALnet/minecraft/util/SignType;ACACIA:Lnet/minecraft/util/SignType;
-
field_42837
- Mappings:
Namespace Name Mixin selector official eLddb;e:Lddb;intermediary field_42837Lnet/minecraft/class_4719;field_42837:Lnet/minecraft/class_4719;named field_42837Lnet/minecraft/util/SignType;field_42837:Lnet/minecraft/util/SignType;
-
JUNGLE
- Mappings:
Namespace Name Mixin selector official fLddb;f:Lddb;intermediary field_21680Lnet/minecraft/class_4719;field_21680:Lnet/minecraft/class_4719;named JUNGLELnet/minecraft/util/SignType;JUNGLE:Lnet/minecraft/util/SignType;
-
DARK_OAK
- Mappings:
Namespace Name Mixin selector official gLddb;g:Lddb;intermediary field_21681Lnet/minecraft/class_4719;field_21681:Lnet/minecraft/class_4719;named DARK_OAKLnet/minecraft/util/SignType;DARK_OAK:Lnet/minecraft/util/SignType;
-
CRIMSON
- Mappings:
Namespace Name Mixin selector official hLddb;h:Lddb;intermediary field_22183Lnet/minecraft/class_4719;field_22183:Lnet/minecraft/class_4719;named CRIMSONLnet/minecraft/util/SignType;CRIMSON:Lnet/minecraft/util/SignType;
-
WARPED
- Mappings:
Namespace Name Mixin selector official iLddb;i:Lddb;intermediary field_22184Lnet/minecraft/class_4719;field_22184:Lnet/minecraft/class_4719;named WARPEDLnet/minecraft/util/SignType;WARPED:Lnet/minecraft/util/SignType;
-
MANGROVE
- Mappings:
Namespace Name Mixin selector official jLddb;j:Lddb;intermediary field_37657Lnet/minecraft/class_4719;field_37657:Lnet/minecraft/class_4719;named MANGROVELnet/minecraft/util/SignType;MANGROVE:Lnet/minecraft/util/SignType;
-
BAMBOO
- Mappings:
Namespace Name Mixin selector official kLddb;k:Lddb;intermediary field_40350Lnet/minecraft/class_4719;field_40350:Lnet/minecraft/class_4719;named BAMBOOLnet/minecraft/util/SignType;BAMBOO:Lnet/minecraft/util/SignType;
-
-
Constructor Details
-
SignType
-
SignType
public SignType(String string, class_8177 class_8177, BlockSoundGroup blockSoundGroup, BlockSoundGroup blockSoundGroup2, SoundEvent soundEvent, SoundEvent soundEvent2)
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official aLddb;a(Lddb;)Lddb;intermediary method_24027Lnet/minecraft/class_4719;method_24027(Lnet/minecraft/class_4719;)Lnet/minecraft/class_4719;named registerLnet/minecraft/util/SignType;register(Lnet/minecraft/util/SignType;)Lnet/minecraft/util/SignType;
-
stream
- Mappings:
Namespace Name Mixin selector official aLddb;a()Ljava/util/stream/Stream;intermediary method_24026Lnet/minecraft/class_4719;method_24026()Ljava/util/stream/Stream;named streamLnet/minecraft/util/SignType;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 thenamerecord component.- Returns:
- the value of the
namerecord component
-
setType
Returns the value of thesetTyperecord component.- Returns:
- the value of the
setTyperecord component
-
soundType
Returns the value of thesoundTyperecord component.- Returns:
- the value of the
soundTyperecord component
-
hangingSignSoundType
Returns the value of thehangingSignSoundTyperecord component.- Returns:
- the value of the
hangingSignSoundTyperecord component
-
fenceGateClose
Returns the value of thefenceGateCloserecord component.- Returns:
- the value of the
fenceGateCloserecord component
-
fenceGateOpen
Returns the value of thefenceGateOpenrecord component.- Returns:
- the value of the
fenceGateOpenrecord component
-