Class SpawnSettings.SpawnEntry

java.lang.Object
net.minecraft.util.collection.WeightedPicker.Entry
net.minecraft.world.biome.SpawnSettings.SpawnEntry
Enclosing class:
SpawnSettings

public static class SpawnSettings.SpawnEntry
extends WeightedPicker.Entry
Mappings:
Namespace Name
official bvf$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 b Lbvf$c;b: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 c Lbvf$c;c:Laqz;
      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 d Lbvf$c;d: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 e Lbvf$c;e: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> Lbvf$c;<init>(Laqz;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
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lbvf$c;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_5483$class_1964;toString()Ljava/lang/String;
      named toString Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;toString()Ljava/lang/String;