Package net.minecraft.tag
Record Class Tag.TrackedEntry
java.lang.Object
java.lang.Record
net.minecraft.tag.Tag.TrackedEntry
- Record Components:
entry
-source
-
- Mappings:
Namespace Name official aie$b
intermediary net/minecraft/class_3494$class_5145
named net/minecraft/tag/Tag$TrackedEntry
official a
intermediary comp_324
named entry
official b
intermediary comp_325
named source
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTrackedEntry
(Tag.Entry entry, String source) Creates an instance of aTrackedEntry
record class. -
Method Summary
Modifier and TypeMethodDescriptionentry()
Returns the value of theentry
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.source()
Returns the value of thesource
record component.toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
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)
. -
entry
Returns the value of theentry
record component.- Returns:
- the value of the
entry
record component
-
source
Returns the value of thesource
record component.- Returns:
- the value of the
source
record component
-