net.minecraft.world.demo

## Class DemoWorldManager

- java.lang.Object
- - net.minecraft.server.management.ItemInWorldManager
  - - net.minecraft.world.demo.DemoWorldManager

-     public class DemoWorldManager
      extends ItemInWorldManager

- - ### Field Summary

    - ### Fields inherited from class net.minecraft.server.management.ItemInWorldManager

      `theWorld, thisPlayerMP`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DemoWorldManager(World par1World)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `activateBlockOrUseItem(EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack, int par4, int par5, int par6, int par7, float par8, float par9, float par10)`
    `void` | `onBlockClicked(int par1, int par2, int par3, int par4)`
    `boolean` | `tryHarvestBlock(int par1, int par2, int par3)`
    `boolean` | `tryUseItem(EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack)`
    `void` | `uncheckedTryHarvestBlock(int par1, int par2, int par3)`
    `void` | `updateBlockRemoving()`

    - ### Methods inherited from class net.minecraft.server.management.ItemInWorldManager

      `cancelDestroyingBlock, getBlockReachDistance, getGameType, initializeGameType, isCreative, setBlockReachDistance, setGameType, setWorld`

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

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

- - ### Constructor Detail

    - #### DemoWorldManager

          public DemoWorldManager(World par1World)

  - ### Method Detail

    - #### updateBlockRemoving

          public void updateBlockRemoving()

      Overrides:
        `updateBlockRemoving` in class `ItemInWorldManager`

    - #### onBlockClicked

          public void onBlockClicked(int par1,
                            int par2,
                            int par3,
                            int par4)

      Overrides:
        `onBlockClicked` in class `ItemInWorldManager`

    - #### uncheckedTryHarvestBlock

          public void uncheckedTryHarvestBlock(int par1,
                                      int par2,
                                      int par3)

      Overrides:
        `uncheckedTryHarvestBlock` in class `ItemInWorldManager`

    - #### tryHarvestBlock

          public boolean tryHarvestBlock(int par1,
                                int par2,
                                int par3)

      Overrides:
        `tryHarvestBlock` in class `ItemInWorldManager`

    - #### tryUseItem

          public boolean tryUseItem(EntityPlayer par1EntityPlayer,
                           World par2World,
                           ItemStack par3ItemStack)

      Overrides:
        `tryUseItem` in class `ItemInWorldManager`

    - #### activateBlockOrUseItem

          public boolean activateBlockOrUseItem(EntityPlayer par1EntityPlayer,
                                       World par2World,
                                       ItemStack par3ItemStack,
                                       int par4,
                                       int par5,
                                       int par6,
                                       int par7,
                                       float par8,
                                       float par9,
                                       float par10)

      Overrides:
        `activateBlockOrUseItem` in class `ItemInWorldManager`