Interface StructurePlacement.GenerationPredicate

Enclosing class:
StructurePlacement
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface StructurePlacement.GenerationPredicate
Mappings:
Namespace Name
official dsm$b
intermediary net/minecraft/class_6874$class_7153
named net/minecraft/world/gen/chunk/placement/StructurePlacement$GenerationPredicate
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldGenerate(long seed, int salt, int chunkX, int chunkZ, float chance)
     
  • Method Details

    • shouldGenerate

      boolean shouldGenerate(long seed, int salt, int chunkX, int chunkZ, float chance)
      Mappings:
      Namespace Name Mixin selector
      official shouldGenerate Ldsm$b;shouldGenerate(JIIIF)Z
      intermediary shouldGenerate Lnet/minecraft/class_6874$class_7153;shouldGenerate(JIIIF)Z
      named shouldGenerate Lnet/minecraft/world/gen/chunk/placement/StructurePlacement$GenerationPredicate;shouldGenerate(JIIIF)Z