Record Class MultipartBlockStateModel.Selector<T>
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.MultipartBlockStateModel.Selector<T>
- Record Components:
condition
-model
-
- Enclosing class:
MultipartBlockStateModel
@Environment(CLIENT)
public static record MultipartBlockStateModel.Selector<T>(Predicate<BlockState> condition, T model)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/MultipartBlockStateModel$Selector
intermediary net/minecraft/class_10895$class_10204
official gtp$a
named condition
intermediary comp_3203
official a
named model
intermediary comp_3204
official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild
(S s) Returns 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
-
Method Details
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/client/render/model/MultipartBlockStateModel$Selector;build(Ljava/lang/Object;)Lnet/minecraft/client/render/model/MultipartBlockStateModel$Selector;
intermediary method_68527
Lnet/minecraft/class_10895$class_10204;method_68527(Ljava/lang/Object;)Lnet/minecraft/class_10895$class_10204;
official a
Lgtp$a;a(Ljava/lang/Object;)Lgtp$a;
-
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
-