Package net.minecraft
Record Class class_10967.class_10969
java.lang.Object
java.lang.Record
net.minecraft.class_10967.class_10969
- Record Components:
type-generator-effects-mine-spawn-
- Enclosing class:
class_10967
private static record class_10967.class_10969(RegistryKey<DimensionType> type, Optional<ChunkGenerator> generator, List<class_11109> effects, Optional<class_11105> mine, class_11102 spawn)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10967$class_10969intermediary net/minecraft/class_10967$class_10969official asf$bnamed typeintermediary comp_3905official bnamed generatorintermediary comp_3906official cnamed effectsintermediary comp_3907official dnamed mineintermediary comp_3908official enamed spawnintermediary comp_3909official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_11109> The field for theeffectsrecord component.static final com.mojang.serialization.Codec<class_10967.class_10969> private final Optional<ChunkGenerator> The field for thegeneratorrecord component.private final Optional<class_11105> The field for theminerecord component.private final class_11102The field for thespawnrecord component.private final RegistryKey<DimensionType> The field for thetyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10969(RegistryKey<DimensionType> registryKey, Optional<ChunkGenerator> optional, List<class_11109> list, Optional<class_11105> optional2, class_11102 class_11102) -
Method Summary
Modifier and TypeMethodDescriptioneffects()Returns the value of theeffectsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegeneratorrecord component.final inthashCode()Returns a hash code value for this object.mine()Returns the value of theminerecord component.spawn()Returns the value of thespawnrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
type
The field for thetyperecord component. -
generator
The field for thegeneratorrecord component. -
effects
The field for theeffectsrecord component. -
mine
The field for theminerecord component. -
spawn
The field for thespawnrecord component. -
field_58287
- Mappings:
Namespace Name Mixin selector named field_58287Lnet/minecraft/class_10967$class_10969;field_58287:Lcom/mojang/serialization/Codec;intermediary field_58287Lnet/minecraft/class_10967$class_10969;field_58287:Lcom/mojang/serialization/Codec;official aLasf$b;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_10969
class_10969(RegistryKey<DimensionType> registryKey, Optional<ChunkGenerator> optional, List<class_11109> list, Optional<class_11105> optional2, class_11102 class_11102)
-
-
Method Details
-
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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
generator
Returns the value of thegeneratorrecord component.- Returns:
- the value of the
generatorrecord component
-
effects
Returns the value of theeffectsrecord component.- Returns:
- the value of the
effectsrecord component
-
mine
Returns the value of theminerecord component.- Returns:
- the value of the
minerecord component
-
spawn
Returns the value of thespawnrecord component.- Returns:
- the value of the
spawnrecord component
-