Record Class JavaPiercingWeaponImpl
java.lang.Object
java.lang.Record
org.geysermc.geyser.item.custom.impl.JavaPiercingWeaponImpl
- All Implemented Interfaces:
org.geysermc.geyser.api.item.custom.v2.component.java.JavaPiercingWeapon
public record JavaPiercingWeaponImpl()
extends Record
implements org.geysermc.geyser.api.item.custom.v2.component.java.JavaPiercingWeapon
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.geysermc.geyser.api.item.custom.v2.component.java.JavaPiercingWeapon -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aJavaPiercingWeaponImplrecord class. -
Method Summary
-
Field Details
-
INSTANCE
public static final org.geysermc.geyser.api.item.custom.v2.component.java.JavaPiercingWeapon INSTANCE
-
-
Constructor Details
-
JavaPiercingWeaponImpl
public JavaPiercingWeaponImpl()Creates an instance of aJavaPiercingWeaponImplrecord class.
-
-
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.
-