Enum Class BlockPlacementEnvironment

java.lang.Object
java.lang.Enum<BlockPlacementEnvironment>
net.minecraft.block.BlockPlacementEnvironment
All Implemented Interfaces:
Serializable, Comparable<BlockPlacementEnvironment>, Constable

public enum BlockPlacementEnvironment extends Enum<BlockPlacementEnvironment>
Mappings:
Namespace Name
official cbf
intermediary net/minecraft/class_4064
named net/minecraft/block/BlockPlacementEnvironment
  • Enum Constant Details

    • LAND

      public static final BlockPlacementEnvironment LAND
      Mappings:
      Namespace Name Mixin selector
      official a Lcbf;a:Lcbf;
      intermediary field_19715 Lnet/minecraft/class_4064;field_19715:Lnet/minecraft/class_4064;
      named LAND Lnet/minecraft/block/BlockPlacementEnvironment;LAND:Lnet/minecraft/block/BlockPlacementEnvironment;
    • WATER

      public static final BlockPlacementEnvironment WATER
      Mappings:
      Namespace Name Mixin selector
      official b Lcbf;b:Lcbf;
      intermediary field_19716 Lnet/minecraft/class_4064;field_19716:Lnet/minecraft/class_4064;
      named WATER Lnet/minecraft/block/BlockPlacementEnvironment;WATER:Lnet/minecraft/block/BlockPlacementEnvironment;
    • AIR

      public static final BlockPlacementEnvironment AIR
      Mappings:
      Namespace Name Mixin selector
      official c Lcbf;c:Lcbf;
      intermediary field_19717 Lnet/minecraft/class_4064;field_19717:Lnet/minecraft/class_4064;
      named AIR Lnet/minecraft/block/BlockPlacementEnvironment;AIR:Lnet/minecraft/block/BlockPlacementEnvironment;
  • Constructor Details

    • BlockPlacementEnvironment

      private BlockPlacementEnvironment()
  • Method Details

    • values

      public static BlockPlacementEnvironment[] 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 BlockPlacementEnvironment 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