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
named net/minecraft/world/biome/SpawnSettings$SpawnEntry
intermediary net/minecraft/class_5483$class_1964
official div$c
  • Field Details

    • CODEC

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

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

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

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

    • SpawnEntry

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

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