Record Class ChunkRegionSample
java.lang.Object
java.lang.Record
net.minecraft.util.profiling.jfr.sample.ChunkRegionSample
- Record Components:
level
-dimension
-x
-z
-
- Mappings:
Namespace Name named net/minecraft/util/profiling/jfr/sample/ChunkRegionSample
intermediary net/minecraft/class_9234
official bnq
named level
intermediary comp_2341
official a
named dimension
intermediary comp_2342
official b
named x
intermediary comp_2343
official c
named z
intermediary comp_2344
official d
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedimension
record component.final boolean
Indicates whether some other object is "equal to" this one.static ChunkRegionSample
fromEvent
(RecordedEvent event) final int
hashCode()
Returns a hash code value for this object.level()
Returns the value of thelevel
record component.final String
toString()
Returns a string representation of this record class.int
x()
Returns the value of thex
record component.int
z()
Returns the value of thez
record component.
-
Field Details
-
Constructor Details
-
ChunkRegionSample
-
-
Method Details
-
fromEvent
- Mappings:
Namespace Name Mixin selector named fromEvent
Lnet/minecraft/util/profiling/jfr/sample/ChunkRegionSample;fromEvent(Ljdk/jfr/consumer/RecordedEvent;)Lnet/minecraft/util/profiling/jfr/sample/ChunkRegionSample;
intermediary method_56985
Lnet/minecraft/class_9234;method_56985(Ljdk/jfr/consumer/RecordedEvent;)Lnet/minecraft/class_9234;
official a
Lbnq;a(Ljdk/jfr/consumer/RecordedEvent;)Lbnq;
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
level
Returns the value of thelevel
record component.- Returns:
- the value of the
level
record component
-
dimension
Returns the value of thedimension
record component.- Returns:
- the value of the
dimension
record component
-
x
public int x()Returns the value of thex
record component.- Returns:
- the value of the
x
record component
-
z
public int z()Returns the value of thez
record component.- Returns:
- the value of the
z
record component
-