Record Class CraftingEmitterData
java.lang.Object
java.lang.Record
net.gotlicked.rsrreforged.craftingemitter.CraftingEmitterData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, CraftingEmitterData> -
Constructor Summary
ConstructorsConstructorDescriptionCraftingEmitterData(com.refinedmods.refinedstorage.common.support.resource.ResourceContainerData filterContainerData, List<com.refinedmods.refinedstorage.common.support.exportingindicator.ExportingIndicator> exportingIndicators) Creates an instance of aCraftingEmitterDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.List<com.refinedmods.refinedstorage.common.support.exportingindicator.ExportingIndicator> Returns the value of theexportingIndicatorsrecord component.com.refinedmods.refinedstorage.common.support.resource.ResourceContainerDataReturns the value of thefilterContainerDatarecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, CraftingEmitterData> STREAM_CODEC
-
-
Constructor Details
-
CraftingEmitterData
public CraftingEmitterData(com.refinedmods.refinedstorage.common.support.resource.ResourceContainerData filterContainerData, List<com.refinedmods.refinedstorage.common.support.exportingindicator.ExportingIndicator> exportingIndicators) Creates an instance of aCraftingEmitterDatarecord class.- Parameters:
filterContainerData- the value for thefilterContainerDatarecord componentexportingIndicators- the value for theexportingIndicatorsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
filterContainerData
public com.refinedmods.refinedstorage.common.support.resource.ResourceContainerData filterContainerData()Returns the value of thefilterContainerDatarecord component.- Returns:
- the value of the
filterContainerDatarecord component
-
exportingIndicators
public List<com.refinedmods.refinedstorage.common.support.exportingindicator.ExportingIndicator> exportingIndicators()Returns the value of theexportingIndicatorsrecord component.- Returns:
- the value of the
exportingIndicatorsrecord component
-