类 MobSpawnerEntry

  • 所有已实现的接口:
    Weighted

    public class MobSpawnerEntry
    extends Weighted.Absent
    Mappings:
    Namespace Name
    official bwh
    intermediary net/minecraft/class_1952
    named net/minecraft/world/MobSpawnerEntry
    • 字段详细资料

      • field_30976

        public static final int field_30976
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lbwh;a:I
        intermediary field_30976 Lnet/minecraft/class_1952;field_30976:I
        named field_30976 Lnet/minecraft/world/MobSpawnerEntry;field_30976:I
      • DEFAULT_ENTITY_ID

        public static final String DEFAULT_ENTITY_ID
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lbwh;b:Ljava/lang/String;
        intermediary field_30977 Lnet/minecraft/class_1952;field_30977:Ljava/lang/String;
        named DEFAULT_ENTITY_ID Lnet/minecraft/world/MobSpawnerEntry;DEFAULT_ENTITY_ID:Ljava/lang/String;
      • entityNbt

        private final CompoundTag entityNbt
        Mappings:
        Namespace Name Mixin selector
        official c Lbwh;c:Lmv;
        intermediary field_9307 Lnet/minecraft/class_1952;field_9307:Lnet/minecraft/class_2487;
        named entityNbt Lnet/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;)V
        intermediary <init> Lnet/minecraft/class_1952;<init>(Lnet/minecraft/class_2487;)V
        named <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;)V
        intermediary <init> Lnet/minecraft/class_1952;<init>(ILnet/minecraft/class_2487;)V
        named <init> Lnet/minecraft/world/MobSpawnerEntry;<init>(ILnet/minecraft/nbt/CompoundTag;)V
    • 方法详细资料

      • toNbt

        public CompoundTag toNbt()
        Mappings:
        Namespace Name Mixin selector
        official b Lbwh;b()Lmv;
        intermediary method_8679 Lnet/minecraft/class_1952;method_8679()Lnet/minecraft/class_2487;
        named toNbt Lnet/minecraft/world/MobSpawnerEntry;toNbt()Lnet/minecraft/nbt/CompoundTag;
      • getEntityNbt

        public CompoundTag getEntityNbt()
        Mappings:
        Namespace Name Mixin selector
        official c Lbwh;c()Lmv;
        intermediary method_8678 Lnet/minecraft/class_1952;method_8678()Lnet/minecraft/class_2487;
        named getEntityNbt Lnet/minecraft/world/MobSpawnerEntry;getEntityNbt()Lnet/minecraft/nbt/CompoundTag;