Class SpawnSettings.SpawnEntry

java.lang.Object
net.minecraft.util.collection.Weighted.Absent
net.minecraft.world.biome.SpawnSettings.SpawnEntry
All Implemented Interfaces:
Weighted
Enclosing class:
SpawnSettings

public static class SpawnSettings.SpawnEntry extends Weighted.Absent
Mappings:
Namespace Name
official clf$c
intermediary net/minecraft/class_5483$class_1964
named net/minecraft/world/biome/SpawnSettings$SpawnEntry
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SpawnSettings.SpawnEntry> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lclf$c;a:Lcom/mojang/serialization/Codec;
      intermediary field_24681 Lnet/minecraft/class_5483$class_1964;field_24681:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;CODEC:Lcom/mojang/serialization/Codec;
    • type

      public final EntityType<?> type
      Mappings:
      Namespace Name Mixin selector
      official b Lclf$c;b:Lbdv;
      intermediary field_9389 Lnet/minecraft/class_5483$class_1964;field_9389:Lnet/minecraft/class_1299;
      named type Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;type:Lnet/minecraft/entity/EntityType;
    • minGroupSize

      public final int minGroupSize
      Mappings:
      Namespace Name Mixin selector
      official c Lclf$c;c:I
      intermediary field_9388 Lnet/minecraft/class_5483$class_1964;field_9388:I
      named minGroupSize Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;minGroupSize:I
    • maxGroupSize

      public final int maxGroupSize
      Mappings:
      Namespace Name Mixin selector
      official d Lclf$c;d:I
      intermediary field_9387 Lnet/minecraft/class_5483$class_1964;field_9387:I
      named maxGroupSize Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;maxGroupSize:I
  • Constructor Details

    • SpawnEntry

      public SpawnEntry(EntityType<?> type, int weight, int minGroupSize, int maxGroupSize)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lclf$c;<init>(Lbdv;III)V
      intermediary <init> Lnet/minecraft/class_5483$class_1964;<init>(Lnet/minecraft/class_1299;III)V
      named <init> Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;<init>(Lnet/minecraft/entity/EntityType;III)V
    • SpawnEntry

      public SpawnEntry(EntityType<?> type, Weight weight, int minGroupSize, int maxGroupSize)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lclf$c;<init>(Lbdv;Lbax;II)V
      intermediary <init> Lnet/minecraft/class_5483$class_1964;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_6007;II)V
      named <init> Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/collection/Weight;II)V
  • Method Details