Record Class BevelCogWheelSet

java.lang.Object
java.lang.Record
petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.BevelCogWheelSet

public record BevelCogWheelSet(net.minecraft.resources.ResourceLocation id, String translationKey, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleAxisBevelCogWheelBlock> singleAxisBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsBlock> cornerBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsBlock> threeBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsBlock> fourBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends BevelCogWheelAndShaftBlock> singleAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsBlock> oppositesBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsAndShaftBlock> oppositesAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsAndShaftBlock> cornerAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsAndShaftBlock> threeAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsAndShaftBlock> fourAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleDiagonalBevelCogWheelBlock> singleDiagonalBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends DualDiagonalBevelCogWheelBlock> dualDiagonalBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends com.simibubi.create.content.kinetics.base.KineticBlockEntity> singleAxisBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SimpleBevelCogWheelBlockEntity> simpleBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CompositeBevelCogWheelBlockEntity> compositeBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SingleDiagonalBevelCogWheelBlockEntity> singleDiagonalBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends DualDiagonalBevelCogWheelBlockEntity> dualDiagonalBE, com.tterrag.registrate.util.entry.ItemEntry<? extends BevelCogWheelBlockItem> item, com.tterrag.registrate.util.entry.ItemEntry<? extends net.minecraft.world.item.Item> shaftHalfItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> cogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, Map<net.minecraft.core.Direction,BevelCogWheelPart.Cog> cogParts, Map<net.minecraft.core.Direction.Axis,BevelCogWheelPart.Shaft> shaftParts, Map<petrolpark.mc.library.util.Orientation,DiagonalBevelCogWheelPart.Cog> diagonalCogParts, Map<net.minecraft.core.Direction,DiagonalBevelCogWheelPart.ShaftHalf> shaftHalfParts) extends Record
  • Field Details

  • Constructor Details

    • BevelCogWheelSet

      public BevelCogWheelSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleAxisBevelCogWheelBlock> singleAxisBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsBlock> cornerBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsBlock> threeBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsBlock> fourBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends BevelCogWheelAndShaftBlock> singleAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsBlock> oppositesBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsAndShaftBlock> oppositesAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsAndShaftBlock> cornerAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsAndShaftBlock> threeAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsAndShaftBlock> fourAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleDiagonalBevelCogWheelBlock> singleDiagonalBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends DualDiagonalBevelCogWheelBlock> dualDiagonalBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends com.simibubi.create.content.kinetics.base.KineticBlockEntity> singleAxisBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SimpleBevelCogWheelBlockEntity> simpleBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CompositeBevelCogWheelBlockEntity> compositeBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SingleDiagonalBevelCogWheelBlockEntity> singleDiagonalBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends DualDiagonalBevelCogWheelBlockEntity> dualDiagonalBE, com.tterrag.registrate.util.entry.ItemEntry<? extends BevelCogWheelBlockItem> item, com.tterrag.registrate.util.entry.ItemEntry<? extends net.minecraft.world.item.Item> shaftHalfItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> cogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot)
    • BevelCogWheelSet

      public BevelCogWheelSet(net.minecraft.resources.ResourceLocation id, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleAxisBevelCogWheelBlock> singleAxisBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsBlock> cornerBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsBlock> threeBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsBlock> fourBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends BevelCogWheelAndShaftBlock> singleAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsBlock> oppositesBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsAndShaftBlock> oppositesAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsAndShaftBlock> cornerAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsAndShaftBlock> threeAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsAndShaftBlock> fourAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleDiagonalBevelCogWheelBlock> singleDiagonalBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends DualDiagonalBevelCogWheelBlock> dualDiagonalBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends com.simibubi.create.content.kinetics.base.KineticBlockEntity> singleAxisBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SimpleBevelCogWheelBlockEntity> simpleBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CompositeBevelCogWheelBlockEntity> compositeBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SingleDiagonalBevelCogWheelBlockEntity> singleDiagonalBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends DualDiagonalBevelCogWheelBlockEntity> dualDiagonalBE, com.tterrag.registrate.util.entry.ItemEntry<? extends BevelCogWheelBlockItem> item, com.tterrag.registrate.util.entry.ItemEntry<? extends net.minecraft.world.item.Item> shaftHalfItem)
    • BevelCogWheelSet

      public BevelCogWheelSet(net.minecraft.resources.ResourceLocation id, String translationKey, com.tterrag.registrate.util.entry.BlockEntry<? extends com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock> shaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleAxisBevelCogWheelBlock> singleAxisBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsBlock> cornerBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsBlock> threeBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsBlock> fourBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends BevelCogWheelAndShaftBlock> singleAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsBlock> oppositesBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsAndShaftBlock> oppositesAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsAndShaftBlock> cornerAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsAndShaftBlock> threeAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsAndShaftBlock> fourAndShaftBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends SingleDiagonalBevelCogWheelBlock> singleDiagonalBlock, com.tterrag.registrate.util.entry.BlockEntry<? extends DualDiagonalBevelCogWheelBlock> dualDiagonalBlock, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends com.simibubi.create.content.kinetics.base.KineticBlockEntity> singleAxisBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SimpleBevelCogWheelBlockEntity> simpleBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CompositeBevelCogWheelBlockEntity> compositeBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SingleDiagonalBevelCogWheelBlockEntity> singleDiagonalBE, com.tterrag.registrate.util.entry.BlockEntityEntry<? extends DualDiagonalBevelCogWheelBlockEntity> dualDiagonalBE, com.tterrag.registrate.util.entry.ItemEntry<? extends BevelCogWheelBlockItem> item, com.tterrag.registrate.util.entry.ItemEntry<? extends net.minecraft.world.item.Item> shaftHalfItem, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> cogLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftLoot, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> shaftHalfLoot, Map<net.minecraft.core.Direction,BevelCogWheelPart.Cog> cogParts, Map<net.minecraft.core.Direction.Axis,BevelCogWheelPart.Shaft> shaftParts, Map<petrolpark.mc.library.util.Orientation,DiagonalBevelCogWheelPart.Cog> diagonalCogParts, Map<net.minecraft.core.Direction,DiagonalBevelCogWheelPart.ShaftHalf> shaftHalfParts)
      Creates an instance of a BevelCogWheelSet record class.
      Parameters:
      id - the value for the id record component
      translationKey - the value for the translationKey record component
      shaftBlock - the value for the shaftBlock record component
      singleAxisBlock - the value for the singleAxisBlock record component
      cornerBlock - the value for the cornerBlock record component
      threeBlock - the value for the threeBlock record component
      fourBlock - the value for the fourBlock record component
      singleAndShaftBlock - the value for the singleAndShaftBlock record component
      oppositesBlock - the value for the oppositesBlock record component
      oppositesAndShaftBlock - the value for the oppositesAndShaftBlock record component
      cornerAndShaftBlock - the value for the cornerAndShaftBlock record component
      threeAndShaftBlock - the value for the threeAndShaftBlock record component
      fourAndShaftBlock - the value for the fourAndShaftBlock record component
      singleDiagonalBlock - the value for the singleDiagonalBlock record component
      dualDiagonalBlock - the value for the dualDiagonalBlock record component
      singleAxisBE - the value for the singleAxisBE record component
      simpleBE - the value for the simpleBE record component
      compositeBE - the value for the compositeBE record component
      singleDiagonalBE - the value for the singleDiagonalBE record component
      dualDiagonalBE - the value for the dualDiagonalBE record component
      item - the value for the item record component
      shaftHalfItem - the value for the shaftHalfItem record component
      cogLoot - the value for the cogLoot record component
      shaftLoot - the value for the shaftLoot record component
      shaftHalfLoot - the value for the shaftHalfLoot record component
      cogParts - the value for the cogParts record component
      shaftParts - the value for the shaftParts record component
      diagonalCogParts - the value for the diagonalCogParts record component
      shaftHalfParts - the value for the shaftHalfParts record component
  • Method Details

    • isReplaceable

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

      @Nullable public BevelCogWheelPart 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
    • translationKey

      public String translationKey()
      Returns the value of the translationKey record component.
      Returns:
      the value of the translationKey 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
    • singleAxisBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends SingleAxisBevelCogWheelBlock> singleAxisBlock()
      Returns the value of the singleAxisBlock record component.
      Returns:
      the value of the singleAxisBlock record component
    • cornerBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsBlock> cornerBlock()
      Returns the value of the cornerBlock record component.
      Returns:
      the value of the cornerBlock record component
    • threeBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsBlock> threeBlock()
      Returns the value of the threeBlock record component.
      Returns:
      the value of the threeBlock record component
    • fourBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsBlock> fourBlock()
      Returns the value of the fourBlock record component.
      Returns:
      the value of the fourBlock record component
    • singleAndShaftBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends BevelCogWheelAndShaftBlock> singleAndShaftBlock()
      Returns the value of the singleAndShaftBlock record component.
      Returns:
      the value of the singleAndShaftBlock record component
    • oppositesBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsBlock> oppositesBlock()
      Returns the value of the oppositesBlock record component.
      Returns:
      the value of the oppositesBlock record component
    • oppositesAndShaftBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends OppositeBevelCogWheelsAndShaftBlock> oppositesAndShaftBlock()
      Returns the value of the oppositesAndShaftBlock record component.
      Returns:
      the value of the oppositesAndShaftBlock record component
    • cornerAndShaftBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends CornerBevelCogWheelsAndShaftBlock> cornerAndShaftBlock()
      Returns the value of the cornerAndShaftBlock record component.
      Returns:
      the value of the cornerAndShaftBlock record component
    • threeAndShaftBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends ThreeBevelCogWheelsAndShaftBlock> threeAndShaftBlock()
      Returns the value of the threeAndShaftBlock record component.
      Returns:
      the value of the threeAndShaftBlock record component
    • fourAndShaftBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends FourBevelCogWheelsAndShaftBlock> fourAndShaftBlock()
      Returns the value of the fourAndShaftBlock record component.
      Returns:
      the value of the fourAndShaftBlock record component
    • singleDiagonalBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends SingleDiagonalBevelCogWheelBlock> singleDiagonalBlock()
      Returns the value of the singleDiagonalBlock record component.
      Returns:
      the value of the singleDiagonalBlock record component
    • dualDiagonalBlock

      public com.tterrag.registrate.util.entry.BlockEntry<? extends DualDiagonalBevelCogWheelBlock> dualDiagonalBlock()
      Returns the value of the dualDiagonalBlock record component.
      Returns:
      the value of the dualDiagonalBlock record component
    • singleAxisBE

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

      public com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SimpleBevelCogWheelBlockEntity> simpleBE()
      Returns the value of the simpleBE record component.
      Returns:
      the value of the simpleBE record component
    • compositeBE

      public com.tterrag.registrate.util.entry.BlockEntityEntry<? extends CompositeBevelCogWheelBlockEntity> compositeBE()
      Returns the value of the compositeBE record component.
      Returns:
      the value of the compositeBE record component
    • singleDiagonalBE

      public com.tterrag.registrate.util.entry.BlockEntityEntry<? extends SingleDiagonalBevelCogWheelBlockEntity> singleDiagonalBE()
      Returns the value of the singleDiagonalBE record component.
      Returns:
      the value of the singleDiagonalBE record component
    • dualDiagonalBE

      public com.tterrag.registrate.util.entry.BlockEntityEntry<? extends DualDiagonalBevelCogWheelBlockEntity> dualDiagonalBE()
      Returns the value of the dualDiagonalBE record component.
      Returns:
      the value of the dualDiagonalBE record component
    • item

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

      public com.tterrag.registrate.util.entry.ItemEntry<? extends net.minecraft.world.item.Item> shaftHalfItem()
      Returns the value of the shaftHalfItem record component.
      Returns:
      the value of the shaftHalfItem record component
    • cogLoot

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> cogLoot()
      Returns the value of the cogLoot record component.
      Returns:
      the value of the cogLoot 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
    • cogParts

      public Map<net.minecraft.core.Direction,BevelCogWheelPart.Cog> cogParts()
      Returns the value of the cogParts record component.
      Returns:
      the value of the cogParts record component
    • shaftParts

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

      public Map<petrolpark.mc.library.util.Orientation,DiagonalBevelCogWheelPart.Cog> diagonalCogParts()
      Returns the value of the diagonalCogParts record component.
      Returns:
      the value of the diagonalCogParts record component
    • shaftHalfParts

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