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 dryintermediary net/minecraft/class_9312named net/minecraft/class_9312official aintermediary comp_2434named levelofficial bintermediary comp_2435named generatorofficial cintermediary comp_2436named structureManagerofficial dintermediary comp_2437named lightEngine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChunkGeneratorThe field for thegeneratorrecord component.private final ServerWorldThe field for thelevelrecord component.private final ServerLightingProviderThe field for thelightEnginerecord component.private final StructureTemplateManagerThe field for thestructureManagerrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9312(ServerWorld serverWorld, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ServerLightingProvider serverLightingProvider) -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.level()Returns the value of thelevelrecord component.Returns the value of thelightEnginerecord component.Returns the value of thestructureManagerrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
level
The field for thelevelrecord component. -
generator
The field for thegeneratorrecord component. -
structureManager
The field for thestructureManagerrecord component. -
lightEngine
The field for thelightEnginerecord 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 thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
generator
Returns the value of thegeneratorrecord component.- Returns:
- the value of the
generatorrecord component
-
structureManager
Returns the value of thestructureManagerrecord component.- Returns:
- the value of the
structureManagerrecord component
-
lightEngine
Returns the value of thelightEnginerecord component.- Returns:
- the value of the
lightEnginerecord component
-