Package net.minecraft.client.renderer
Record Class SectionOcclusionGraph.GraphEvents
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.SectionOcclusionGraph.GraphEvents
- Enclosing class:
- SectionOcclusionGraph
static record SectionOcclusionGraph.GraphEvents(it.unimi.dsi.fastutil.longs.LongSet chunksWhichReceivedNeighbors, BlockingQueue<SectionRenderDispatcher.RenderSection> sectionsToPropagateFrom)
extends Record
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.longs.LongSetThe field for thechunksWhichReceivedNeighborsrecord component.private final BlockingQueue<SectionRenderDispatcher.RenderSection>The field for thesectionsToPropagateFromrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionGraphEvents(it.unimi.dsi.fastutil.longs.LongSet chunksWhichReceivedNeighbors, BlockingQueue<SectionRenderDispatcher.RenderSection> sectionsToPropagateFrom) Creates an instance of aGraphEventsrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.longs.LongSetReturns the value of thechunksWhichReceivedNeighborsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesectionsToPropagateFromrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
chunksWhichReceivedNeighborsprivate final it.unimi.dsi.fastutil.longs.LongSet chunksWhichReceivedNeighborsThe field for thechunksWhichReceivedNeighborsrecord component.
- 
sectionsToPropagateFromThe field for thesectionsToPropagateFromrecord component.
 
- 
- 
Constructor Details- 
GraphEventspublic GraphEvents()
- 
GraphEventsGraphEvents(it.unimi.dsi.fastutil.longs.LongSet chunksWhichReceivedNeighbors, BlockingQueue<SectionRenderDispatcher.RenderSection> sectionsToPropagateFrom) Creates an instance of aGraphEventsrecord class.- Parameters:
- chunksWhichReceivedNeighbors- the value for the- chunksWhichReceivedNeighborsrecord component
- sectionsToPropagateFrom- the value for the- sectionsToPropagateFromrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
chunksWhichReceivedNeighborspublic it.unimi.dsi.fastutil.longs.LongSet chunksWhichReceivedNeighbors()Returns the value of thechunksWhichReceivedNeighborsrecord component.- Returns:
- the value of the chunksWhichReceivedNeighborsrecord component
 
- 
sectionsToPropagateFromReturns the value of thesectionsToPropagateFromrecord component.- Returns:
- the value of the sectionsToPropagateFromrecord component
 
 
-