Package net.minecraft
Record Class class_9312
java.lang.Object
java.lang.Record
net.minecraft.class_9312
- Record Components:
level
-generator
-structureManager
-lightEngine
-
public record class_9312(ServerWorld level, ChunkGenerator generator, StructureTemplateManager structureManager, ServerLightingProvider lightEngine)
extends Record
- Mappings:
Namespace Name official dry
intermediary net/minecraft/class_9312
named net/minecraft/class_9312
official a
intermediary comp_2434
named level
official b
intermediary comp_2435
named generator
official c
intermediary comp_2436
named structureManager
official d
intermediary comp_2437
named lightEngine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChunkGenerator
The field for thegenerator
record component.private final ServerWorld
The field for thelevel
record component.private final ServerLightingProvider
The field for thelightEngine
record component.private final StructureTemplateManager
The field for thestructureManager
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9312
(ServerWorld serverWorld, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ServerLightingProvider serverLightingProvider) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of thegenerator
record component.final int
hashCode()
Returns a hash code value for this object.level()
Returns the value of thelevel
record component.Returns the value of thelightEngine
record component.Returns the value of thestructureManager
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
level
The field for thelevel
record component. -
generator
The field for thegenerator
record component. -
structureManager
The field for thestructureManager
record component. -
lightEngine
The field for thelightEngine
record component.
-
-
Constructor Details
-
class_9312
public class_9312(ServerWorld serverWorld, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ServerLightingProvider serverLightingProvider)
-
-
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)
. -
level
Returns the value of thelevel
record component.- Returns:
- the value of the
level
record component
-
generator
Returns the value of thegenerator
record component.- Returns:
- the value of the
generator
record component
-
structureManager
Returns the value of thestructureManager
record component.- Returns:
- the value of the
structureManager
record component
-
lightEngine
Returns the value of thelightEngine
record component.- Returns:
- the value of the
lightEngine
record component
-