枚举 PointOfInterestStorage.OccupationStatus

    • 枚举常量详细资料

      • HAS_SPACE

        public static final PointOfInterestStorage.OccupationStatus HAS_SPACE
        Mappings:
        Namespace Name Mixin selector
        official a Lbco$b;a:Lbco$b;
        intermediary field_18487 Lnet/minecraft/class_4153$class_4155;field_18487:Lnet/minecraft/class_4153$class_4155;
        named HAS_SPACE Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;HAS_SPACE:Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;
      • IS_OCCUPIED

        public static final PointOfInterestStorage.OccupationStatus IS_OCCUPIED
        Mappings:
        Namespace Name Mixin selector
        official b Lbco$b;b:Lbco$b;
        intermediary field_18488 Lnet/minecraft/class_4153$class_4155;field_18488:Lnet/minecraft/class_4153$class_4155;
        named IS_OCCUPIED Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;IS_OCCUPIED:Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;
      • ANY

        public static final PointOfInterestStorage.OccupationStatus ANY
        Mappings:
        Namespace Name Mixin selector
        official c Lbco$b;c:Lbco$b;
        intermediary field_18489 Lnet/minecraft/class_4153$class_4155;field_18489:Lnet/minecraft/class_4153$class_4155;
        named ANY Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;ANY:Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;
    • 字段详细资料

      • predicate

        private final Predicate<? super PointOfInterest> predicate
        Mappings:
        Namespace Name Mixin selector
        official d Lbco$b;d:Ljava/util/function/Predicate;
        intermediary field_18490 Lnet/minecraft/class_4153$class_4155;field_18490:Ljava/util/function/Predicate;
        named predicate Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;predicate:Ljava/util/function/Predicate;
    • 构造器详细资料

      • OccupationStatus

        private OccupationStatus​(Predicate<? super PointOfInterest> predicate)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbco$b;<init>(Ljava/lang/String;ILjava/util/function/Predicate;)V
        intermediary <init> Lnet/minecraft/class_4153$class_4155;<init>(Ljava/lang/String;ILjava/util/function/Predicate;)V
        named <init> Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;<init>(Ljava/lang/String;ILjava/util/function/Predicate;)V
    • 方法详细资料

      • values

        public static PointOfInterestStorage.OccupationStatus[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (PointOfInterestStorage.OccupationStatus c : PointOfInterestStorage.OccupationStatus.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static PointOfInterestStorage.OccupationStatus valueOf​(String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        NullPointerException - 如果参数为空值
      • getPredicate

        public Predicate<? super PointOfInterest> getPredicate()
        Mappings:
        Namespace Name Mixin selector
        official a Lbco$b;a()Ljava/util/function/Predicate;
        intermediary method_19135 Lnet/minecraft/class_4153$class_4155;method_19135()Ljava/util/function/Predicate;
        named getPredicate Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;getPredicate()Ljava/util/function/Predicate;