枚举 PointOfInterestStorage.OccupationStatus
- java.lang.Object
-
- java.lang.Enum<PointOfInterestStorage.OccupationStatus>
-
- net.minecraft.world.poi.PointOfInterestStorage.OccupationStatus
-
public static enum PointOfInterestStorage.OccupationStatus extends Enum<PointOfInterestStorage.OccupationStatus>
- Mappings:
Namespace Name official bco$bintermediary net/minecraft/class_4153$class_4155named net/minecraft/world/poi/PointOfInterestStorage$OccupationStatus
-
-
枚举常量概要
枚举常量 枚举常量 说明 ANYHAS_SPACEIS_OCCUPIED
-
字段概要
字段 修饰符和类型 字段 说明 private Predicate<? super PointOfInterest>predicate
-
构造器概要
构造器 限定符 构造器 说明 privateOccupationStatus(Predicate<? super PointOfInterest> predicate)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Predicate<? super PointOfInterest>getPredicate()static PointOfInterestStorage.OccupationStatusvalueOf(String name)返回带有指定名称的该类型的枚举常量。static PointOfInterestStorage.OccupationStatus[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
HAS_SPACE
public static final PointOfInterestStorage.OccupationStatus HAS_SPACE
- Mappings:
Namespace Name Mixin selector official aLbco$b;a:Lbco$b;intermediary field_18487Lnet/minecraft/class_4153$class_4155;field_18487:Lnet/minecraft/class_4153$class_4155;named HAS_SPACELnet/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 bLbco$b;b:Lbco$b;intermediary field_18488Lnet/minecraft/class_4153$class_4155;field_18488:Lnet/minecraft/class_4153$class_4155;named IS_OCCUPIEDLnet/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 cLbco$b;c:Lbco$b;intermediary field_18489Lnet/minecraft/class_4153$class_4155;field_18489:Lnet/minecraft/class_4153$class_4155;named ANYLnet/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 dLbco$b;d:Ljava/util/function/Predicate;intermediary field_18490Lnet/minecraft/class_4153$class_4155;field_18490:Ljava/util/function/Predicate;named predicateLnet/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;)Vintermediary <init>Lnet/minecraft/class_4153$class_4155;<init>(Ljava/lang/String;ILjava/util/function/Predicate;)Vnamed <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 aLbco$b;a()Ljava/util/function/Predicate;intermediary method_19135Lnet/minecraft/class_4153$class_4155;method_19135()Ljava/util/function/Predicate;named getPredicateLnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;getPredicate()Ljava/util/function/Predicate;
-
-