Record Class DisplayContext
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.block.model.properties.select.DisplayContext
- All Implemented Interfaces:
SelectBlockModelProperty<BlockDisplayContext>
public record DisplayContext()
extends Record
implements SelectBlockModelProperty<BlockDisplayContext>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.get(BlockState blockState, BlockDisplayContext displayContext) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DisplayContext
public DisplayContext()Creates an instance of aDisplayContextrecord class.
-
-
Method Details
-
get
- Specified by:
getin interfaceSelectBlockModelProperty<BlockDisplayContext>
-
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.
-