Class MobSpawnerEntry

java.lang.Object
net.minecraft.class_6008.class_6009
net.minecraft.world.MobSpawnerEntry
All Implemented Interfaces:
class_6008

public class MobSpawnerEntry
extends class_6008.class_6009
Mappings:
Namespace Name
official bwh
intermediary net/minecraft/class_1952
named net/minecraft/world/MobSpawnerEntry
  • Field Details

    • field_30976

      public static final int field_30976
      See Also:
      Constant Field Values
      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
    • field_30977

      public static final String field_30977
      See Also:
      Constant Field Values
      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 field_30977 Lnet/minecraft/world/MobSpawnerEntry;field_30977:Ljava/lang/String;
    • entityTag

      private final NbtCompound entityTag
      Mappings:
      Namespace Name Mixin selector
      official c Lbwh;c:Lmv;
      intermediary field_9307 Lnet/minecraft/class_1952;field_9307:Lnet/minecraft/class_2487;
      named entityTag Lnet/minecraft/world/MobSpawnerEntry;entityTag:Lnet/minecraft/nbt/NbtCompound;
  • Constructor Details

    • MobSpawnerEntry

      public MobSpawnerEntry()
    • MobSpawnerEntry

      public MobSpawnerEntry​(NbtCompound tag)
      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/NbtCompound;)V
    • MobSpawnerEntry

      public MobSpawnerEntry​(int weight, NbtCompound entityTag)
      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/NbtCompound;)V
  • Method Details

    • serialize

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

      public NbtCompound 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/NbtCompound;