Record Class BedrockClassicSkinPack.Skin
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockClassicSkinPack.Skin
- Enclosing class:
BedrockClassicSkinPack
public static record BedrockClassicSkinPack.Skin(String name, String texture, boolean slim, BedrockClassicModel model, BedrockClassicOptions options, String cape, String packId, String localizationName, int index)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSkin(String name, String texture, boolean slim, BedrockClassicModel model, BedrockClassicOptions options, String cape, String packId, String localizationName, int index) Creates an instance of aSkinrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncape()Returns the value of thecaperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intindex()Returns the value of theindexrecord component.Returns the value of thelocalizationNamerecord component.model()Returns the value of themodelrecord component.name()Returns the value of thenamerecord component.options()Returns the value of theoptionsrecord component.packId()Returns the value of thepackIdrecord component.recipeId()skinId()booleanslim()Returns the value of theslimrecord component.texture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Skin
public Skin(String name, String texture, boolean slim, BedrockClassicModel model, BedrockClassicOptions options, String cape, String packId, String localizationName, int index) Creates an instance of aSkinrecord class.- Parameters:
name- the value for thenamerecord componenttexture- the value for thetexturerecord componentslim- the value for theslimrecord componentmodel- the value for themodelrecord componentoptions- the value for theoptionsrecord componentcape- the value for thecaperecord componentpackId- the value for thepackIdrecord componentlocalizationName- the value for thelocalizationNamerecord componentindex- the value for theindexrecord component
-
-
Method Details
-
skinId
-
recipeId
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
texture
Returns the value of thetexturerecord component.- Returns:
- the value of the
texturerecord component
-
slim
public boolean slim()Returns the value of theslimrecord component.- Returns:
- the value of the
slimrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
cape
Returns the value of thecaperecord component.- Returns:
- the value of the
caperecord component
-
packId
Returns the value of thepackIdrecord component.- Returns:
- the value of the
packIdrecord component
-
localizationName
Returns the value of thelocalizationNamerecord component.- Returns:
- the value of the
localizationNamerecord component
-
index
public int index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-