Enum Class ContraptionMovementSetting

java.lang.Object
java.lang.Enum<ContraptionMovementSetting>
com.simibubi.create.foundation.config.ContraptionMovementSetting
All Implemented Interfaces:
Serializable, Comparable<ContraptionMovementSetting>, Constable

public enum ContraptionMovementSetting extends Enum<ContraptionMovementSetting>
  • Enum Constant Details

  • Method Details

    • values

      public static ContraptionMovementSetting[] 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 ContraptionMovementSetting 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
    • register

      public static void register(net.minecraft.resources.ResourceLocation id, Supplier<ContraptionMovementSetting> setting)
    • get

      @Nullable public static ContraptionMovementSetting get(net.minecraft.world.level.block.Block block)
    • get

      @Nullable public static ContraptionMovementSetting get(net.minecraft.resources.ResourceLocation id)
    • allAre

      protected static boolean allAre(Collection<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo> blocks, ContraptionMovementSetting are)
    • isNoPickup

      public static boolean isNoPickup(Collection<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo> blocks)