Class MobSpawnerEntry


public class MobSpawnerEntry
extends WeightedPicker.Entry
Mappings:
Namespace Name
official bvg
intermediary net/minecraft/class_1952
named net/minecraft/world/MobSpawnerEntry
  • Field Details

    • entityTag

      private final CompoundTag entityTag
      Mappings:
      Namespace Name Mixin selector
      official b Lbvg;b:Lmr;
      intermediary field_9307 Lnet/minecraft/class_1952;field_9307:Lnet/minecraft/class_2487;
      named entityTag Lnet/minecraft/world/MobSpawnerEntry;entityTag:Lnet/minecraft/nbt/CompoundTag;
  • Constructor Details

    • MobSpawnerEntry

      public MobSpawnerEntry()
    • MobSpawnerEntry

      public MobSpawnerEntry​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvg;<init>(Lmr;)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 entityTag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvg;<init>(ILmr;)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
  • Method Details

    • serialize

      public CompoundTag serialize()
      Mappings:
      Namespace Name Mixin selector
      official a Lbvg;a()Lmr;
      intermediary method_8679 Lnet/minecraft/class_1952;method_8679()Lnet/minecraft/class_2487;
      named serialize Lnet/minecraft/world/MobSpawnerEntry;serialize()Lnet/minecraft/nbt/CompoundTag;
    • getEntityNbt

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