Package net.minecraft.network.play.server

Examples of net.minecraft.network.play.server.S21PacketChunkData


        if (manager == null) {
          return;
        }
        PlayerInstance watcher = manager.getOrCreateChunkWatcher(chunk.xPosition, chunk.zPosition, false);
        if (watcher != null) {
          watcher.sendToAllPlayersWatchingChunk(new S21PacketChunkData(chunk, false, -1));
        }
      }
    }
  }
View Full Code Here


            sendToAllPlayersWatchingChunk = ReflectionHelper.findMethod( Platform.playerInstance, playerInstance, new String[] {
                "sendToAllPlayersWatchingChunk", "func_151251_a" }, Packet.class );
          }

          if ( sendToAllPlayersWatchingChunk != null )
            sendToAllPlayersWatchingChunk.invoke( playerInstance, new S21PacketChunkData( c, false, verticalBits ) );
        }
      }

    }
    catch (Throwable t)
View Full Code Here

TOP

Related Classes of net.minecraft.network.play.server.S21PacketChunkData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.