类 MobSpawnerEntry
- java.lang.Object
-
- net.minecraft.util.collection.Weighted.Absent
-
- net.minecraft.world.MobSpawnerEntry
-
- 所有已实现的接口:
Weighted
public class MobSpawnerEntry extends Weighted.Absent
- Mappings:
Namespace Name official bwhintermediary net/minecraft/class_1952named net/minecraft/world/MobSpawnerEntry
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.util.collection.Weighted
Weighted.Absent, Weighted.Present<T>
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringDEFAULT_ENTITY_IDprivate CompoundTagentityNbtstatic intfield_30976
-
构造器概要
构造器 构造器 说明 MobSpawnerEntry()MobSpawnerEntry(int weight, CompoundTag entityNbt)MobSpawnerEntry(CompoundTag nbt)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CompoundTaggetEntityNbt()CompoundTagtoNbt()-
从类继承的方法 net.minecraft.util.collection.Weighted.Absent
getWeight
-
-
-
-
字段详细资料
-
field_30976
public static final int field_30976
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLbwh;a:Iintermediary field_30976Lnet/minecraft/class_1952;field_30976:Inamed field_30976Lnet/minecraft/world/MobSpawnerEntry;field_30976:I
-
DEFAULT_ENTITY_ID
public static final String DEFAULT_ENTITY_ID
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLbwh;b:Ljava/lang/String;intermediary field_30977Lnet/minecraft/class_1952;field_30977:Ljava/lang/String;named DEFAULT_ENTITY_IDLnet/minecraft/world/MobSpawnerEntry;DEFAULT_ENTITY_ID:Ljava/lang/String;
-
entityNbt
private final CompoundTag entityNbt
- Mappings:
Namespace Name Mixin selector official cLbwh;c:Lmv;intermediary field_9307Lnet/minecraft/class_1952;field_9307:Lnet/minecraft/class_2487;named entityNbtLnet/minecraft/world/MobSpawnerEntry;entityNbt:Lnet/minecraft/nbt/CompoundTag;
-
-
构造器详细资料
-
MobSpawnerEntry
public MobSpawnerEntry()
-
MobSpawnerEntry
public MobSpawnerEntry(CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official <init>Lbwh;<init>(Lmv;)Vintermediary <init>Lnet/minecraft/class_1952;<init>(Lnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/world/MobSpawnerEntry;<init>(Lnet/minecraft/nbt/CompoundTag;)V
-
MobSpawnerEntry
public MobSpawnerEntry(int weight, CompoundTag entityNbt)- Mappings:
Namespace Name Mixin selector official <init>Lbwh;<init>(ILmv;)Vintermediary <init>Lnet/minecraft/class_1952;<init>(ILnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/world/MobSpawnerEntry;<init>(ILnet/minecraft/nbt/CompoundTag;)V
-
-
方法详细资料
-
toNbt
public CompoundTag toNbt()
- Mappings:
Namespace Name Mixin selector official bLbwh;b()Lmv;intermediary method_8679Lnet/minecraft/class_1952;method_8679()Lnet/minecraft/class_2487;named toNbtLnet/minecraft/world/MobSpawnerEntry;toNbt()Lnet/minecraft/nbt/CompoundTag;
-
getEntityNbt
public CompoundTag getEntityNbt()
- Mappings:
Namespace Name Mixin selector official cLbwh;c()Lmv;intermediary method_8678Lnet/minecraft/class_1952;method_8678()Lnet/minecraft/class_2487;named getEntityNbtLnet/minecraft/world/MobSpawnerEntry;getEntityNbt()Lnet/minecraft/nbt/CompoundTag;
-
-