Record Class EmptyTeamSupplier
java.lang.Object
java.lang.Record
com.pixelmonmod.pixelmon.api.storage.supplier.EmptyTeamSupplier
- All Implemented Interfaces:
- TeamSupplier
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an instance of aEmptyTeamSupplierrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aPartyStoragefrom the team supplier.com.mojang.serialization.Codec<? extends TeamSupplier>codec()Gets the codec for theTeamSupplier.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
CODEC
 
- 
- 
Constructor Details- 
EmptyTeamSupplierpublic EmptyTeamSupplier()Creates an instance of aEmptyTeamSupplierrecord class.
 
- 
- 
Method Details- 
codecDescription copied from interface:TeamSupplierGets the codec for theTeamSupplier.- Specified by:
- codecin interface- TeamSupplier
- Returns:
- the codec
 
- 
buildDescription copied from interface:TeamSupplierBuilds aPartyStoragefrom the team supplier.- Specified by:
- buildin interface- TeamSupplier
- Returns:
- the PartyStorage
 
- 
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.
 
-