Class SpawnDensityCapper.DensityCap

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

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

    • spawnGroupsToDensity

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

    • DensityCap

      DensityCap()
  • Method Details

    • increaseDensity

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

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