Enum Class RedstoneTransmissionPart

java.lang.Object
java.lang.Enum<RedstoneTransmissionPart>
petrolpark.mc.petrolsparts.content.kinetics.redstoneTransmission.RedstoneTransmissionPart
All Implemented Interfaces:
Serializable, Comparable<RedstoneTransmissionPart>, Constable, petrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart, petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart

public enum RedstoneTransmissionPart extends Enum<RedstoneTransmissionPart> implements petrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart
  • Enum Constant Details

  • Field Details

    • TRANSMISSION_SHAFT_LOOT

      public static final net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> TRANSMISSION_SHAFT_LOOT
    • FACIAL_COGS

      public static final Map<net.minecraft.core.Direction,RedstoneTransmissionPart> FACIAL_COGS
    • AXIAL_COGS

      public static final Map<net.minecraft.core.Direction.Axis,RedstoneTransmissionPart> AXIAL_COGS
    • SHAFTS

      public static final Map<net.minecraft.core.Direction.Axis,RedstoneTransmissionPart> SHAFTS
    • cog

      protected final boolean cog
    • place

      protected final com.mojang.datafixers.util.Either<net.minecraft.core.Direction,net.minecraft.core.Direction.Axis> place
    • shape

      protected final net.minecraft.world.phys.shapes.VoxelShape shape
  • Method Details

    • values

      public static RedstoneTransmissionPart[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RedstoneTransmissionPart valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • cloneItemStack

      public net.minecraft.world.item.ItemStack cloneItemStack(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player)
      Specified by:
      cloneItemStack in interface petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
    • shape

      public net.minecraft.world.phys.shapes.VoxelShape shape()
      Specified by:
      shape in interface petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
    • loot

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot()
      Specified by:
      loot in interface petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
    • itemRequirement

      public com.simibubi.create.content.schematics.requirement.ItemRequirement itemRequirement()
      Specified by:
      itemRequirement in interface petrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart