Class MobSpawnerEntry

All Implemented Interfaces:
Weighted

public class MobSpawnerEntry extends Weighted.Absent
Mappings:
Namespace Name
official byk
intermediary net/minecraft/class_1952
named net/minecraft/world/MobSpawnerEntry
  • Field Details

    • DEFAULT_WEIGHT

      public static final int DEFAULT_WEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbyk;a:I
      intermediary field_30976 Lnet/minecraft/class_1952;field_30976:I
      named DEFAULT_WEIGHT Lnet/minecraft/world/MobSpawnerEntry;DEFAULT_WEIGHT:I
    • DEFAULT_ENTITY_ID

      public static final String DEFAULT_ENTITY_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbyk;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;
    • CUSTOM_SPAWN_RULES_KEY

      public static final String CUSTOM_SPAWN_RULES_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbyk;c:Ljava/lang/String;
      intermediary field_34280 Lnet/minecraft/class_1952;field_34280:Ljava/lang/String;
      named CUSTOM_SPAWN_RULES_KEY Lnet/minecraft/world/MobSpawnerEntry;CUSTOM_SPAWN_RULES_KEY:Ljava/lang/String;
    • BLOCK_LIGHT_LIMIT_KEY

      public static final String BLOCK_LIGHT_LIMIT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbyk;d:Ljava/lang/String;
      intermediary field_34281 Lnet/minecraft/class_1952;field_34281:Ljava/lang/String;
      named BLOCK_LIGHT_LIMIT_KEY Lnet/minecraft/world/MobSpawnerEntry;BLOCK_LIGHT_LIMIT_KEY:Ljava/lang/String;
    • entityNbt

      private final NbtCompound entityNbt
      Mappings:
      Namespace Name Mixin selector
      official e Lbyk;e:Lnb;
      intermediary field_9307 Lnet/minecraft/class_1952;field_9307:Lnet/minecraft/class_2487;
      named entityNbt Lnet/minecraft/world/MobSpawnerEntry;entityNbt:Lnet/minecraft/nbt/NbtCompound;
  • Constructor Details

    • MobSpawnerEntry

      public MobSpawnerEntry()
    • MobSpawnerEntry

      public MobSpawnerEntry(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbyk;<init>(Lnb;)V
      intermediary <init> Lnet/minecraft/class_1952;<init>(Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/world/MobSpawnerEntry;<init>(Lnet/minecraft/nbt/NbtCompound;)V
    • MobSpawnerEntry

      public MobSpawnerEntry(int weight, NbtCompound entityNbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbyk;<init>(ILnb;)V
      intermediary <init> Lnet/minecraft/class_1952;<init>(ILnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/world/MobSpawnerEntry;<init>(ILnet/minecraft/nbt/NbtCompound;)V
  • Method Details

    • toNbt

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

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