public class WorldManager extends java.lang.Object implements IWorldAccess
| Constructor and Description | 
|---|
| WorldManager(MinecraftServer p_i1517_1_,
            WorldServer p_i1517_2_) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | broadcastSound(int p_180440_1_,
              BlockPos p_180440_2_,
              int p_180440_3_) | 
| void | markBlockForUpdate(BlockPos pos) | 
| void | markBlockRangeForRenderUpdate(int x1,
                             int y1,
                             int z1,
                             int x2,
                             int y2,
                             int z2)On the client, re-renders all blocks in this range, inclusive. | 
| void | notifyLightSet(BlockPos pos) | 
| void | onEntityAdded(Entity entityIn)Called on all IWorldAccesses when an entity is created or loaded. | 
| void | onEntityRemoved(Entity entityIn)Called on all IWorldAccesses when an entity is unloaded or destroyed. | 
| void | playAuxSFX(EntityPlayer player,
          int sfxType,
          BlockPos blockPosIn,
          int p_180439_4_) | 
| void | playRecord(java.lang.String recordName,
          BlockPos blockPosIn) | 
| void | playSound(java.lang.String soundName,
         double x,
         double y,
         double z,
         float volume,
         float pitch)Plays the specified sound. | 
| void | playSoundToNearExcept(EntityPlayer except,
                     java.lang.String soundName,
                     double x,
                     double y,
                     double z,
                     float volume,
                     float pitch)Plays sound to all near players except the player reference given | 
| void | sendBlockBreakProgress(int breakerId,
                      BlockPos pos,
                      int progress) | 
| void | spawnParticle(int particleID,
             boolean ignoreRange,
             double xCoord,
             double yCoord,
             double zCoord,
             double xOffset,
             double yOffset,
             double zOffset,
             int... p_180442_15_) | 
public WorldManager(MinecraftServer p_i1517_1_, WorldServer p_i1517_2_)
public void spawnParticle(int particleID,
                          boolean ignoreRange,
                          double xCoord,
                          double yCoord,
                          double zCoord,
                          double xOffset,
                          double yOffset,
                          double zOffset,
                          int... p_180442_15_)
spawnParticle in interface IWorldAccesspublic void onEntityAdded(Entity entityIn)
onEntityAdded in interface IWorldAccesspublic void onEntityRemoved(Entity entityIn)
onEntityRemoved in interface IWorldAccesspublic void playSound(java.lang.String soundName,
                      double x,
                      double y,
                      double z,
                      float volume,
                      float pitch)
playSound in interface IWorldAccesspublic void playSoundToNearExcept(EntityPlayer except, java.lang.String soundName, double x, double y, double z, float volume, float pitch)
playSoundToNearExcept in interface IWorldAccesspublic void markBlockRangeForRenderUpdate(int x1,
                                          int y1,
                                          int z1,
                                          int x2,
                                          int y2,
                                          int z2)
markBlockRangeForRenderUpdate in interface IWorldAccesspublic void markBlockForUpdate(BlockPos pos)
markBlockForUpdate in interface IWorldAccesspublic void notifyLightSet(BlockPos pos)
notifyLightSet in interface IWorldAccesspublic void playRecord(java.lang.String recordName,
                       BlockPos blockPosIn)
playRecord in interface IWorldAccesspublic void playAuxSFX(EntityPlayer player, int sfxType, BlockPos blockPosIn, int p_180439_4_)
playAuxSFX in interface IWorldAccesspublic void broadcastSound(int p_180440_1_,
                           BlockPos p_180440_2_,
                           int p_180440_3_)
broadcastSound in interface IWorldAccesspublic void sendBlockBreakProgress(int breakerId,
                                   BlockPos pos,
                                   int progress)
sendBlockBreakProgress in interface IWorldAccess