Example #1
0
  @Override
  public void initialize() {
    super.initialize();

    if (!APIProxy.isClient(worldObj)) switchSourceIfNeeded();
  }
Example #2
0
  @Override
  public void onNeighborBlockChange(int blockId) {
    super.onNeighborBlockChange(blockId);

    if (!APIProxy.isClient(worldObj)) switchSourceIfNeeded();
  }