Record Class SpaceCogVisual
java.lang.Object
java.lang.Record
com.lightning.northstar.block.tech.cogs.SpaceCogVisual
public record SpaceCogVisual(dev.engine_room.flywheel.lib.model.baked.PartialModel small, dev.engine_room.flywheel.lib.model.baked.PartialModel big)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSpaceCogVisual(dev.engine_room.flywheel.lib.model.baked.PartialModel small, dev.engine_room.flywheel.lib.model.baked.PartialModel big) Creates an instance of aSpaceCogVisualrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondev.engine_room.flywheel.lib.model.baked.PartialModelbig()Returns the value of thebigrecord component.dev.engine_room.flywheel.api.visual.BlockEntityVisual<com.simibubi.create.content.kinetics.simpleRelays.BracketedKineticBlockEntity> create(dev.engine_room.flywheel.api.visualization.VisualizationContext context, com.simibubi.create.content.kinetics.simpleRelays.BracketedKineticBlockEntity blockEntity, float partialTick) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.dev.engine_room.flywheel.lib.model.baked.PartialModelsmall()Returns the value of thesmallrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SpaceCogVisual
public SpaceCogVisual(dev.engine_room.flywheel.lib.model.baked.PartialModel small, dev.engine_room.flywheel.lib.model.baked.PartialModel big) Creates an instance of aSpaceCogVisualrecord class.- Parameters:
small- the value for thesmallrecord componentbig- the value for thebigrecord component
-
-
Method Details
-
create
public dev.engine_room.flywheel.api.visual.BlockEntityVisual<com.simibubi.create.content.kinetics.simpleRelays.BracketedKineticBlockEntity> create(dev.engine_room.flywheel.api.visualization.VisualizationContext context, com.simibubi.create.content.kinetics.simpleRelays.BracketedKineticBlockEntity blockEntity, float partialTick) -
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). -
small
public dev.engine_room.flywheel.lib.model.baked.PartialModel small()Returns the value of thesmallrecord component.- Returns:
- the value of the
smallrecord component
-
big
public dev.engine_room.flywheel.lib.model.baked.PartialModel big()Returns the value of thebigrecord component.- Returns:
- the value of the
bigrecord component
-