Class SpawnDensityCapper.DensityCap

java.lang.Object
net.minecraft.world.SpawnDensityCapper.DensityCap
Enclosing class:
SpawnDensityCapper

private static class SpawnDensityCapper.DensityCap extends Object
Mappings:
Namespace Name
named net/minecraft/world/SpawnDensityCapper$DensityCap
intermediary net/minecraft/class_6540$class_6541
official dhr$a
  • Field Details

    • spawnGroupsToDensity

      private final Object2IntMap<SpawnGroup> spawnGroupsToDensity
      Mappings:
      Namespace Name Mixin selector
      named spawnGroupsToDensity Lnet/minecraft/world/SpawnDensityCapper$DensityCap;spawnGroupsToDensity:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_34458 Lnet/minecraft/class_6540$class_6541;field_34458:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      official a Ldhr$a;a:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
  • Constructor Details

    • DensityCap

      DensityCap()
  • Method Details

    • increaseDensity

      public void increaseDensity(SpawnGroup spawnGroup)
      Mappings:
      Namespace Name Mixin selector
      named increaseDensity Lnet/minecraft/world/SpawnDensityCapper$DensityCap;increaseDensity(Lnet/minecraft/entity/SpawnGroup;)V
      intermediary method_38088 Lnet/minecraft/class_6540$class_6541;method_38088(Lnet/minecraft/class_1311;)V
      official a Ldhr$a;a(Lbwi;)V
    • canSpawn

      public boolean canSpawn(SpawnGroup spawnGroup)
      Mappings:
      Namespace Name Mixin selector
      named canSpawn Lnet/minecraft/world/SpawnDensityCapper$DensityCap;canSpawn(Lnet/minecraft/entity/SpawnGroup;)Z
      intermediary method_38090 Lnet/minecraft/class_6540$class_6541;method_38090(Lnet/minecraft/class_1311;)Z
      official b Ldhr$a;b(Lbwi;)Z