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 chi$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 Lchi$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 Lchi$c;b:Lbau;
      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 Lchi$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 Lchi$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> Lchi$c;<init>(Lbau;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> Lchi$c;<init>(Lbau;Laxx;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