net.minecraft.world.gen.structure

## Class StructureVillagePieceWeight

- java.lang.Object
- - net.minecraft.world.gen.structure.StructureVillagePieceWeight

-     public class StructureVillagePieceWeight
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `Class` | `villagePieceClass` The Class object for the represantation of this village piece.
    `int` | `villagePiecesLimit`
    `int` | `villagePiecesSpawned`
    `int` | `villagePieceWeight`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StructureVillagePieceWeight(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

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

- - ### Field Detail

    - #### villagePieceClass

          public Class villagePieceClass

      The Class object for the represantation of this village piece.

    - #### villagePieceWeight

          public final int villagePieceWeight

    - #### villagePiecesSpawned

          public int villagePiecesSpawned

    - #### villagePiecesLimit

          public int villagePiecesLimit

  - ### Constructor Detail

    - #### StructureVillagePieceWeight

          public StructureVillagePieceWeight(Class par1Class,
                                     int par2,
                                     int par3)

  - ### Method Detail

    - #### canSpawnMoreVillagePiecesOfType

          public boolean canSpawnMoreVillagePiecesOfType(int par1)

    - #### canSpawnMoreVillagePieces

          public boolean canSpawnMoreVillagePieces()