Record Class CornerShaftSet

java.lang.Object
java.lang.Record
petrolpark.mc.petrolsparts.content.kinetics.cornerShaft.CornerShaftSet

public record CornerShaftSet(com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerShaftBlock> cornerShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> straightCornerShaftBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity> cornerBlockEntity, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends com.simibubi.create.content.kinetics.base.KineticBlockEntity> straightBlockEntity, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity> encasedCornerShaftBlockEntity, net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider packetType, PlaceCornerShaftsPacket.Factory packetFactory) extends Record
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final CornerShaftSet
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CornerShaftSet(com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerShaftBlock> cornerShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> straightCornerShaftBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity> cornerBlockEntity, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends com.simibubi.create.content.kinetics.base.KineticBlockEntity> straightBlockEntity, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity> encasedCornerShaftBlockEntity, net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider packetType, PlaceCornerShaftsPacket.Factory packetFactory)
    Creates an instance of a CornerShaftSet record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity>
    Returns the value of the cornerBlockEntity record component.
    com.tterrag.registrate.util.entry.BlockEntry<? extends CornerShaftBlock>
    Returns the value of the cornerShaftBlock record component.
    com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity>
    Returns the value of the encasedCornerShaftBlockEntity record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the packetFactory record component.
    net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider
    Returns the value of the packetType record component.
    com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock>
    Returns the value of the shaftBlock record component.
    com.tterrag.registrate.util.entry.BlockEntityEntry<? extends com.simibubi.create.content.kinetics.base.KineticBlockEntity>
    Returns the value of the straightBlockEntity record component.
    com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock>
    Returns the value of the straightCornerShaftBlock record component.
    final String
    Returns a string representation of this record class.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • CornerShaftSet

      public CornerShaftSet(com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerShaftBlock> cornerShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> straightCornerShaftBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity> cornerBlockEntity, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends com.simibubi.create.content.kinetics.base.KineticBlockEntity> straightBlockEntity, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity> encasedCornerShaftBlockEntity, net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider packetType, PlaceCornerShaftsPacket.Factory packetFactory)
      Creates an instance of a CornerShaftSet record class.
      Parameters:
      shaftBlock - the value for the shaftBlock record component
      cornerShaftBlock - the value for the cornerShaftBlock record component
      straightCornerShaftBlock - the value for the straightCornerShaftBlock record component
      cornerBlockEntity - the value for the cornerBlockEntity record component
      straightBlockEntity - the value for the straightBlockEntity record component
      encasedCornerShaftBlockEntity - the value for the encasedCornerShaftBlockEntity record component
      packetType - the value for the packetType record component
      packetFactory - the value for the packetFactory record component
  • Method Details

    • vanilla

      public static CornerShaftSet vanilla()
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • shaftBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock()
      Returns the value of the shaftBlock record component.
      Returns:
      the value of the shaftBlock record component
    • cornerShaftBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends CornerShaftBlock> cornerShaftBlock()
      Returns the value of the cornerShaftBlock record component.
      Returns:
      the value of the cornerShaftBlock record component
    • straightCornerShaftBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> straightCornerShaftBlock()
      Returns the value of the straightCornerShaftBlock record component.
      Returns:
      the value of the straightCornerShaftBlock record component
    • cornerBlockEntity

      public com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity> cornerBlockEntity()
      Returns the value of the cornerBlockEntity record component.
      Returns:
      the value of the cornerBlockEntity record component
    • straightBlockEntity

      public com.tterrag.registrate.util.entry.BlockEntityEntry<? extends com.simibubi.create.content.kinetics.base.KineticBlockEntity> straightBlockEntity()
      Returns the value of the straightBlockEntity record component.
      Returns:
      the value of the straightBlockEntity record component
    • encasedCornerShaftBlockEntity

      public com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CornerShaftBlockEntity> encasedCornerShaftBlockEntity()
      Returns the value of the encasedCornerShaftBlockEntity record component.
      Returns:
      the value of the encasedCornerShaftBlockEntity record component
    • packetType

      public net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider packetType()
      Returns the value of the packetType record component.
      Returns:
      the value of the packetType record component
    • packetFactory

      public PlaceCornerShaftsPacket.Factory packetFactory()
      Returns the value of the packetFactory record component.
      Returns:
      the value of the packetFactory record component