Record Class AssemblageSet

java.lang.Object
java.lang.Record
petrolpark.mc.petrolsparts.content.kinetics.assemblage.AssemblageSet

public record AssemblageSet(net.minecraft.resources.ResourceLocation id, String descriptionId, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, Map<net.minecraft.core.Direction.Axis,AssemblagePart> shaftParts, Map<net.minecraft.core.Direction,AssemblagePart> shaftHalfParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> cogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> largeCogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCoaxialCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> coaxialCogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCoaxialCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> largeCoaxialCogWheelParts, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock) extends Record
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Supplier<AssemblageSet>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AssemblageSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock)
     
    AssemblageSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock)
     
    AssemblageSet(net.minecraft.resources.ResourceLocation id, String descriptionId, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, Map<net.minecraft.core.Direction.Axis,AssemblagePart> shaftParts, Map<net.minecraft.core.Direction,AssemblagePart> shaftHalfParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> cogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> largeCogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCoaxialCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> coaxialCogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCoaxialCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> largeCoaxialCogWheelParts, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock)
    Creates an instance of a AssemblageSet record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity>
    Returns the value of the blockEntity record component.
    com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem>
    Returns the value of the coaxialCogItem record component.
    net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>
    Returns the value of the coaxialCogLoot record component.
    Map<net.minecraft.core.Direction,AssemblagePart>
    Returns the value of the coaxialCogWheelParts record component.
    Map<net.minecraft.core.Direction,AssemblagePart>
    Returns the value of the cogWheelParts record component.
    Returns the value of the descriptionId record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>>
    Returns the value of the equivalentLargeCogBlock record component.
    Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>>
    Returns the value of the equivalentSmallCogBlock record component.
    net.minecraft.world.level.block.state.BlockState
    getEquivalent(net.minecraft.world.level.block.state.BlockState state)
     
    getTargetedPart(net.minecraft.world.item.context.BlockPlaceContext context)
     
    final int
    Returns a hash code value for this object.
    net.minecraft.resources.ResourceLocation
    id()
    Returns the value of the id record component.
    com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem>
    Returns the value of the largeCoaxialCogItem record component.
    net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>
    Returns the value of the largeCoaxialCogLoot record component.
    Map<net.minecraft.core.Direction,AssemblagePart>
    Returns the value of the largeCoaxialCogWheelParts record component.
    com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem>
    Returns the value of the largeCogItem record component.
    net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>
    Returns the value of the largeCogLoot record component.
    Map<net.minecraft.core.Direction,AssemblagePart>
    Returns the value of the largeCogWheelParts record component.
    Map<net.minecraft.core.Direction.Axis,AssemblagePart>
    Returns the value of the middleCoaxialCogWheelParts record component.
    Map<net.minecraft.core.Direction.Axis,AssemblagePart>
    Returns the value of the middleCogWheelParts record component.
    Map<net.minecraft.core.Direction.Axis,AssemblagePart>
    Returns the value of the middleLargeCoaxialCogWheelParts record component.
    Map<net.minecraft.core.Direction.Axis,AssemblagePart>
    Returns the value of the middleLargeCogWheelParts record component.
    com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock>
    Returns the value of the separateShaftsAssemblageBlock 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.ItemEntry<? extends ShaftHalfBlockItem>
    Returns the value of the shaftHalfItem record component.
    net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>
    Returns the value of the shaftHalfLoot record component.
    Map<net.minecraft.core.Direction,AssemblagePart>
    Returns the value of the shaftHalfParts record component.
    net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>
    Returns the value of the shaftLoot record component.
    Map<net.minecraft.core.Direction.Axis,AssemblagePart>
    Returns the value of the shaftParts record component.
    com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock>
    Returns the value of the singleShaftAssemblageBlock record component.
    com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem>
    Returns the value of the smallCogItem record component.
    net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>
    Returns the value of the smallCogLoot 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

    • AssemblageSet

      public AssemblageSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock)
    • AssemblageSet

      public AssemblageSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock)
    • AssemblageSet

      public AssemblageSet(net.minecraft.resources.ResourceLocation id, String descriptionId, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity, com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem, com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot, Map<net.minecraft.core.Direction.Axis,AssemblagePart> shaftParts, Map<net.minecraft.core.Direction,AssemblagePart> shaftHalfParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> cogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> largeCogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCoaxialCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> coaxialCogWheelParts, Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCoaxialCogWheelParts, Map<net.minecraft.core.Direction,AssemblagePart> largeCoaxialCogWheelParts, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock, Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock)
      Creates an instance of a AssemblageSet record class.
      Parameters:
      id - the value for the id record component
      descriptionId - the value for the descriptionId record component
      singleShaftAssemblageBlock - the value for the singleShaftAssemblageBlock record component
      separateShaftsAssemblageBlock - the value for the separateShaftsAssemblageBlock record component
      blockEntity - the value for the blockEntity record component
      shaftHalfItem - the value for the shaftHalfItem record component
      smallCogItem - the value for the smallCogItem record component
      largeCogItem - the value for the largeCogItem record component
      coaxialCogItem - the value for the coaxialCogItem record component
      largeCoaxialCogItem - the value for the largeCoaxialCogItem record component
      shaftLoot - the value for the shaftLoot record component
      shaftHalfLoot - the value for the shaftHalfLoot record component
      smallCogLoot - the value for the smallCogLoot record component
      largeCogLoot - the value for the largeCogLoot record component
      coaxialCogLoot - the value for the coaxialCogLoot record component
      largeCoaxialCogLoot - the value for the largeCoaxialCogLoot record component
      shaftParts - the value for the shaftParts record component
      shaftHalfParts - the value for the shaftHalfParts record component
      middleCogWheelParts - the value for the middleCogWheelParts record component
      cogWheelParts - the value for the cogWheelParts record component
      middleLargeCogWheelParts - the value for the middleLargeCogWheelParts record component
      largeCogWheelParts - the value for the largeCogWheelParts record component
      middleCoaxialCogWheelParts - the value for the middleCoaxialCogWheelParts record component
      coaxialCogWheelParts - the value for the coaxialCogWheelParts record component
      middleLargeCoaxialCogWheelParts - the value for the middleLargeCoaxialCogWheelParts record component
      largeCoaxialCogWheelParts - the value for the largeCoaxialCogWheelParts record component
      shaftBlock - the value for the shaftBlock record component
      equivalentSmallCogBlock - the value for the equivalentSmallCogBlock record component
      equivalentLargeCogBlock - the value for the equivalentLargeCogBlock record component
  • Method Details

    • getEquivalent

      public net.minecraft.world.level.block.state.BlockState getEquivalent(net.minecraft.world.level.block.state.BlockState state)
    • getTargetedPart

      @Nullable public AssemblagePart getTargetedPart(net.minecraft.world.item.context.BlockPlaceContext context)
    • 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.
    • id

      public net.minecraft.resources.ResourceLocation id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • descriptionId

      public String descriptionId()
      Returns the value of the descriptionId record component.
      Returns:
      the value of the descriptionId record component
    • singleShaftAssemblageBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends SingleShaftAssemblageBlock> singleShaftAssemblageBlock()
      Returns the value of the singleShaftAssemblageBlock record component.
      Returns:
      the value of the singleShaftAssemblageBlock record component
    • separateShaftsAssemblageBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends SeparateShaftHalvesAssemblageBlock> separateShaftsAssemblageBlock()
      Returns the value of the separateShaftsAssemblageBlock record component.
      Returns:
      the value of the separateShaftsAssemblageBlock record component
    • blockEntity

      public com.tterrag.registrate.util.entry.BlockEntityEntry<? extends AssemblageBlockEntity> blockEntity()
      Returns the value of the blockEntity record component.
      Returns:
      the value of the blockEntity record component
    • shaftHalfItem

      public com.tterrag.registrate.util.entry.ItemEntry<? extends ShaftHalfBlockItem> shaftHalfItem()
      Returns the value of the shaftHalfItem record component.
      Returns:
      the value of the shaftHalfItem record component
    • smallCogItem

      public com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> smallCogItem()
      Returns the value of the smallCogItem record component.
      Returns:
      the value of the smallCogItem record component
    • largeCogItem

      public com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCogItem()
      Returns the value of the largeCogItem record component.
      Returns:
      the value of the largeCogItem record component
    • coaxialCogItem

      public com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> coaxialCogItem()
      Returns the value of the coaxialCogItem record component.
      Returns:
      the value of the coaxialCogItem record component
    • largeCoaxialCogItem

      public com.tterrag.registrate.util.entry.ItemEntry<? extends AssemblageCogWheelBlockItem> largeCoaxialCogItem()
      Returns the value of the largeCoaxialCogItem record component.
      Returns:
      the value of the largeCoaxialCogItem record component
    • shaftLoot

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot()
      Returns the value of the shaftLoot record component.
      Returns:
      the value of the shaftLoot record component
    • shaftHalfLoot

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot()
      Returns the value of the shaftHalfLoot record component.
      Returns:
      the value of the shaftHalfLoot record component
    • smallCogLoot

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> smallCogLoot()
      Returns the value of the smallCogLoot record component.
      Returns:
      the value of the smallCogLoot record component
    • largeCogLoot

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCogLoot()
      Returns the value of the largeCogLoot record component.
      Returns:
      the value of the largeCogLoot record component
    • coaxialCogLoot

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> coaxialCogLoot()
      Returns the value of the coaxialCogLoot record component.
      Returns:
      the value of the coaxialCogLoot record component
    • largeCoaxialCogLoot

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> largeCoaxialCogLoot()
      Returns the value of the largeCoaxialCogLoot record component.
      Returns:
      the value of the largeCoaxialCogLoot record component
    • shaftParts

      public Map<net.minecraft.core.Direction.Axis,AssemblagePart> shaftParts()
      Returns the value of the shaftParts record component.
      Returns:
      the value of the shaftParts record component
    • shaftHalfParts

      public Map<net.minecraft.core.Direction,AssemblagePart> shaftHalfParts()
      Returns the value of the shaftHalfParts record component.
      Returns:
      the value of the shaftHalfParts record component
    • middleCogWheelParts

      public Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCogWheelParts()
      Returns the value of the middleCogWheelParts record component.
      Returns:
      the value of the middleCogWheelParts record component
    • cogWheelParts

      public Map<net.minecraft.core.Direction,AssemblagePart> cogWheelParts()
      Returns the value of the cogWheelParts record component.
      Returns:
      the value of the cogWheelParts record component
    • middleLargeCogWheelParts

      public Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCogWheelParts()
      Returns the value of the middleLargeCogWheelParts record component.
      Returns:
      the value of the middleLargeCogWheelParts record component
    • largeCogWheelParts

      public Map<net.minecraft.core.Direction,AssemblagePart> largeCogWheelParts()
      Returns the value of the largeCogWheelParts record component.
      Returns:
      the value of the largeCogWheelParts record component
    • middleCoaxialCogWheelParts

      public Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleCoaxialCogWheelParts()
      Returns the value of the middleCoaxialCogWheelParts record component.
      Returns:
      the value of the middleCoaxialCogWheelParts record component
    • coaxialCogWheelParts

      public Map<net.minecraft.core.Direction,AssemblagePart> coaxialCogWheelParts()
      Returns the value of the coaxialCogWheelParts record component.
      Returns:
      the value of the coaxialCogWheelParts record component
    • middleLargeCoaxialCogWheelParts

      public Map<net.minecraft.core.Direction.Axis,AssemblagePart> middleLargeCoaxialCogWheelParts()
      Returns the value of the middleLargeCoaxialCogWheelParts record component.
      Returns:
      the value of the middleLargeCoaxialCogWheelParts record component
    • largeCoaxialCogWheelParts

      public Map<net.minecraft.core.Direction,AssemblagePart> largeCoaxialCogWheelParts()
      Returns the value of the largeCoaxialCogWheelParts record component.
      Returns:
      the value of the largeCoaxialCogWheelParts record component
    • 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
    • equivalentSmallCogBlock

      public Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentSmallCogBlock()
      Returns the value of the equivalentSmallCogBlock record component.
      Returns:
      the value of the equivalentSmallCogBlock record component
    • equivalentLargeCogBlock

      public Optional<com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.CogWheelBlock>> equivalentLargeCogBlock()
      Returns the value of the equivalentLargeCogBlock record component.
      Returns:
      the value of the equivalentLargeCogBlock record component