net.minecraftforge.common

## Class FakePlayerFactory

- java.lang.Object
- - net.minecraftforge.common.FakePlayerFactory

-     public class FakePlayerFactory
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FakePlayerFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static FakePlayer` | `get(World world, String username)` Get a fake player with a given username
    `static FakePlayer` | `getMinecraft(World world)`

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

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

- - ### Constructor Detail

    - #### FakePlayerFactory

          public FakePlayerFactory()

  - ### Method Detail

    - #### getMinecraft

          public static FakePlayer getMinecraft(World world)

    - #### get

          public static FakePlayer get(World world,
                       String username)

      Get a fake player with a given username