Record Class MultipartBakedModel.class_10204
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.MultipartBakedModel.class_10204
- Record Components:
condition
-model
-
- Enclosing class:
MultipartBakedModel
@Environment(CLIENT)
public static record MultipartBakedModel.class_10204(Predicate<BlockState> condition, BakedModel model)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/MultipartBakedModel$class_10204
intermediary net/minecraft/class_1095$class_10204
official hec$a
named condition
intermediary comp_3203
official a
named model
intermediary comp_3204
official b
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Predicate
<BlockState> The field for thecondition
record component.private final BakedModel
The field for themodel
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecondition
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.model()
Returns the value of themodel
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_10204
-
-
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)
. -
condition
Returns the value of thecondition
record component.- Returns:
- the value of the
condition
record component
-
model
Returns the value of themodel
record component.- Returns:
- the value of the
model
record component
-