net.minecraft.world.gen.structure

## Class StructureVillagePieces.PieceWeight

- java.lang.Object
- - net.minecraft.world.gen.structure.StructureVillagePieces.PieceWeight

- Enclosing class:
    StructureVillagePieces

      public static class StructureVillagePieces.PieceWeight
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.lang.Class` | `villagePieceClass`
    `int` | `villagePiecesLimit`
    `int` | `villagePiecesSpawned`
    `int` | `villagePieceWeight`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StructureVillagePieces.PieceWeight(java.lang.Class par1Class, int par2, int par3)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `canSpawnMoreVillagePieces()`
    `boolean` | `canSpawnMoreVillagePiecesOfType(int par1)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### villagePieceClass

          public java.lang.Class villagePieceClass

    - #### villagePieceWeight

          public final int villagePieceWeight

    - #### villagePiecesSpawned

          public int villagePiecesSpawned

    - #### villagePiecesLimit

          public int villagePiecesLimit

  - ### Constructor Detail

    - #### StructureVillagePieces.PieceWeight

          public StructureVillagePieces.PieceWeight(java.lang.Class par1Class,
                                            int par2,
                                            int par3)

  - ### Method Detail

    - #### canSpawnMoreVillagePiecesOfType

          public boolean canSpawnMoreVillagePiecesOfType(int par1)

    - #### canSpawnMoreVillagePieces

          public boolean canSpawnMoreVillagePieces()