Record Class CustomEntityRenderStore.RenderData
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.render.CustomEntityRenderStore.RenderData
- Enclosing class:
CustomEntityRenderStore
-
Constructor Summary
ConstructorsConstructorDescriptionRenderData(String identifier, float scale, List<net.raphimc.viabedrock.api.model.entity.CustomEntity.EvaluatedModel> models) Creates an instance of aRenderDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierrecord component.List<net.raphimc.viabedrock.api.model.entity.CustomEntity.EvaluatedModel> models()Returns the value of themodelsrecord component.floatscale()Returns the value of thescalerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RenderData
public RenderData(String identifier, float scale, List<net.raphimc.viabedrock.api.model.entity.CustomEntity.EvaluatedModel> models) Creates an instance of aRenderDatarecord class.- Parameters:
identifier- the value for theidentifierrecord componentscale- the value for thescalerecord componentmodels- the value for themodelsrecord component
-
-
Method Details
-
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. -
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
scale
public float scale()Returns the value of thescalerecord component.- Returns:
- the value of the
scalerecord component
-
models
Returns the value of themodelsrecord component.- Returns:
- the value of the
modelsrecord component
-